ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.html
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.html (file contents):
Revision 1.67 by root, Sun Jun 24 22:12:18 2007 UTC vs.
Revision 1.70 by root, Sat Oct 27 12:09:02 2007 UTC

4<head> 4<head>
5 <title>rxvt-unicode (ouR XVT, unicode)</title> 5 <title>rxvt-unicode (ouR XVT, unicode)</title>
6 <meta name="description" content="Pod documentation for rxvt-unicode (ouR XVT, unicode)" /> 6 <meta name="description" content="Pod documentation for rxvt-unicode (ouR XVT, unicode)" />
7 <meta name="inputfile" content="&lt;standard input&gt;" /> 7 <meta name="inputfile" content="&lt;standard input&gt;" />
8 <meta name="outputfile" content="&lt;standard output&gt;" /> 8 <meta name="outputfile" content="&lt;standard output&gt;" />
9 <meta name="created" content="Mon Jun 25 00:11:17 2007" /> 9 <meta name="created" content="Sat Oct 27 14:07:34 2007" />
10 <meta name="generator" content="Pod::Xhtml 1.57" /> 10 <meta name="generator" content="Pod::Xhtml 1.57" />
11<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> 11<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
12<body> 12<body>
13<div class="pod"> 13<div class="pod">
14<!-- INDEX START --> 14<!-- INDEX START -->
45<p>rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)</p> 45<p>rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)</p>
46 46
47</div> 47</div>
48<h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p> 48<h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p>
49<div id="SYNOPSIS_CONTENT"> 49<div id="SYNOPSIS_CONTENT">
50<p><strong>rxvt</strong> [options] [-e command [ args ]]</p> 50<p><strong>urxvt</strong> [options] [-e command [ args ]]</p>
51 51
52</div> 52</div>
53<h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p> 53<h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
54<div id="DESCRIPTION_CONTENT"> 54<div id="DESCRIPTION_CONTENT">
55<p><strong>rxvt-unicode</strong>, version <strong>8.2</strong>, is a colour vt102 terminal 55<p><strong>rxvt-unicode</strong>, version <strong>8.4</strong>, is a colour vt102 terminal
56emulator intended as an <i>xterm</i>(1) replacement for users who do not 56emulator intended as an <i>xterm</i>(1) replacement for users who do not
57require features such as Tektronix 4014 emulation and toolkit-style 57require features such as Tektronix 4014 emulation and toolkit-style
58configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space -- 58configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space --
59a significant advantage on a machine serving many X sessions.</p> 59a significant advantage on a machine serving many X sessions.</p>
60 60
61</div> 61</div>
62<h1 id="FREQUENTLY_ASKED_QUESTIONS">FREQUENTLY ASKED QUESTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p> 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"> 63<div id="FREQUENTLY_ASKED_QUESTIONS_CONTENT">
64<p>See rxvt(7) (try <code>man 7 rxvt</code>) for a list of 64<p>See urxvt(7) (try <code>man 7 urxvt</code>) for a list of
65frequently asked questions and answer to them and some common 65frequently asked questions and answer to them and some common
66problems. That document is also accessible on the World-Wide-Web at 66problems. 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> 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 68
69</div> 69</div>
72<p>Unlike the original rxvt, <strong>rxvt-unicode</strong> stores all text in Unicode 72<p>Unlike the original rxvt, <strong>rxvt-unicode</strong> stores all text in Unicode
73internally. That means it can store and display most scripts in the 73internally. That means it can store and display most scripts in the
74world. Being a terminal emulator, however, some things are very difficult, 74world. Being a terminal emulator, however, some things are very difficult,
75especially cursive scripts such as arabic, vertically written scripts 75especially cursive scripts such as arabic, vertically written scripts
76like mongolian or scripts requiring extremely complex combining rules, 76like mongolian or scripts requiring extremely complex combining rules,
77like tibetan or devenagari. Don't expect pretty output when using these 77like tibetan or devanagari. Don't expect pretty output when using these
78scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work 78scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
79fine, though. A somewhat difficult case are right-to-left scripts, such 79fine, though. A somewhat difficult case are right-to-left scripts, such
80as hebrew: <strong>rxvt-unicode</strong> adopts the view that bidirectional algorithms 80as hebrew: <strong>rxvt-unicode</strong> adopts the view that bidirectional algorithms
81belong into the application, not the terminal emulator (too many things -- 81belong into the application, not the terminal emulator (too many things --
82such as cursor-movement while editing -- break otherwise), but that might 82such as cursor-movement while editing -- break otherwise), but that might
97<p>It is still faithfully following the original rxvt idea of being lean 97<p>It is still faithfully following the original rxvt idea of being lean
98and nice on resources: for example, you can still configure rxvt-unicode 98and nice on resources: for example, you can still configure rxvt-unicode
99without most of its features to get a lean binary. It also comes with 99without most of its features to get a lean binary. It also comes with
100a client/daemon pair that lets you open any number of terminal windows 100a client/daemon pair that lets you open any number of terminal windows
101from within a single process, which makes startup time very fast and 101from within a single process, which makes startup time very fast and
102drastically reduces memory usage. See rxvtd(1) (daemon) and 102drastically reduces memory usage. See urxvtd(1) (daemon) and
103rxvtc(1) (client).</p> 103urxvtc(1) (client).</p>
104<p>It also makes technical information about escape sequences (which have 104<p>It also makes technical information about escape sequences (which have
105been extended) more accessible: see rxvt(7) for technical 105been extended) more accessible: see urxvt(7) for technical
106reference documentation (escape sequences etc.).</p> 106reference documentation (escape sequences etc.).</p>
107 107
108</div> 108</div>
109<h1 id="OPTIONS">OPTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p> 109<h1 id="OPTIONS">OPTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p>
110<div id="OPTIONS_CONTENT"> 110<div id="OPTIONS_CONTENT">
111<p>The <strong>rxvt</strong> options (mostly a subset of <i>xterm</i>'s) are listed 111<p>The <strong>urxvt</strong> options (mostly a subset of <i>xterm</i>'s) are listed
112below. In keeping with the smaller-is-better philosophy, options may be 112below. In keeping with the smaller-is-better philosophy, options may be
113eliminated or default values chosen at compile-time, so options and 113eliminated or default values chosen at compile-time, so options and
114defaults listed may not accurately reflect the version installed on 114defaults listed may not accurately reflect the version installed on
115your system. `rxvt -h' gives a list of major compile-time options on 115your system. `urxvt -h' gives a list of major compile-time options on
116the <i>Options</i> line. Option descriptions may be prefixed with which 116the <i>Options</i> line. Option descriptions may be prefixed with which
117compile option each is dependent upon. e.g. `Compile <i>XIM</i>:' requires 117compile option each is dependent upon. e.g. `Compile <i>XIM</i>:' requires
118<i>XIM</i> on the <i>Options</i> line. Note: `rxvt -help' gives a list of all 118<i>XIM</i> on the <i>Options</i> line. Note: `urxvt -help' gives a list of all
119command-line options compiled into your version.</p> 119command-line options compiled into your version.</p>
120<p>Note that <strong>rxvt</strong> permits the resource name to be used as a 120<p>Note that <strong>urxvt</strong> permits the resource name to be used as a
121long-option (--/++ option) so the potential command-line options are 121long-option (--/++ option) so the potential command-line options are
122far greater than those listed. For example: `rxvt --loginShell --color1 122far greater than those listed. For example: `urxvt --loginShell --color1
123Orange'.</p> 123Orange'.</p>
124<p>The following options are available:</p> 124<p>The following options are available:</p>
125<dl> 125<dl>
126 <dt><strong>-help</strong>, <strong>--help</strong></dt> 126 <dt><strong>-help</strong>, <strong>--help</strong></dt>
127 <dd> 127 <dd>
152 </dd> 152 </dd>
153 <dt><strong>-ss</strong>|<strong>+ss</strong></dt> 153 <dt><strong>-ss</strong>|<strong>+ss</strong></dt>
154 <dd> 154 <dd>
155 <p>Turn on/off skip scrolling (allow multiple screens per refresh); resource <strong>skipScroll</strong>.</p> 155 <p>Turn on/off skip scrolling (allow multiple screens per refresh); resource <strong>skipScroll</strong>.</p>
156 </dd> 156 </dd>
157 <dt><strong>-ip</strong>|<strong>+ip</strong> | <strong>-tr</strong>|<strong>+tr</strong></dt> 157 <dt><strong>-tr</strong>|<strong>+tr</strong></dt>
158 <dd> 158 <dd>
159 <p>Turn on/off inheriting parent window's pixmap. Alternative form is 159 <p>Turn on/off illusion of a transparent window background. Obsolete form of it is
160<strong>-tr</strong>; resource <strong>inheritPixmap</strong>.</p> 160<strong>-ip</strong> and it should not be used anymore; resource <strong>transparent</strong>.</p>
161 <p><i>Please note that transparency of any kind if completely unsupported by 161 <p><i>Please note that old resource name of <strong>inheritPixmap</strong> is obsolete and should be
162the author. Don't bug him with installation questions! Read the FAQ (man 7 162changed to <strong>transparent</strong>. Backwards compatibility support for <strong>inheritPixmap</strong> will
163rxvt)!</i></p> 163be phased out in future versions of rxvt!</i></p>
164 <p><i>Please address all transparency related issues to Sasha Vasko at
165sasha@aftercode.net. Read the FAQ (man 7 urxvt)!</i></p>
164 </dd> 166 </dd>
165 <dt><strong>-fade</strong> <i>number</i></dt> 167 <dt><strong>-fade</strong> <i>number</i></dt>
166 <dd> 168 <dd>
167 <p>Fade the text by the given percentage when focus is lost. Small values 169 <p>Fade the text by the given percentage when focus is lost. Small values
168fade a little only, 100 completely replaces all colours by the fade 170fade a little only, 100 completely replaces all colours by the fade
174is opaque black. resource <strong>fadeColor</strong>.</p> 176is opaque black. resource <strong>fadeColor</strong>.</p>
175 </dd> 177 </dd>
176 <dt><strong>-tint</strong> <i>colour</i></dt> 178 <dt><strong>-tint</strong> <i>colour</i></dt>
177 <dd> 179 <dd>
178 <p>Tint the transparent background pixmap with the given colour when 180 <p>Tint the transparent background pixmap with the given colour when
179transparency is enabled with <strong>-tr</strong> or <strong>-ip</strong>. This only works for 181transparency is enabled with <strong>-tr</strong>. This only works for
180non-tiled backgrounds, currently. See also the <strong>-sh</strong> option that can be 182non-tiled backgrounds, currently. See also the <strong>-sh</strong> option that can be
181used to brighten or darken the image in addition to tinting it; resource 183used to brighten or darken the image in addition to tinting it.
184Please note that certain tint colours can be applied on the server-side,
185thus yielding performance gain of two orders of magnitude. These colours are:
186blue, red, green, cyan, magenta, yellow, and those close to them; resource
182<i>tintColor</i>. Example:</p> 187<i>tintColor</i>. Example:</p>
183<pre> rxvt -tr -tint blue -sh 40 188<pre> urxvt -tr -tint blue -sh 40
184 189
185</pre> 190</pre>
186 </dd> 191 </dd>
187 <dt><strong>-sh</strong> <i>number</i> </dt> 192 <dt><strong>-sh</strong> <i>number</i></dt>
188 <dd> 193 <dd>
189 <p>Darken (0 .. 100) or lighten (-1 .. -100) the transparent 194 <p>Darken (0 .. 100) or lighten (-1 .. -100) the transparent
190background image in addition to (or instead of) tinting it; 195background image in addition to (or instead of) tinting it;
191resource <i>shading</i>.</p> 196resource <i>shading</i>.</p>
192 </dd> 197 </dd>
193 <dt><strong>-blt</strong> <i>string</i></dt> 198 <dt><strong>-blt</strong> <i>string</i></dt>
194 <dd> 199 <dd>
195 <p>Specify background blending type. If background pixmap is specified 200 <p>Specify background blending type. If background pixmap is specified
196at the same time as transparency - such pixmap will be blended over 201at the same time as transparency - such pixmap will be blended over
197transparency image, using method specified. Supported values are : 202transparency image, using method specified. Supported values are :
198<strong>add</strong>, <strong>alphablend</strong>, <strong>allanon</strong> - color values averaging, <strong>colorize</strong>, 203<strong>add</strong>, <strong>alphablend</strong>, <strong>allanon</strong> - color values averaging, <strong>colorize</strong>,
199<strong>darken</strong>, <strong>diff</strong>, <strong>dissipate</strong>, <strong>hue</strong>, <strong>lighten</strong>, <strong>overlay</strong>, 204<strong>darken</strong>, <strong>diff</strong>, <strong>dissipate</strong>, <strong>hue</strong>, <strong>lighten</strong>, <strong>overlay</strong>,
200<strong>saturate</strong>, <strong>screen</strong>, <strong>sub</strong>, <strong>tint</strong>, <strong>value</strong>. The default is 205<strong>saturate</strong>, <strong>screen</strong>, <strong>sub</strong>, <strong>tint</strong>, <strong>value</strong>. The default is
201alpha-blending; resource <i>blendType</i>.</p> 206alpha-blending. Compile <i>afterimage</i>; resource <i>blendType</i>.</p>
202 </dd>
203 <dt><strong>-blr</strong> <i>number</i></dt>
204 <dd> 207 </dd>
208 <dt><strong>-blr</strong> <i>HxV</i></dt>
209 <dd>
205 <p>Apply Gaussian Blur with the specified radius to the transparent 210 <p>Apply Gaussian Blur with the specified radii to the transparent
211background image. If single number is specified - both vertical and
212horizontal radii are considered to be the same. Setting one of the
213radii to 1 and another to a large number creates interesting effects
214on some backgrounds. Maximum radius value is 128. Compile <i>afterimage</i>;
206background image; resource <i>blurRadius</i>.</p> 215resource <i>blurRadius</i>.</p>
207 </dd> 216 </dd>
208 <dt><strong>-bg</strong> <i>colour</i></dt> 217 <dt><strong>-bg</strong> <i>colour</i></dt>
209 <dd> 218 <dd>
210 <p>Window background colour; resource <strong>background</strong>.</p> 219 <p>Window background colour; resource <strong>background</strong>.</p>
211 </dd> 220 </dd>
245smaller, but not (in general) larger. A (hopefully) reasonable default 254smaller, but not (in general) larger. A (hopefully) reasonable default
246font list is always appended to it. See resource <strong>font</strong> for more details.</p> 255font list is always appended to it. See resource <strong>font</strong> for more details.</p>
247 <p>In short, to specify an X11 core font, just specify its name or prefix it 256 <p>In short, to specify an X11 core font, just specify its name or prefix it
248with <code>x:</code>. To specify an XFT-font, you need to prefix it with <code>xft:</code>, 257with <code>x:</code>. To specify an XFT-font, you need to prefix it with <code>xft:</code>,
249e.g.:</p> 258e.g.:</p>
250<pre> rxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=15&quot; 259<pre> urxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=15&quot;
251 rxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot; 260 urxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot;
252 261
253</pre> 262</pre>
254 <p>See also the question &quot;How does rxvt-unicode choose fonts?&quot; in the FAQ 263 <p>See also the question &quot;How does rxvt-unicode choose fonts?&quot; in the FAQ
255section of rxvt(7).</p> 264section of urxvt(7).</p>
256 </dd> 265 </dd>
257 <dt><strong>-fb</strong> <i>fontlist</i></dt> 266 <dt><strong>-fb</strong> <i>fontlist</i></dt>
258 <dd> 267 <dd>
259 <p>Compile <i>font-styles</i>: The bold font list to use when <strong>bold</strong> characters 268 <p>Compile <i>font-styles</i>: The bold font list to use when <strong>bold</strong> characters
260are to be printed. See resource <strong>boldFont</strong> for details.</p> 269are to be printed. See resource <strong>boldFont</strong> for details.</p>
378 </dd> 387 </dd>
379 <dt><strong>-lsp</strong> <i>number</i></dt> 388 <dt><strong>-lsp</strong> <i>number</i></dt>
380 <dd> 389 <dd>
381 <p>Compile <i>frills</i>: Lines (pixel height) to insert between each row of 390 <p>Compile <i>frills</i>: Lines (pixel height) to insert between each row of
382the display. Useful to work around font rendering problems; resource 391the display. Useful to work around font rendering problems; resource
383<strong>linespace</strong>.</p> 392<strong>lineSpace</strong>.</p>
384 </dd> 393 </dd>
385 <dt><strong>-tn</strong> <i>termname</i></dt> 394 <dt><strong>-tn</strong> <i>termname</i></dt>
386 <dd> 395 <dd>
387 <p>This option specifies the name of the terminal type to be set in the 396 <p>This option specifies the name of the terminal type to be set in the
388<strong>TERM</strong> environment variable. This terminal type must exist in the 397<strong>TERM</strong> environment variable. This terminal type must exist in the
389<i>termcap(5)</i> database and should have <i>li#</i> and <i>co#</i> entries; 398<i>termcap(5)</i> database and should have <i>li#</i> and <i>co#</i> entries;
390resource <strong>termName</strong>.</p> 399resource <strong>termName</strong>.</p>
391 </dd> 400 </dd>
392 <dt><strong>-e</strong> <i>command [arguments]</i></dt> 401 <dt><strong>-e</strong> <i>command [arguments]</i></dt>
393 <dd> 402 <dd>
394 <p>Run the command with its command-line arguments in the <strong>rxvt</strong> 403 <p>Run the command with its command-line arguments in the <strong>urxvt</strong>
395window; also sets the window title and icon name to be the basename of 404window; also sets the window title and icon name to be the basename of
396the program being executed if neither <i>-title</i> (<i>-T</i>) nor <i>-n</i> are 405the program being executed if neither <i>-title</i> (<i>-T</i>) nor <i>-n</i> are
397given on the command line. If this option is used, it must be the last 406given on the command line. If this option is used, it must be the last
398on the command-line. If there is no <strong>-e</strong> option then the default is to 407on the command-line. If there is no <strong>-e</strong> option then the default is to
399run the program specified by the <strong>SHELL</strong> environment variable or, 408run the program specified by the <strong>SHELL</strong> environment variable or,
400failing that, <i>sh(1)</i>.</p> 409failing that, <i>sh(1)</i>.</p>
401 <p>Please note that you must specify a program with arguments. If you want to 410 <p>Please note that you must specify a program with arguments. If you want to
402run shell commands, you have to specify the shell, like this:</p> 411run shell commands, you have to specify the shell, like this:</p>
403<pre> rxvt -e sh -c &quot;shell commands&quot; 412<pre> urxvt -e sh -c &quot;shell commands&quot;
404 413
405</pre> 414</pre>
406 </dd> 415 </dd>
407 <dt><strong>-title</strong> <i>text</i></dt> 416 <dt><strong>-title</strong> <i>text</i></dt>
408 <dd> 417 <dd>
470 <p>Turn on/off secondary screen scroll (default enabled); resource 479 <p>Turn on/off secondary screen scroll (default enabled); resource
471<strong>secondaryScroll</strong>.</p> 480<strong>secondaryScroll</strong>.</p>
472 </dd> 481 </dd>
473 <dt><strong>-hold</strong>|<strong>+hold</strong></dt> 482 <dt><strong>-hold</strong>|<strong>+hold</strong></dt>
474 <dd> 483 <dd>
475 <p>Turn on/off hold window after exit support. If enabled, rxvt 484 <p>Turn on/off hold window after exit support. If enabled, urxvt
476will not immediately destroy its window when the program executed within 485will not immediately destroy its window when the program executed within
477it exits. Instead, it will wait till it is being killed or closed by the 486it exits. Instead, it will wait till it is being killed or closed by the
478user; resource <strong>hold</strong>.</p> 487user; resource <strong>hold</strong>.</p>
479 </dd> 488 </dd>
480 <dt><strong>-keysym.</strong><i>sym</i> <i>string</i></dt> 489 <dt><strong>-keysym.</strong><i>sym</i> <i>string</i></dt>
481 <dd> 490 <dd>
482 <p>Remap a key symbol. See resource <strong>keysym</strong>.</p> 491 <p>Remap a key symbol. See resource <strong>keysym</strong>.</p>
483 </dd> 492 </dd>
484 <dt><strong>-embed</strong> <i>windowid</i></dt> 493 <dt><strong>-embed</strong> <i>windowid</i></dt>
485 <dd> 494 <dd>
486 <p>Tells rxvt to embed its windows into an already-existing window, 495 <p>Tells urxvt to embed its windows into an already-existing window,
487which enables applications to easily embed a terminal.</p> 496which enables applications to easily embed a terminal.</p>
488 <p>Right now, rxvt will first unmap/map the specified window, so it 497 <p>Right now, urxvt will first unmap/map the specified window, so it
489shouldn't be a top-level window. rxvt will also reconfigure it 498shouldn't be a top-level window. urxvt will also reconfigure it
490quite a bit, so don't expect it to keep some specific state. It's best to 499quite a bit, so don't expect it to keep some specific state. It's best to
491create an extra subwindow for rxvt and leave it alone.</p> 500create an extra subwindow for urxvt and leave it alone.</p>
492 <p>The window will not be destroyed when rxvt exits.</p> 501 <p>The window will not be destroyed when urxvt exits.</p>
493 <p>It might be useful to know that rxvt will not close file 502 <p>It might be useful to know that urxvt will not close file
494descriptors passed to it (except for stdin/out/err, of course), so you 503descriptors passed to it (except for stdin/out/err, of course), so you
495can use file descriptors to communicate with the programs within the 504can use file descriptors to communicate with the programs within the
496terminal. This works regardless of whether the <code>-embed</code> option was used or 505terminal. This works regardless of whether the <code>-embed</code> option was used or
497not.</p> 506not.</p>
498 <p>Here is a short Gtk2-perl snippet that illustrates how this option can be 507 <p>Here is a short Gtk2-perl snippet that illustrates how this option can be
499used (a longer example is in <cite>doc/embed</cite>):</p> 508used (a longer example is in <cite>doc/embed</cite>):</p>
500<pre> my $rxvt = new Gtk2::Socket; 509<pre> my $rxvt = new Gtk2::Socket;
501 $rxvt-&gt;signal_connect_after (realize =&gt; sub { 510 $rxvt-&gt;signal_connect_after (realize =&gt; sub {
502 my $xid = $_[0]-&gt;window-&gt;get_xid; 511 my $xid = $_[0]-&gt;window-&gt;get_xid;
503 system &quot;rxvt -embed $xid &amp;&quot;; 512 system &quot;urxvt -embed $xid &amp;&quot;;
504 }); 513 });
505 514
506</pre> 515</pre>
507 </dd> 516 </dd>
508 <dt><strong>-pty-fd</strong> <i>file descriptor</i></dt> 517 <dt><strong>-pty-fd</strong> <i>file descriptor</i></dt>
509 <dd> 518 <dd>
510 <p>Tells rxvt NOT to execute any commands or create a new pty/tty 519 <p>Tells urxvt NOT to execute any commands or create a new pty/tty
511pair but instead use the given file descriptor as the tty master. This is 520pair but instead use the given file descriptor as the tty master. This is
512useful if you want to drive rxvt as a generic terminal emulator 521useful if you want to drive urxvt as a generic terminal emulator
513without having to run a program within it.</p> 522without having to run a program within it.</p>
514 <p>If this switch is given, rxvt will not create any utmp/wtmp 523 <p>If this switch is given, urxvt will not create any utmp/wtmp
515entries and will not tinker with pty/tty permissions - you have to do that 524entries and will not tinker with pty/tty permissions - you have to do that
516yourself if you want that.</p> 525yourself if you want that.</p>
517 <p>As an extremely special case, specifying <code>-1</code> will completely suppress 526 <p>As an extremely special case, specifying <code>-1</code> will completely suppress
518pty/tty operations.</p> 527pty/tty operations.</p>
519 <p>Here is a example in perl that illustrates how this option can be used (a 528 <p>Here is a example in perl that illustrates how this option can be used (a
521<pre> use IO::Pty; 530<pre> use IO::Pty;
522 use Fcntl; 531 use Fcntl;
523 532
524 my $pty = new IO::Pty; 533 my $pty = new IO::Pty;
525 fcntl $pty, F_SETFD, 0; # clear close-on-exec 534 fcntl $pty, F_SETFD, 0; # clear close-on-exec
526 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;; 535 system &quot;urxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
527 close $pty; 536 close $pty;
528 537
529 # now communicate with rxvt 538 # now communicate with rxvt
530 my $slave = $pty-&gt;slave; 539 my $slave = $pty-&gt;slave;
531 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; } 540 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }
540</dl> 549</dl>
541 550
542</div> 551</div>
543<h1 id="RESOURCES_available_also_as_long_opt">RESOURCES (available also as long-options)</h1><p><a href="#TOP" class="toplink">Top</a></p> 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>
544<div id="RESOURCES_available_also_as_long_opt-2"> 553<div id="RESOURCES_available_also_as_long_opt-2">
545<p>Note: `rxvt --help' gives a list of all resources (long 554<p>Note: `urxvt --help' gives a list of all resources (long
546options) compiled into your version.</p> 555options) compiled into your version.</p>
547<p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many 556<p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many
548distribution do also load settings from the <strong>~/.Xresources</strong> file when X 557distribution do also load settings from the <strong>~/.Xresources</strong> file when X
549starts. rxvt will consult the following files/resources in order, 558starts. urxvt will consult the following files/resources in order,
550with later settings overwriting earlier ones:</p> 559with later settings overwriting earlier ones:</p>
551<pre> 1. system-wide app-defaults file, either locale-dependent OR global 560<pre> 1. system-wide app-defaults file, either locale-dependent OR global
552 2. app-defaults file in $XAPPLRESDIR 561 2. app-defaults file in $XAPPLRESDIR
553 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 562 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
554 4. SCREEN_RESOURCES for the current screen 563 4. SCREEN_RESOURCES for the current screen
555 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt; 564 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;
556 565
557</pre> 566</pre>
558<p>Note that when reading X resources, <strong>rxvt</strong> recognizes two class 567<p>Note that when reading X resources, <strong>urxvt</strong> recognizes two class
559names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources 568names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources
560common to both <strong>rxvt</strong> and the original <i>rxvt</i> to be easily 569common to both <strong>urxvt</strong> and the original <i>rxvt</i> to be easily
561configured, while the class name <strong>URxvt</strong> allows resources unique to 570configured, while the class name <strong>URxvt</strong> allows resources unique to
562<strong>rxvt</strong>, to be shared between different <strong>rxvt</strong> 571<strong>urxvt</strong>, to be shared between different <strong>urxvt</strong>
563configurations. If no resources are specified, suitable defaults will 572configurations. If no resources are specified, suitable defaults will
564be used. Command-line arguments can be used to override resource 573be used. Command-line arguments can be used to override resource
565settings. The following resources are supported (you might want to 574settings. The following resources are supported (you might want to
566check the rxvtperl(3) manpage for additional settings by perl 575check the urxvtperl(3) manpage for additional settings by perl
567extensions not documented here):</p> 576extensions not documented here):</p>
568<dl> 577<dl>
569 <dt><strong>depth:</strong> <i>bitdepth</i></dt> 578 <dt><strong>depth:</strong> <i>bitdepth</i></dt>
570 <dd> 579 <dd>
571 <p>Compile <i>xft</i>: Attempt to find a visual with the given bit depth; 580 <p>Compile <i>xft</i>: Attempt to find a visual with the given bit depth;
593high-intensity (bold = bright foreground, blink = bright background) 602high-intensity (bold = bright foreground, blink = bright background)
594colours. The canonical names are as follows: 0=black, 1=red, 2=green, 603colours. The canonical names are as follows: 0=black, 1=red, 2=green,
5953=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour 6043=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour
596names used are listed in the <strong>COLORS AND GRAPHICS</strong> section.</p> 605names used are listed in the <strong>COLORS AND GRAPHICS</strong> section.</p>
597 <p>Colours higher than 15 cannot be set using resources (yet), but can be 606 <p>Colours higher than 15 cannot be set using resources (yet), but can be
598changed using an escape command (see rxvt(7)).</p> 607changed using an escape command (see urxvt(7)).</p>
599 <p>Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with 608 <p>Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with
60088 colour support). Colours 80-87 are evenly spaces grey steps.</p> 60988 colour support). Colours 80-87 are evenly spaces grey steps.</p>
601 </dd> 610 </dd>
602 <dt><strong>colorBD:</strong> <i>colour</i></dt> 611 <dt><strong>colorBD:</strong> <i>colour</i></dt>
603 <dt><strong>colorIT:</strong> <i>colour</i></dt> 612 <dt><strong>colorIT:</strong> <i>colour</i></dt>
639<strong>+rv</strong>. See note in <strong>COLORS AND GRAPHICS</strong> section.</p> 648<strong>+rv</strong>. See note in <strong>COLORS AND GRAPHICS</strong> section.</p>
640 </dd> 649 </dd>
641 <dt><strong>jumpScroll:</strong> <i>boolean</i></dt> 650 <dt><strong>jumpScroll:</strong> <i>boolean</i></dt>
642 <dd> 651 <dd>
643 <p><strong>True</strong>: specify that jump scrolling should be used. When receiving lots 652 <p><strong>True</strong>: specify that jump scrolling should be used. When receiving lots
644of lines, rxvt will only scroll once a whole screen height of lines 653of lines, urxvt will only scroll once a whole screen height of lines
645has been read, resulting in fewer updates while still displaying every 654has been read, resulting in fewer updates while still displaying every
646received line; option <strong>-j</strong>.</p> 655received line; option <strong>-j</strong>.</p>
647 <p><strong>False</strong>: specify that smooth scrolling should be used. rxvt will 656 <p><strong>False</strong>: specify that smooth scrolling should be used. urxvt will
648force a screen refresh on each new line it received; option <strong>+j</strong>.</p> 657force a screen refresh on each new line it received; option <strong>+j</strong>.</p>
649 </dd> 658 </dd>
650 <dt><strong>skipScroll:</strong> <i>boolean</i></dt> 659 <dt><strong>skipScroll:</strong> <i>boolean</i></dt>
651 <dd> 660 <dd>
652 <p><strong>True</strong>: (the default) specify that skip scrolling should be used. When 661 <p><strong>True</strong>: (the default) specify that skip scrolling should be used. When
653receiving lots of lines, rxvt will only scroll once in a while 662receiving lots of lines, urxvt will only scroll once in a while
654(around 60 times per second), resulting in far fewer updates. This can 663(around 60 times per second), resulting in far fewer updates. This can
655result in rxvt not ever displaying some of the lines it receives; 664result in urxvt not ever displaying some of the lines it receives;
656option <strong>-ss</strong>.</p> 665option <strong>-ss</strong>.</p>
657 <p><strong>False</strong>: specify that everything is to be displayed, even 666 <p><strong>False</strong>: specify that everything is to be displayed, even
658if the refresh is too fast for the human eye to read anything (or the 667if the refresh is too fast for the human eye to read anything (or the
659monitor to display anything); option <strong>+ss</strong>.</p> 668monitor to display anything); option <strong>+ss</strong>.</p>
660 </dd> 669 </dd>
725other blending type, specified with <strong>-blt &quot;type&quot;</strong> option. 734other blending type, specified with <strong>-blt &quot;type&quot;</strong> option.
726[default 0x0+50+50]</p> 735[default 0x0+50+50]</p>
727 </dd> 736 </dd>
728 <dt><strong>path:</strong> <i>path</i></dt> 737 <dt><strong>path:</strong> <i>path</i></dt>
729 <dd> 738 <dd>
730 <p>Specify the colon-delimited search path for finding XPM files.</p> 739 <p>Specify the colon-delimited search path for finding background image files.</p>
731 </dd> 740 </dd>
732 <dt><strong>font:</strong> <i>fontlist</i></dt> 741 <dt><strong>font:</strong> <i>fontlist</i></dt>
733 <dd> 742 <dd>
734 <p>Select the fonts to be used. This is a comma separated list of font names 743 <p>Select the fonts to be used. This is a comma separated list of font names
735that are checked in order when trying to find glyphs for characters. The 744that are checked in order when trying to find glyphs for characters. The
921 <dt><strong>termName:</strong> <i>termname</i></dt> 930 <dt><strong>termName:</strong> <i>termname</i></dt>
922 <dd> 931 <dd>
923 <p>Specifies the terminal type name to be set in the <strong>TERM</strong> environment 932 <p>Specifies the terminal type name to be set in the <strong>TERM</strong> environment
924variable; option <strong>-tn</strong>.</p> 933variable; option <strong>-tn</strong>.</p>
925 </dd> 934 </dd>
926 <dt><strong>linespace:</strong> <i>number</i></dt> 935 <dt><strong>lineSpace:</strong> <i>number</i></dt>
927 <dd> 936 <dd>
928 <p>Specifies number of lines (pixel height) to insert between each row of 937 <p>Specifies number of lines (pixel height) to insert between each row of
929the display [default 0]; option <strong>-lsp</strong>.</p> 938the display [default 0]; option <strong>-lsp</strong>.</p>
930 </dd> 939 </dd>
931 <dt><strong>meta8:</strong> <i>boolean</i></dt> 940 <dt><strong>meta8:</strong> <i>boolean</i></dt>
983 <dt><strong>cutchars:</strong> <i>string</i></dt> 992 <dt><strong>cutchars:</strong> <i>string</i></dt>
984 <dd> 993 <dd>
985 <p>The characters used as delimiters for double-click word selection 994 <p>The characters used as delimiters for double-click word selection
986(whitespace delimiting is added automatically if resource is given).</p> 995(whitespace delimiting is added automatically if resource is given).</p>
987 <p>When the perl selection extension is in use (the default if compiled 996 <p>When the perl selection extension is in use (the default if compiled
988in, see the rxvtperl(3) manpage), a suitable regex using these 997in, see the urxvtperl(3) manpage), a suitable regex using these
989characters will be created (if the resource exists, otherwise, no regex 998characters will be created (if the resource exists, otherwise, no regex
990will be created). In this mode, characters outside ISO-8859-1 can be used.</p> 999will be created). In this mode, characters outside ISO-8859-1 can be used.</p>
991 <p>When the selection extension is not used, only ISO-8859-1 characters can 1000 <p>When the selection extension is not used, only ISO-8859-1 characters can
992be used. If not specified, the built-in default is used:</p> 1001be used. If not specified, the built-in default is used:</p>
993 <p><strong>BACKSLASH `&quot;'&amp;()*,;&lt;=&gt;?@[]{|}</strong></p> 1002 <p><strong>BACKSLASH `&quot;'&amp;()*,;&lt;=&gt;?@[]{|}</strong></p>
1010 <dt><strong>imFont:</strong> <i>fontset</i></dt> 1019 <dt><strong>imFont:</strong> <i>fontset</i></dt>
1011 <dd> 1020 <dd>
1012 <p>Specify the font-set used for XIM styles <code>OverTheSpot</code> or 1021 <p>Specify the font-set used for XIM styles <code>OverTheSpot</code> or
1013<code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated 1022<code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated
1014by commas), i.e. it's not in the same format as the other font lists used 1023by commas), i.e. it's not in the same format as the other font lists used
1015in rxvt. The default will be set-up to chose *any* suitable found 1024in urxvt. The default will be set-up to chose *any* suitable found
1016found, preferably one or two pixels differing in size to the base font. 1025found, preferably one or two pixels differing in size to the base font.
1017option <strong>-imfont</strong>.</p> 1026option <strong>-imfont</strong>.</p>
1018 </dd> 1027 </dd>
1019 <dt><strong>tripleclickwords:</strong> <i>boolean</i></dt> 1028 <dt><strong>tripleclickwords:</strong> <i>boolean</i></dt>
1020 <dd> 1029 <dd>
1058scrollback buffer and switching to/from the secondary screen will 1067scrollback buffer and switching to/from the secondary screen will
1059instead scroll the screen up.</p> 1068instead scroll the screen up.</p>
1060 </dd> 1069 </dd>
1061 <dt><strong>hold</strong>: <i>boolean</i></dt> 1070 <dt><strong>hold</strong>: <i>boolean</i></dt>
1062 <dd> 1071 <dd>
1063 <p>Turn on/off hold window after exit support. If enabled, rxvt 1072 <p>Turn on/off hold window after exit support. If enabled, urxvt
1064will not immediately destroy its window when the program executed within 1073will not immediately destroy its window when the program executed within
1065it exits. Instead, it will wait till it is being killed or closed by the 1074it exits. Instead, it will wait till it is being killed or closed by the
1066user.</p> 1075user.</p>
1067 </dd> 1076 </dd>
1068 <dt><strong>keysym.</strong><i>sym</i>: <i>string</i></dt> 1077 <dt><strong>keysym.</strong><i>sym</i>: <i>string</i></dt>
1081 <p>The spellings of <i>key</i> can be obtained by using <strong>xev</strong>(1) command or 1090 <p>The spellings of <i>key</i> can be obtained by using <strong>xev</strong>(1) command or
1082searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and 1091searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and
1083omitting the prefix <strong>XK_</strong>. Alternatively you can specify <i>key</i> by its hex 1092omitting the prefix <strong>XK_</strong>. Alternatively you can specify <i>key</i> by its hex
1084keysym value (<strong>0x0000 - 0xFFFF</strong>). Note that the lookup of <i>sym</i>s is not 1093keysym value (<strong>0x0000 - 0xFFFF</strong>). Note that the lookup of <i>sym</i>s is not
1085performed in an exact manner; however, the closest match is assured.</p> 1094performed in an exact manner; however, the closest match is assured.</p>
1086 <p><i>string</i> may contain escape values (<code>\a</code>: bell, <code>\b</code>: backspace, 1095 <p><i>string</i> may contain escape values (<code>\n</code>: newline, <code>\000</code>: octal
1087<code>\e</code>, <code>\E</code>: escape, <code>\n</code>: newline, <code>\r</code>: carriage return, <code>\t</code>: tab, 1096number), see RESOURCES in <code>man 7 X</code> for futher details.</p>
1088<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1089<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1090can start or end with whitespace. <strong>This feature is deprecated and will
1091be removed</strong>.</p>
1092 <p>Please note that you need to double the <code>\</code> in resource files, as
1093Xlib itself does its own de-escaping (you can use <code>\033</code> instead of
1094<code>\e</code> (and so on), which will work with both Xt and rxvt's own
1095processing).</p>
1096 <p>You can define a range of keysyms in one shot by providing a <i>string</i> 1097 <p>You can define a range of keysyms in one shot by providing a <i>string</i>
1097with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimiter `/' 1098with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimiter `/'
1098should be a character not used by the strings.</p> 1099should be a character not used by the strings.</p>
1099 <p>Its usage can be demonstrated by an example:</p> 1100 <p>Its usage can be demonstrated by an example:</p>
1100<pre> URxvt.keysym.M-C-0x61: list|\033&lt;M-C-|abc|&gt; 1101<pre> URxvt.keysym.M-C-0x61: list|\033&lt;M-C-|abc|&gt;
1105 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt; 1106 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt;
1106 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt; 1107 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;
1107 1108
1108</pre> 1109</pre>
1109 <p>If <i>string</i> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong> 1110 <p>If <i>string</i> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong>
1110is interpreted and executed as rxvt's control sequence. For 1111is interpreted and executed as urxvt's control sequence. For
1111example the following means &quot;change the current locale to <code>zh_CN.GBK</code> 1112example the following means &quot;change the current locale to <code>zh_CN.GBK</code>
1112when Control-Meta-c is being pressed&quot;:</p> 1113when Control-Meta-c is being pressed&quot;:</p>
1113<pre> URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 1114<pre> URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007
1114 1115
1115</pre> 1116</pre>
1116 <p>If <i>string</i> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong> 1117 <p>If <i>string</i> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong>
1117is passed to the <code>on_keyboard_command</code> perl handler. See the rxvtperl(3) 1118is passed to the <code>on_keyboard_command</code> perl handler. See the urxvtperl(3)
1118manpage. For example, the <cite>selection</cite> extension (activated via 1119manpage. For example, the <cite>selection</cite> extension (activated via
1119<code>rxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p> 1120<code>urxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p>
1120<pre> URxvt.keysym.M-C-c: perl:selection:rot13 1121<pre> URxvt.keysym.M-C-c: perl:selection:rot13
1121 1122
1122</pre> 1123</pre>
1123 <p>Due the the large number of modifier combinations, a defined key mapping 1124 <p>Due the the large number of modifier combinations, a defined key mapping
1124will match if at <i>at least</i> the specified identifiers are being set, and 1125will match if at <i>at least</i> the specified identifiers are being set, and
1125no other key mappings with those and more bits are being defined. That 1126no other key mappings with those and more bits are being defined. That
1126means that defining a key map for <code>a</code> will automatically provide 1127means that defining a key map for <code>a</code> will automatically provide
1127definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined 1128definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined
1128mappings themselves.</p> 1129mappings themselves.</p>
1129 <p>Unfortunately, this will override built-in key mappings. For example 1130 <p>Unfortunately, this will override built-in key mappings. For example
1130if you overwrite the <code>Insert</code> key you will disable rxvt's 1131if you overwrite the <code>Insert</code> key you will disable urxvt's
1131<code>Shift-Insert</code> mapping. To re-enable that, you can poke &quot;holes&quot; into the 1132<code>Shift-Insert</code> mapping. To re-enable that, you can poke &quot;holes&quot; into the
1132user-defined keymap using the <code>builtin:</code> replacement:</p> 1133user-defined keymap using the <code>builtin:</code> replacement:</p>
1133<pre> URxvt.keysym.Insert: &lt;my insert key sequence&gt; 1134<pre> URxvt.keysym.Insert: &lt;my insert key sequence&gt;
1134 URxvt.keysym.S-Insert: builtin: 1135 URxvt.keysym.S-Insert: builtin:
1135 1136
1142font-switching at runtime:</p> 1143font-switching at runtime:</p>
1143<pre> URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 1144<pre> URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007
1144 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 1145 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007
1145 1146
1146</pre> 1147</pre>
1147 <p>Other things are possible, e.g. resizing (see rxvt(7) for more 1148 <p>Other things are possible, e.g. resizing (see urxvt(7) for more
1148info):</p> 1149info):</p>
1149<pre> URxvt.keysym.M-C-3: command:\033[8;25;80t 1150<pre> URxvt.keysym.M-C-3: command:\033[8;25;80t
1150 URxvt.keysym.M-C-4: command:\033[8;48;110t 1151 URxvt.keysym.M-C-4: command:\033[8;48;110t
1151 1152
1152</pre> 1153</pre>
1174all instances, while <strong>perl-ext</strong> is used for specific instances.</p> 1175all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1175 </dd> 1176 </dd>
1176 <dt><strong>perl-eval</strong>: <i>string</i></dt> 1177 <dt><strong>perl-eval</strong>: <i>string</i></dt>
1177 <dd> 1178 <dd>
1178 <p>Perl code to be evaluated when all extensions have been registered. See 1179 <p>Perl code to be evaluated when all extensions have been registered. See
1179the rxvtperl(3) manpage. Due to security reasons, this resource 1180the urxvtperl(3) manpage. Due to security reasons, this resource
1180will be ignored when running setuid/setgid.</p> 1181will be ignored when running setuid/setgid.</p>
1181 </dd> 1182 </dd>
1182 <dt><strong>perl-lib</strong>: <i>path</i></dt> 1183 <dt><strong>perl-lib</strong>: <i>path</i></dt>
1183 <dd> 1184 <dd>
1184 <p>Colon-separated list of additional directories that hold extension 1185 <p>Colon-separated list of additional directories that hold extension
1185scripts. When looking for extensions specified by the <code>perl</code> resource, 1186scripts. When looking for extensions specified by the <code>perl</code> resource,
1186rxvt will first look in these directories and then in 1187urxvt will first look in these directories and then in
1187<cite>/opt/rxvt/lib/urxvt/perl/</cite>. Due to security reasons, this resource 1188<cite>/usr/local/lib/urxvt/perl/</cite>. Due to security reasons, this resource
1188will be ignored when running setuid/setgid.</p> 1189will be ignored when running setuid/setgid.</p>
1189 <p>See the rxvtperl(3) manpage.</p> 1190 <p>See the urxvtperl(3) manpage.</p>
1190 </dd> 1191 </dd>
1191 <dt><strong>selection.pattern-<i>idx</i></strong>: <i>perl-regex</i></dt> 1192 <dt><strong>selection.pattern-<i>idx</i></strong>: <i>perl-regex</i></dt>
1192 <dd> 1193 <dd>
1193 <p>Additional selection patterns, see the rxvtperl(3) manpage for 1194 <p>Additional selection patterns, see the urxvtperl(3) manpage for
1194details.</p> 1195details.</p>
1195 </dd> 1196 </dd>
1196 <dt><strong>selection-autotransform.<i>idx</i></strong>: <i>perl-transform</i></dt> 1197 <dt><strong>selection-autotransform.<i>idx</i></strong>: <i>perl-transform</i></dt>
1197 <dd> 1198 <dd>
1198 <p>Selection auto-transform patterns, see the rxvtperl(3) manpage 1199 <p>Selection auto-transform patterns, see the urxvtperl(3) manpage
1199for details.</p> 1200for details.</p>
1200 </dd> 1201 </dd>
1201 <dt><strong>searchable-scrollback:</strong> <i>keysym</i></dt> 1202 <dt><strong>searchable-scrollback:</strong> <i>keysym</i></dt>
1202 <dd> 1203 <dd>
1203 <p>Sets the hotkey that starts the incremental scrollback buffer search 1204 <p>Sets the hotkey that starts the incremental scrollback buffer search
1224</dl> 1225</dl>
1225 1226
1226</div> 1227</div>
1227<h1 id="THE_SCROLLBAR">THE SCROLLBAR</h1><p><a href="#TOP" class="toplink">Top</a></p> 1228<h1 id="THE_SCROLLBAR">THE SCROLLBAR</h1><p><a href="#TOP" class="toplink">Top</a></p>
1228<div id="THE_SCROLLBAR_CONTENT"> 1229<div id="THE_SCROLLBAR_CONTENT">
1229<p>Lines of text that scroll off the top of the <strong>rxvt</strong> window 1230<p>Lines of text that scroll off the top of the <strong>urxvt</strong> window
1230(resource: <strong>saveLines</strong>) and can be scrolled back using the scrollbar 1231(resource: <strong>saveLines</strong>) and can be scrolled back using the scrollbar
1231or by keystrokes. The normal <strong>rxvt</strong> scrollbar has arrows and 1232or by keystrokes. The normal <strong>urxvt</strong> scrollbar has arrows and
1232its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without 1233its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without
1233arrows and its behaviour mimics that of <i>xterm</i></p> 1234arrows and its behaviour mimics that of <i>xterm</i></p>
1234<p>Scroll down with <strong>Button1</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Next</strong>. 1235<p>Scroll down with <strong>Button1</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Next</strong>.
1235Scroll up with <strong>Button3</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Prior</strong>. 1236Scroll up with <strong>Button3</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Prior</strong>.
1236Continuous scroll with <strong>Button2</strong>.</p> 1237Continuous scroll with <strong>Button2</strong>.</p>
1267selection, and trailing whitespace is visually underlined and removed from 1268selection, and trailing whitespace is visually underlined and removed from
1268the selection.</p> 1269the selection.</p>
1269 </dd> 1270 </dd>
1270 <dt><strong>Pasting</strong>:</dt> 1271 <dt><strong>Pasting</strong>:</dt>
1271 <dd> 1272 <dd>
1272 <p>Pressing and releasing the Middle mouse button in an <strong>rxvt</strong> 1273 <p>Pressing and releasing the Middle mouse button in an <strong>urxvt</strong>
1273window causes the value of the PRIMARY selection (or CLIPBOARD with the 1274window causes the value of the PRIMARY selection (or CLIPBOARD with the
1274<strong>Meta</strong> modifier) to be inserted as if it had been typed on the keyboard.</p> 1275<strong>Meta</strong> modifier) to be inserted as if it had been typed on the keyboard.</p>
1275 <p>Pressing <strong>Shift-Insert</strong> causes the value of the PRIMARY selection to be 1276 <p>Pressing <strong>Shift-Insert</strong> causes the value of the PRIMARY selection to be
1276inserted too.</p> 1277inserted too.</p>
1277 </dd> 1278 </dd>
1296</div> 1297</div>
1297<h1 id="ISO_14755_SUPPORT">ISO 14755 SUPPORT</h1><p><a href="#TOP" class="toplink">Top</a></p> 1298<h1 id="ISO_14755_SUPPORT">ISO 14755 SUPPORT</h1><p><a href="#TOP" class="toplink">Top</a></p>
1298<div id="ISO_14755_SUPPORT_CONTENT"> 1299<div id="ISO_14755_SUPPORT_CONTENT">
1299<p>ISO 14755 is a standard for entering and viewing unicode characters 1300<p>ISO 14755 is a standard for entering and viewing unicode characters
1300and character codes using the keyboard. It consists of 4 parts. The 1301and character codes using the keyboard. It consists of 4 parts. The
1301first part is available rxvt-unicode has been compiled with 1302first part is available if rxvt-unicode has been compiled with
1302<code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled 1303<code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled
1303with <code>--enable-iso14755</code>.</p> 1304with <code>--enable-iso14755</code>.</p>
1304<dl> 1305<dl>
1305 <dt>* 5.1: Basic method</dt> 1306 <dt>* 5.1: Basic method</dt>
1306 <dd> 1307 <dd>
1352both scenario A and B of ISO 14755, including part 5.2.</p> 1353both scenario A and B of ISO 14755, including part 5.2.</p>
1353 1354
1354</div> 1355</div>
1355<h1 id="LOGIN_STAMP">LOGIN STAMP</h1><p><a href="#TOP" class="toplink">Top</a></p> 1356<h1 id="LOGIN_STAMP">LOGIN STAMP</h1><p><a href="#TOP" class="toplink">Top</a></p>
1356<div id="LOGIN_STAMP_CONTENT"> 1357<div id="LOGIN_STAMP_CONTENT">
1357<p><strong>rxvt</strong> tries to write an entry into the <i>utmp</i>(5) file so that 1358<p><strong>urxvt</strong> tries to write an entry into the <i>utmp</i>(5) file so that
1358it can be seen via the <i>who(1)</i> command, and can accept messages. To 1359it can be seen via the <i>who(1)</i> command, and can accept messages. To
1359allow this feature, <strong>rxvt</strong> may need to be installed setuid root 1360allow this feature, <strong>urxvt</strong> may need to be installed setuid root
1360on some systems or setgid to root or to some other group on others.</p> 1361on some systems or setgid to root or to some other group on others.</p>
1361 1362
1362</div> 1363</div>
1363<h1 id="COLORS_AND_GRAPHICS">COLORS AND GRAPHICS</h1><p><a href="#TOP" class="toplink">Top</a></p> 1364<h1 id="COLORS_AND_GRAPHICS">COLORS AND GRAPHICS</h1><p><a href="#TOP" class="toplink">Top</a></p>
1364<div id="COLORS_AND_GRAPHICS_CONTENT"> 1365<div id="COLORS_AND_GRAPHICS_CONTENT">
1365<p>In addition to the default foreground and background colours, 1366<p>In addition to the default foreground and background colours,
1366<strong>rxvt</strong> can display up to 16 colours (8 ANSI colours plus 1367<strong>urxvt</strong> can display up to 16 colours (8 ANSI colours plus
1367high-intensity bold/blink versions of the same). Here is a list of the 1368high-intensity bold/blink versions of the same). Here is a list of the
1368colours with their names.</p> 1369colours with their names.</p>
1369<p>It is also possible to specify the colour values of <strong>foreground</strong>, 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>,
1370<strong>background</strong>, <strong>cursorColor</strong>, <strong>cursorColor2</strong>, <strong>colorBD</strong>, <strong>colorUL</strong> as 1371<strong>background</strong>, <strong>cursorColor</strong>, <strong>cursorColor2</strong>, <strong>colorBD</strong>, <strong>colorUL</strong> as
1371a number 0-15, as a convenient shorthand to reference the colour name of 1372a number 0-15, as a convenient shorthand to reference the colour name of
1372color0-color15.</p> 1373color0-color15.</p>
1373<p>In addition to the colours defined above, rxvt offers an 1374<p>In addition to the colours defined above, urxvt offers an
1374additional 72 colours. The first 64 of those (with indices 16 to 79) 1375additional 72 colours. The first 64 of those (with indices 16 to 79)
1375consist of a 4*4*4 RGB colour cube (i.e. <i>index = r * 16 + g * 4 + b + 1376consist of a 4*4*4 RGB colour cube (i.e. <i>index = r * 16 + g * 4 + b +
137616</i>), followed by 8 additional shades of gray (with indices 80 to 87).</p> 137716</i>), followed by 8 additional shades of gray (with indices 80 to 87).</p>
1377<p>Together, all those colours implement the 88 colour xterm colours. Only 1378<p>Together, all those colours implement the 88 colour xterm colours. Only
1378the first 16 can be changed using resources currently, the rest can only 1379the first 16 can be changed using resources currently, the rest can only
1380<p>Note that <strong>-rv</strong> (<strong>&quot;reverseVideo: True&quot;</strong>) simulates reverse video by 1381<p>Note that <strong>-rv</strong> (<strong>&quot;reverseVideo: True&quot;</strong>) simulates reverse video by
1381always swapping the foreground/background colours. This is in contrast to 1382always swapping the foreground/background colours. This is in contrast to
1382<i>xterm</i>(1) where the colours are only swapped if they have not otherwise 1383<i>xterm</i>(1) where the colours are only swapped if they have not otherwise
1383been specified. For example,</p> 1384been specified. For example,</p>
1384<dl> 1385<dl>
1385 <dt><strong>rxvt -fg Black -bg White -rv</strong></dt> 1386 <dt><strong>urxvt -fg Black -bg White -rv</strong></dt>
1386 <dd> 1387 <dd>
1387 <p>would yield White on Black, while on <i>xterm</i>(1) it would yield Black 1388 <p>would yield White on Black, while on <i>xterm</i>(1) it would yield Black
1388on White.</p> 1389on White.</p>
1389 </dd> 1390 </dd>
1390</dl> 1391</dl>
1404<p>You probably need to specify <strong>&quot;-depth 32&quot;</strong>, too, and have the luck that 1405<p>You probably need to specify <strong>&quot;-depth 32&quot;</strong>, too, and have the luck that
1405your X-server uses ARGB pixel layout, as X is far from just supporting 1406your X-server uses ARGB pixel layout, as X is far from just supporting
1406ARGB visuals out of the box, and rxvt-unicode just fudges around.</p> 1407ARGB visuals out of the box, and rxvt-unicode just fudges around.</p>
1407<p>For example, the following selects an almost completely transparent red 1408<p>For example, the following selects an almost completely transparent red
1408background, and an almost opaque pink foreground:</p> 1409background, and an almost opaque pink foreground:</p>
1409<pre> rxvt -depth 32 -bg rgba:0000/0000/0000/aaaa -fg &quot;[80]pink&quot; 1410<pre> urxvt -depth 32 -bg rgba:0000/0000/0000/aaaa -fg &quot;[80]pink&quot;
1410 1411
1411</pre> 1412</pre>
1412<p><i>Please note that transparency of any kind if completely unsupported by 1413<p><i>Please note that transparency of any kind if completely unsupported by
1413the author. Don't bug him with installation questions!</i></p> 1414the author. Don't bug him with installation questions!</i></p>
1414 1415
1415</div> 1416</div>
1416<h1 id="ENVIRONMENT">ENVIRONMENT</h1><p><a href="#TOP" class="toplink">Top</a></p> 1417<h1 id="ENVIRONMENT">ENVIRONMENT</h1><p><a href="#TOP" class="toplink">Top</a></p>
1417<div id="ENVIRONMENT_CONTENT"> 1418<div id="ENVIRONMENT_CONTENT">
1418<p><strong>rxvt</strong> sets and/or uses the following environment variables:</p> 1419<p><strong>urxvt</strong> sets and/or uses the following environment variables:</p>
1419<dl> 1420<dl>
1420 <dt><strong>TERM</strong></dt> 1421 <dt><strong>TERM</strong></dt>
1421 <dd> 1422 <dd>
1422 <p>Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via 1423 <p>Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via
1423resources or on the command line.</p> 1424resources or on the command line.</p>
1424 </dd> 1425 </dd>
1425 <dt><strong>COLORTERM</strong></dt> 1426 <dt><strong>COLORTERM</strong></dt>
1426 <dd> 1427 <dd>
1427 <p>Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on whether rxvt was 1428 <p>Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on whether urxvt was
1428compiled with XPM support, and optionally with the added extension 1429compiled with background image support, and optionally with the added
1429<code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen.</p> 1430extension <code>-mono</code> to indicate that rxvt-unicode runs on a monochrome
1431screen.</p>
1430 </dd> 1432 </dd>
1431 <dt><strong>COLORFGBG</strong></dt> 1433 <dt><strong>COLORFGBG</strong></dt>
1432 <dd> 1434 <dd>
1433 <p>Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is 1435 <p>Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is
1434the colour code used as default foreground/text colour (or the string 1436the colour code used as default foreground/text colour (or the string
1435<code>default</code> to indicate that the default-colour escape sequence is to be 1437<code>default</code> to indicate that the default-colour escape sequence is to be
1436used), <code>bg</code> is the colour code used as default background colour (or the 1438used), <code>bg</code> is the colour code used as default background colour (or the
1437string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if rxvt 1439string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if urxvt
1438was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can 1440was compiled with background image support. Libraries like <code>ncurses</code>
1439(and do) use this information to optimize screen output.</p> 1441and <code>slang</code> can (and do) use this information to optimize screen output.</p>
1440 </dd> 1442 </dd>
1441 <dt><strong>WINDOWID</strong></dt> 1443 <dt><strong>WINDOWID</strong></dt>
1442 <dd> 1444 <dd>
1443 <p>Set to the (decimal) X Window ID of the rxvt window (the toplevel 1445 <p>Set to the (decimal) X Window ID of the urxvt window (the toplevel
1444window, which usually has subwindows for the scrollbar, the terminal 1446window, which usually has subwindows for the scrollbar, the terminal
1445window and so on).</p> 1447window and so on).</p>
1446 </dd> 1448 </dd>
1447 <dt><strong>TERMINFO</strong></dt> 1449 <dt><strong>TERMINFO</strong></dt>
1448 <dd> 1450 <dd>
1449 <p>Set to the terminfo directory iff rxvt was configured with 1451 <p>Set to the terminfo directory iff urxvt was configured with
1450<code>--with-terminfo=PATH</code>.</p> 1452<code>--with-terminfo=PATH</code>.</p>
1451 </dd> 1453 </dd>
1452 <dt><strong>DISPLAY</strong></dt> 1454 <dt><strong>DISPLAY</strong></dt>
1453 <dd> 1455 <dd>
1454 <p>Used by rxvt to connect to the display and set to the correct 1456 <p>Used by urxvt to connect to the display and set to the correct
1455display in its child processes.</p> 1457display in its child processes.</p>
1456 </dd> 1458 </dd>
1457 <dt><strong>SHELL</strong></dt> 1459 <dt><strong>SHELL</strong></dt>
1458 <dd> 1460 <dd>
1459 <p>The shell to be used for command execution, defaults to <code>/bin/sh</code>.</p> 1461 <p>The shell to be used for command execution, defaults to <code>/bin/sh</code>.</p>
1460 </dd> 1462 </dd>
1461 <dt><strong>RXVT_SOCKET</strong></dt> 1463 <dt><strong>RXVT_SOCKET</strong></dt>
1462 <dd> 1464 <dd>
1463 <p>The unix domain socket path used by rxvtc(1) and 1465 <p>The unix domain socket path used by urxvtc(1) and
1464rxvtd(1).</p> 1466urxvtd(1).</p>
1465 <p>Default <cite>$HOME/.rxvt-unicode-<i>&lt;nodename</i></cite>.</p> 1467 <p>Default <cite>$HOME/.rxvt-unicode-<i>&lt;nodename</i></cite>.</p>
1466 </dd> 1468 </dd>
1467 <dt><strong>HOME</strong></dt> 1469 <dt><strong>HOME</strong></dt>
1468 <dd> 1470 <dd>
1469 <p>Used to locate the default directory for the unix domain socket for 1471 <p>Used to locate the default directory for the unix domain socket for
1475 <p>Directory where various X resource files are being located.</p> 1477 <p>Directory where various X resource files are being located.</p>
1476 </dd> 1478 </dd>
1477 <dt><strong>XENVIRONMENT</strong></dt> 1479 <dt><strong>XENVIRONMENT</strong></dt>
1478 <dd> 1480 <dd>
1479 <p>If set and accessible, gives the name of a X resource file to be loaded by 1481 <p>If set and accessible, gives the name of a X resource file to be loaded by
1480rxvt.</p> 1482urxvt.</p>
1481 </dd> 1483 </dd>
1482</dl> 1484</dl>
1483 1485
1484</div> 1486</div>
1485<h1 id="FILES">FILES</h1><p><a href="#TOP" class="toplink">Top</a></p> 1487<h1 id="FILES">FILES</h1><p><a href="#TOP" class="toplink">Top</a></p>
1492</dl> 1494</dl>
1493 1495
1494</div> 1496</div>
1495<h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p> 1497<h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p>
1496<div id="SEE_ALSO_CONTENT"> 1498<div id="SEE_ALSO_CONTENT">
1497<p>rxvt(7), rxvtc(1), rxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)</p> 1499<p>urxvt(7), urxvtc(1), urxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)</p>
1498 1500
1499</div> 1501</div>
1500<h1 id="CURRENT_PROJECT_COORDINATOR">CURRENT PROJECT COORDINATOR</h1><p><a href="#TOP" class="toplink">Top</a></p> 1502<h1 id="CURRENT_PROJECT_COORDINATOR">CURRENT PROJECT COORDINATOR</h1><p><a href="#TOP" class="toplink">Top</a></p>
1501<div id="CURRENT_PROJECT_COORDINATOR_CONTENT"> 1503<div id="CURRENT_PROJECT_COORDINATOR_CONTENT">
1502<dl> 1504<dl>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines