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.69 by root, Wed Aug 1 18:38:15 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="Wed Aug 1 20:30:03 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.3</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. 183used to brighten or darken the image in addition to tinting it.
182Please note that certain tint colours can be applied on the server-side, 184Please note that certain tint colours can be applied on the server-side,
183thus yielding performance gain of two orders of magnitude. These colours are: 185thus yielding performance gain of two orders of magnitude. These colours are:
184blue, red, green, cyan, magenta, yellow, and those close to them; resource 186blue, red, green, cyan, magenta, yellow, and those close to them; resource
185<i>tintColor</i>. Example:</p> 187<i>tintColor</i>. Example:</p>
186<pre> rxvt -tr -tint blue -sh 40 188<pre> urxvt -tr -tint blue -sh 40
187 189
188</pre> 190</pre>
189 </dd> 191 </dd>
190 <dt><strong>-sh</strong> <i>number</i></dt> 192 <dt><strong>-sh</strong> <i>number</i></dt>
191 <dd> 193 <dd>
199at the same time as transparency - such pixmap will be blended over 201at the same time as transparency - such pixmap will be blended over
200transparency image, using method specified. Supported values are : 202transparency image, using method specified. Supported values are :
201<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>,
202<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>,
203<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
204alpha-blending; resource <i>blendType</i>.</p> 206alpha-blending. Compile <i>afterimage</i>; resource <i>blendType</i>.</p>
205 </dd> 207 </dd>
206 <dt><strong>-blr</strong> <i>HxV</i></dt> 208 <dt><strong>-blr</strong> <i>HxV</i></dt>
207 <dd> 209 <dd>
208 <p>Apply Gaussian Blur with the specified radii to the transparent 210 <p>Apply Gaussian Blur with the specified radii to the transparent
209background image. If single number is specified - both vertical and 211background image. If single number is specified - both vertical and
210horizontal radii are considered to be the same. Setting one of the 212horizontal radii are considered to be the same. Setting one of the
211radii to 1 and another to a large number creates interesting effects 213radii to 1 and another to a large number creates interesting effects
212on some backgrounds. Maximum radius value is 128; resource <i>blurRadius</i>.</p> 214on some backgrounds. Maximum radius value is 128. Compile <i>afterimage</i>;
215resource <i>blurRadius</i>.</p>
213 </dd> 216 </dd>
214 <dt><strong>-bg</strong> <i>colour</i></dt> 217 <dt><strong>-bg</strong> <i>colour</i></dt>
215 <dd> 218 <dd>
216 <p>Window background colour; resource <strong>background</strong>.</p> 219 <p>Window background colour; resource <strong>background</strong>.</p>
217 </dd> 220 </dd>
251smaller, but not (in general) larger. A (hopefully) reasonable default 254smaller, but not (in general) larger. A (hopefully) reasonable default
252font 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>
253 <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
254with <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>,
255e.g.:</p> 258e.g.:</p>
256<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;
257 rxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot; 260 urxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot;
258 261
259</pre> 262</pre>
260 <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
261section of rxvt(7).</p> 264section of urxvt(7).</p>
262 </dd> 265 </dd>
263 <dt><strong>-fb</strong> <i>fontlist</i></dt> 266 <dt><strong>-fb</strong> <i>fontlist</i></dt>
264 <dd> 267 <dd>
265 <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
266are to be printed. See resource <strong>boldFont</strong> for details.</p> 269are to be printed. See resource <strong>boldFont</strong> for details.</p>
384 </dd> 387 </dd>
385 <dt><strong>-lsp</strong> <i>number</i></dt> 388 <dt><strong>-lsp</strong> <i>number</i></dt>
386 <dd> 389 <dd>
387 <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
388the display. Useful to work around font rendering problems; resource 391the display. Useful to work around font rendering problems; resource
389<strong>linespace</strong>.</p> 392<strong>lineSpace</strong>.</p>
390 </dd> 393 </dd>
391 <dt><strong>-tn</strong> <i>termname</i></dt> 394 <dt><strong>-tn</strong> <i>termname</i></dt>
392 <dd> 395 <dd>
393 <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
394<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
395<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;
396resource <strong>termName</strong>.</p> 399resource <strong>termName</strong>.</p>
397 </dd> 400 </dd>
398 <dt><strong>-e</strong> <i>command [arguments]</i></dt> 401 <dt><strong>-e</strong> <i>command [arguments]</i></dt>
399 <dd> 402 <dd>
400 <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>
401window; 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
402the 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
403given 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
404on 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
405run the program specified by the <strong>SHELL</strong> environment variable or, 408run the program specified by the <strong>SHELL</strong> environment variable or,
406failing that, <i>sh(1)</i>.</p> 409failing that, <i>sh(1)</i>.</p>
407 <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
408run shell commands, you have to specify the shell, like this:</p> 411run shell commands, you have to specify the shell, like this:</p>
409<pre> rxvt -e sh -c &quot;shell commands&quot; 412<pre> urxvt -e sh -c &quot;shell commands&quot;
410 413
411</pre> 414</pre>
412 </dd> 415 </dd>
413 <dt><strong>-title</strong> <i>text</i></dt> 416 <dt><strong>-title</strong> <i>text</i></dt>
414 <dd> 417 <dd>
476 <p>Turn on/off secondary screen scroll (default enabled); resource 479 <p>Turn on/off secondary screen scroll (default enabled); resource
477<strong>secondaryScroll</strong>.</p> 480<strong>secondaryScroll</strong>.</p>
478 </dd> 481 </dd>
479 <dt><strong>-hold</strong>|<strong>+hold</strong></dt> 482 <dt><strong>-hold</strong>|<strong>+hold</strong></dt>
480 <dd> 483 <dd>
481 <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
482will not immediately destroy its window when the program executed within 485will not immediately destroy its window when the program executed within
483it 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
484user; resource <strong>hold</strong>.</p> 487user; resource <strong>hold</strong>.</p>
485 </dd> 488 </dd>
486 <dt><strong>-keysym.</strong><i>sym</i> <i>string</i></dt> 489 <dt><strong>-keysym.</strong><i>sym</i> <i>string</i></dt>
487 <dd> 490 <dd>
488 <p>Remap a key symbol. See resource <strong>keysym</strong>.</p> 491 <p>Remap a key symbol. See resource <strong>keysym</strong>.</p>
489 </dd> 492 </dd>
490 <dt><strong>-embed</strong> <i>windowid</i></dt> 493 <dt><strong>-embed</strong> <i>windowid</i></dt>
491 <dd> 494 <dd>
492 <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,
493which enables applications to easily embed a terminal.</p> 496which enables applications to easily embed a terminal.</p>
494 <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
495shouldn't be a top-level window. rxvt will also reconfigure it 498shouldn't be a top-level window. urxvt will also reconfigure it
496quite 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
497create an extra subwindow for rxvt and leave it alone.</p> 500create an extra subwindow for urxvt and leave it alone.</p>
498 <p>The window will not be destroyed when rxvt exits.</p> 501 <p>The window will not be destroyed when urxvt exits.</p>
499 <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
500descriptors 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
501can use file descriptors to communicate with the programs within the 504can use file descriptors to communicate with the programs within the
502terminal. 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
503not.</p> 506not.</p>
504 <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
505used (a longer example is in <cite>doc/embed</cite>):</p> 508used (a longer example is in <cite>doc/embed</cite>):</p>
506<pre> my $rxvt = new Gtk2::Socket; 509<pre> my $rxvt = new Gtk2::Socket;
507 $rxvt-&gt;signal_connect_after (realize =&gt; sub { 510 $rxvt-&gt;signal_connect_after (realize =&gt; sub {
508 my $xid = $_[0]-&gt;window-&gt;get_xid; 511 my $xid = $_[0]-&gt;window-&gt;get_xid;
509 system &quot;rxvt -embed $xid &amp;&quot;; 512 system &quot;urxvt -embed $xid &amp;&quot;;
510 }); 513 });
511 514
512</pre> 515</pre>
513 </dd> 516 </dd>
514 <dt><strong>-pty-fd</strong> <i>file descriptor</i></dt> 517 <dt><strong>-pty-fd</strong> <i>file descriptor</i></dt>
515 <dd> 518 <dd>
516 <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
517pair 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
518useful if you want to drive rxvt as a generic terminal emulator 521useful if you want to drive urxvt as a generic terminal emulator
519without having to run a program within it.</p> 522without having to run a program within it.</p>
520 <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
521entries 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
522yourself if you want that.</p> 525yourself if you want that.</p>
523 <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
524pty/tty operations.</p> 527pty/tty operations.</p>
525 <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
527<pre> use IO::Pty; 530<pre> use IO::Pty;
528 use Fcntl; 531 use Fcntl;
529 532
530 my $pty = new IO::Pty; 533 my $pty = new IO::Pty;
531 fcntl $pty, F_SETFD, 0; # clear close-on-exec 534 fcntl $pty, F_SETFD, 0; # clear close-on-exec
532 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;; 535 system &quot;urxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
533 close $pty; 536 close $pty;
534 537
535 # now communicate with rxvt 538 # now communicate with rxvt
536 my $slave = $pty-&gt;slave; 539 my $slave = $pty-&gt;slave;
537 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; }
546</dl> 549</dl>
547 550
548</div> 551</div>
549<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>
550<div id="RESOURCES_available_also_as_long_opt-2"> 553<div id="RESOURCES_available_also_as_long_opt-2">
551<p>Note: `rxvt --help' gives a list of all resources (long 554<p>Note: `urxvt --help' gives a list of all resources (long
552options) compiled into your version.</p> 555options) compiled into your version.</p>
553<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
554distribution 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
555starts. rxvt will consult the following files/resources in order, 558starts. urxvt will consult the following files/resources in order,
556with later settings overwriting earlier ones:</p> 559with later settings overwriting earlier ones:</p>
557<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
558 2. app-defaults file in $XAPPLRESDIR 561 2. app-defaults file in $XAPPLRESDIR
559 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 562 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
560 4. SCREEN_RESOURCES for the current screen 563 4. SCREEN_RESOURCES for the current screen
561 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt; 564 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;
562 565
563</pre> 566</pre>
564<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
565names: <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
566common 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
567configured, while the class name <strong>URxvt</strong> allows resources unique to 570configured, while the class name <strong>URxvt</strong> allows resources unique to
568<strong>rxvt</strong>, to be shared between different <strong>rxvt</strong> 571<strong>urxvt</strong>, to be shared between different <strong>urxvt</strong>
569configurations. If no resources are specified, suitable defaults will 572configurations. If no resources are specified, suitable defaults will
570be used. Command-line arguments can be used to override resource 573be used. Command-line arguments can be used to override resource
571settings. The following resources are supported (you might want to 574settings. The following resources are supported (you might want to
572check the rxvtperl(3) manpage for additional settings by perl 575check the urxvtperl(3) manpage for additional settings by perl
573extensions not documented here):</p> 576extensions not documented here):</p>
574<dl> 577<dl>
575 <dt><strong>depth:</strong> <i>bitdepth</i></dt> 578 <dt><strong>depth:</strong> <i>bitdepth</i></dt>
576 <dd> 579 <dd>
577 <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;
599high-intensity (bold = bright foreground, blink = bright background) 602high-intensity (bold = bright foreground, blink = bright background)
600colours. 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,
6013=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
602names 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>
603 <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
604changed using an escape command (see rxvt(7)).</p> 607changed using an escape command (see urxvt(7)).</p>
605 <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
60688 colour support). Colours 80-87 are evenly spaces grey steps.</p> 60988 colour support). Colours 80-87 are evenly spaces grey steps.</p>
607 </dd> 610 </dd>
608 <dt><strong>colorBD:</strong> <i>colour</i></dt> 611 <dt><strong>colorBD:</strong> <i>colour</i></dt>
609 <dt><strong>colorIT:</strong> <i>colour</i></dt> 612 <dt><strong>colorIT:</strong> <i>colour</i></dt>
645<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>
646 </dd> 649 </dd>
647 <dt><strong>jumpScroll:</strong> <i>boolean</i></dt> 650 <dt><strong>jumpScroll:</strong> <i>boolean</i></dt>
648 <dd> 651 <dd>
649 <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
650of 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
651has been read, resulting in fewer updates while still displaying every 654has been read, resulting in fewer updates while still displaying every
652received line; option <strong>-j</strong>.</p> 655received line; option <strong>-j</strong>.</p>
653 <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
654force 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>
655 </dd> 658 </dd>
656 <dt><strong>skipScroll:</strong> <i>boolean</i></dt> 659 <dt><strong>skipScroll:</strong> <i>boolean</i></dt>
657 <dd> 660 <dd>
658 <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
659receiving lots of lines, rxvt will only scroll once in a while 662receiving lots of lines, urxvt will only scroll once in a while
660(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
661result in rxvt not ever displaying some of the lines it receives; 664result in urxvt not ever displaying some of the lines it receives;
662option <strong>-ss</strong>.</p> 665option <strong>-ss</strong>.</p>
663 <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
664if 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
665monitor to display anything); option <strong>+ss</strong>.</p> 668monitor to display anything); option <strong>+ss</strong>.</p>
666 </dd> 669 </dd>
731other blending type, specified with <strong>-blt &quot;type&quot;</strong> option. 734other blending type, specified with <strong>-blt &quot;type&quot;</strong> option.
732[default 0x0+50+50]</p> 735[default 0x0+50+50]</p>
733 </dd> 736 </dd>
734 <dt><strong>path:</strong> <i>path</i></dt> 737 <dt><strong>path:</strong> <i>path</i></dt>
735 <dd> 738 <dd>
736 <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>
737 </dd> 740 </dd>
738 <dt><strong>font:</strong> <i>fontlist</i></dt> 741 <dt><strong>font:</strong> <i>fontlist</i></dt>
739 <dd> 742 <dd>
740 <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
741that 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
927 <dt><strong>termName:</strong> <i>termname</i></dt> 930 <dt><strong>termName:</strong> <i>termname</i></dt>
928 <dd> 931 <dd>
929 <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
930variable; option <strong>-tn</strong>.</p> 933variable; option <strong>-tn</strong>.</p>
931 </dd> 934 </dd>
932 <dt><strong>linespace:</strong> <i>number</i></dt> 935 <dt><strong>lineSpace:</strong> <i>number</i></dt>
933 <dd> 936 <dd>
934 <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
935the display [default 0]; option <strong>-lsp</strong>.</p> 938the display [default 0]; option <strong>-lsp</strong>.</p>
936 </dd> 939 </dd>
937 <dt><strong>meta8:</strong> <i>boolean</i></dt> 940 <dt><strong>meta8:</strong> <i>boolean</i></dt>
989 <dt><strong>cutchars:</strong> <i>string</i></dt> 992 <dt><strong>cutchars:</strong> <i>string</i></dt>
990 <dd> 993 <dd>
991 <p>The characters used as delimiters for double-click word selection 994 <p>The characters used as delimiters for double-click word selection
992(whitespace delimiting is added automatically if resource is given).</p> 995(whitespace delimiting is added automatically if resource is given).</p>
993 <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
994in, see the rxvtperl(3) manpage), a suitable regex using these 997in, see the urxvtperl(3) manpage), a suitable regex using these
995characters will be created (if the resource exists, otherwise, no regex 998characters will be created (if the resource exists, otherwise, no regex
996will 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>
997 <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
998be used. If not specified, the built-in default is used:</p> 1001be used. If not specified, the built-in default is used:</p>
999 <p><strong>BACKSLASH `&quot;'&amp;()*,;&lt;=&gt;?@[]{|}</strong></p> 1002 <p><strong>BACKSLASH `&quot;'&amp;()*,;&lt;=&gt;?@[]{|}</strong></p>
1016 <dt><strong>imFont:</strong> <i>fontset</i></dt> 1019 <dt><strong>imFont:</strong> <i>fontset</i></dt>
1017 <dd> 1020 <dd>
1018 <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
1019<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
1020by 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
1021in 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
1022found, 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.
1023option <strong>-imfont</strong>.</p> 1026option <strong>-imfont</strong>.</p>
1024 </dd> 1027 </dd>
1025 <dt><strong>tripleclickwords:</strong> <i>boolean</i></dt> 1028 <dt><strong>tripleclickwords:</strong> <i>boolean</i></dt>
1026 <dd> 1029 <dd>
1064scrollback buffer and switching to/from the secondary screen will 1067scrollback buffer and switching to/from the secondary screen will
1065instead scroll the screen up.</p> 1068instead scroll the screen up.</p>
1066 </dd> 1069 </dd>
1067 <dt><strong>hold</strong>: <i>boolean</i></dt> 1070 <dt><strong>hold</strong>: <i>boolean</i></dt>
1068 <dd> 1071 <dd>
1069 <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
1070will not immediately destroy its window when the program executed within 1073will not immediately destroy its window when the program executed within
1071it 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
1072user.</p> 1075user.</p>
1073 </dd> 1076 </dd>
1074 <dt><strong>keysym.</strong><i>sym</i>: <i>string</i></dt> 1077 <dt><strong>keysym.</strong><i>sym</i>: <i>string</i></dt>
1087 <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
1088searching 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
1089omitting 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
1090keysym 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
1091performed in an exact manner; however, the closest match is assured.</p> 1094performed in an exact manner; however, the closest match is assured.</p>
1092 <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
1093<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>
1094<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1095<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1096can start or end with whitespace. <strong>This feature is deprecated and will
1097be removed</strong>.</p>
1098 <p>Please note that you need to double the <code>\</code> in resource files, as
1099Xlib itself does its own de-escaping (you can use <code>\033</code> instead of
1100<code>\e</code> (and so on), which will work with both Xt and rxvt's own
1101processing).</p>
1102 <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>
1103with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimiter `/' 1098with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimiter `/'
1104should be a character not used by the strings.</p> 1099should be a character not used by the strings.</p>
1105 <p>Its usage can be demonstrated by an example:</p> 1100 <p>Its usage can be demonstrated by an example:</p>
1106<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;
1111 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt; 1106 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt;
1112 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt; 1107 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;
1113 1108
1114</pre> 1109</pre>
1115 <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>
1116is interpreted and executed as rxvt's control sequence. For 1111is interpreted and executed as urxvt's control sequence. For
1117example 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>
1118when Control-Meta-c is being pressed&quot;:</p> 1113when Control-Meta-c is being pressed&quot;:</p>
1119<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
1120 1115
1121</pre> 1116</pre>
1122 <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>
1123is 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)
1124manpage. For example, the <cite>selection</cite> extension (activated via 1119manpage. For example, the <cite>selection</cite> extension (activated via
1125<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>
1126<pre> URxvt.keysym.M-C-c: perl:selection:rot13 1121<pre> URxvt.keysym.M-C-c: perl:selection:rot13
1127 1122
1128</pre> 1123</pre>
1129 <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
1130will 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
1131no 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
1132means 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
1133definitions 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
1134mappings themselves.</p> 1129mappings themselves.</p>
1135 <p>Unfortunately, this will override built-in key mappings. For example 1130 <p>Unfortunately, this will override built-in key mappings. For example
1136if 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
1137<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
1138user-defined keymap using the <code>builtin:</code> replacement:</p> 1133user-defined keymap using the <code>builtin:</code> replacement:</p>
1139<pre> URxvt.keysym.Insert: &lt;my insert key sequence&gt; 1134<pre> URxvt.keysym.Insert: &lt;my insert key sequence&gt;
1140 URxvt.keysym.S-Insert: builtin: 1135 URxvt.keysym.S-Insert: builtin:
1141 1136
1148font-switching at runtime:</p> 1143font-switching at runtime:</p>
1149<pre> URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 1144<pre> URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007
1150 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007 1145 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007
1151 1146
1152</pre> 1147</pre>
1153 <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
1154info):</p> 1149info):</p>
1155<pre> URxvt.keysym.M-C-3: command:\033[8;25;80t 1150<pre> URxvt.keysym.M-C-3: command:\033[8;25;80t
1156 URxvt.keysym.M-C-4: command:\033[8;48;110t 1151 URxvt.keysym.M-C-4: command:\033[8;48;110t
1157 1152
1158</pre> 1153</pre>
1180all 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>
1181 </dd> 1176 </dd>
1182 <dt><strong>perl-eval</strong>: <i>string</i></dt> 1177 <dt><strong>perl-eval</strong>: <i>string</i></dt>
1183 <dd> 1178 <dd>
1184 <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
1185the rxvtperl(3) manpage. Due to security reasons, this resource 1180the urxvtperl(3) manpage. Due to security reasons, this resource
1186will be ignored when running setuid/setgid.</p> 1181will be ignored when running setuid/setgid.</p>
1187 </dd> 1182 </dd>
1188 <dt><strong>perl-lib</strong>: <i>path</i></dt> 1183 <dt><strong>perl-lib</strong>: <i>path</i></dt>
1189 <dd> 1184 <dd>
1190 <p>Colon-separated list of additional directories that hold extension 1185 <p>Colon-separated list of additional directories that hold extension
1191scripts. When looking for extensions specified by the <code>perl</code> resource, 1186scripts. When looking for extensions specified by the <code>perl</code> resource,
1192rxvt will first look in these directories and then in 1187urxvt will first look in these directories and then in
1193<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
1194will be ignored when running setuid/setgid.</p> 1189will be ignored when running setuid/setgid.</p>
1195 <p>See the rxvtperl(3) manpage.</p> 1190 <p>See the urxvtperl(3) manpage.</p>
1196 </dd> 1191 </dd>
1197 <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>
1198 <dd> 1193 <dd>
1199 <p>Additional selection patterns, see the rxvtperl(3) manpage for 1194 <p>Additional selection patterns, see the urxvtperl(3) manpage for
1200details.</p> 1195details.</p>
1201 </dd> 1196 </dd>
1202 <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>
1203 <dd> 1198 <dd>
1204 <p>Selection auto-transform patterns, see the rxvtperl(3) manpage 1199 <p>Selection auto-transform patterns, see the urxvtperl(3) manpage
1205for details.</p> 1200for details.</p>
1206 </dd> 1201 </dd>
1207 <dt><strong>searchable-scrollback:</strong> <i>keysym</i></dt> 1202 <dt><strong>searchable-scrollback:</strong> <i>keysym</i></dt>
1208 <dd> 1203 <dd>
1209 <p>Sets the hotkey that starts the incremental scrollback buffer search 1204 <p>Sets the hotkey that starts the incremental scrollback buffer search
1230</dl> 1225</dl>
1231 1226
1232</div> 1227</div>
1233<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>
1234<div id="THE_SCROLLBAR_CONTENT"> 1229<div id="THE_SCROLLBAR_CONTENT">
1235<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
1236(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
1237or by keystrokes. The normal <strong>rxvt</strong> scrollbar has arrows and 1232or by keystrokes. The normal <strong>urxvt</strong> scrollbar has arrows and
1238its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without 1233its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without
1239arrows and its behaviour mimics that of <i>xterm</i></p> 1234arrows and its behaviour mimics that of <i>xterm</i></p>
1240<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>.
1241Scroll 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>.
1242Continuous scroll with <strong>Button2</strong>.</p> 1237Continuous scroll with <strong>Button2</strong>.</p>
1273selection, and trailing whitespace is visually underlined and removed from 1268selection, and trailing whitespace is visually underlined and removed from
1274the selection.</p> 1269the selection.</p>
1275 </dd> 1270 </dd>
1276 <dt><strong>Pasting</strong>:</dt> 1271 <dt><strong>Pasting</strong>:</dt>
1277 <dd> 1272 <dd>
1278 <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>
1279window causes the value of the PRIMARY selection (or CLIPBOARD with the 1274window causes the value of the PRIMARY selection (or CLIPBOARD with the
1280<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>
1281 <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
1282inserted too.</p> 1277inserted too.</p>
1283 </dd> 1278 </dd>
1358both 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>
1359 1354
1360</div> 1355</div>
1361<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>
1362<div id="LOGIN_STAMP_CONTENT"> 1357<div id="LOGIN_STAMP_CONTENT">
1363<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
1364it 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
1365allow 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
1366on 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>
1367 1362
1368</div> 1363</div>
1369<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>
1370<div id="COLORS_AND_GRAPHICS_CONTENT"> 1365<div id="COLORS_AND_GRAPHICS_CONTENT">
1371<p>In addition to the default foreground and background colours, 1366<p>In addition to the default foreground and background colours,
1372<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
1373high-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
1374colours with their names.</p> 1369colours with their names.</p>
1375<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<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>,
1376<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
1377a 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
1378color0-color15.</p> 1373color0-color15.</p>
1379<p>In addition to the colours defined above, rxvt offers an 1374<p>In addition to the colours defined above, urxvt offers an
1380additional 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)
1381consist 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 +
138216</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>
1383<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
1384the 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
1386<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
1387always swapping the foreground/background colours. This is in contrast to 1382always swapping the foreground/background colours. This is in contrast to
1388<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
1389been specified. For example,</p> 1384been specified. For example,</p>
1390<dl> 1385<dl>
1391 <dt><strong>rxvt -fg Black -bg White -rv</strong></dt> 1386 <dt><strong>urxvt -fg Black -bg White -rv</strong></dt>
1392 <dd> 1387 <dd>
1393 <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
1394on White.</p> 1389on White.</p>
1395 </dd> 1390 </dd>
1396</dl> 1391</dl>
1410<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
1411your 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
1412ARGB 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>
1413<p>For example, the following selects an almost completely transparent red 1408<p>For example, the following selects an almost completely transparent red
1414background, and an almost opaque pink foreground:</p> 1409background, and an almost opaque pink foreground:</p>
1415<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;
1416 1411
1417</pre> 1412</pre>
1418<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
1419the author. Don't bug him with installation questions!</i></p> 1414the author. Don't bug him with installation questions!</i></p>
1420 1415
1421</div> 1416</div>
1422<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>
1423<div id="ENVIRONMENT_CONTENT"> 1418<div id="ENVIRONMENT_CONTENT">
1424<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>
1425<dl> 1420<dl>
1426 <dt><strong>TERM</strong></dt> 1421 <dt><strong>TERM</strong></dt>
1427 <dd> 1422 <dd>
1428 <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
1429resources or on the command line.</p> 1424resources or on the command line.</p>
1430 </dd> 1425 </dd>
1431 <dt><strong>COLORTERM</strong></dt> 1426 <dt><strong>COLORTERM</strong></dt>
1432 <dd> 1427 <dd>
1433 <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
1434compiled with XPM support, and optionally with the added extension 1429compiled with background image support, and optionally with the added
1435<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>
1436 </dd> 1432 </dd>
1437 <dt><strong>COLORFGBG</strong></dt> 1433 <dt><strong>COLORFGBG</strong></dt>
1438 <dd> 1434 <dd>
1439 <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
1440the colour code used as default foreground/text colour (or the string 1436the colour code used as default foreground/text colour (or the string
1441<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
1442used), <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
1443string <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
1444was 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>
1445(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>
1446 </dd> 1442 </dd>
1447 <dt><strong>WINDOWID</strong></dt> 1443 <dt><strong>WINDOWID</strong></dt>
1448 <dd> 1444 <dd>
1449 <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
1450window, which usually has subwindows for the scrollbar, the terminal 1446window, which usually has subwindows for the scrollbar, the terminal
1451window and so on).</p> 1447window and so on).</p>
1452 </dd> 1448 </dd>
1453 <dt><strong>TERMINFO</strong></dt> 1449 <dt><strong>TERMINFO</strong></dt>
1454 <dd> 1450 <dd>
1455 <p>Set to the terminfo directory iff rxvt was configured with 1451 <p>Set to the terminfo directory iff urxvt was configured with
1456<code>--with-terminfo=PATH</code>.</p> 1452<code>--with-terminfo=PATH</code>.</p>
1457 </dd> 1453 </dd>
1458 <dt><strong>DISPLAY</strong></dt> 1454 <dt><strong>DISPLAY</strong></dt>
1459 <dd> 1455 <dd>
1460 <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
1461display in its child processes.</p> 1457display in its child processes.</p>
1462 </dd> 1458 </dd>
1463 <dt><strong>SHELL</strong></dt> 1459 <dt><strong>SHELL</strong></dt>
1464 <dd> 1460 <dd>
1465 <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>
1466 </dd> 1462 </dd>
1467 <dt><strong>RXVT_SOCKET</strong></dt> 1463 <dt><strong>RXVT_SOCKET</strong></dt>
1468 <dd> 1464 <dd>
1469 <p>The unix domain socket path used by rxvtc(1) and 1465 <p>The unix domain socket path used by urxvtc(1) and
1470rxvtd(1).</p> 1466urxvtd(1).</p>
1471 <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>
1472 </dd> 1468 </dd>
1473 <dt><strong>HOME</strong></dt> 1469 <dt><strong>HOME</strong></dt>
1474 <dd> 1470 <dd>
1475 <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
1481 <p>Directory where various X resource files are being located.</p> 1477 <p>Directory where various X resource files are being located.</p>
1482 </dd> 1478 </dd>
1483 <dt><strong>XENVIRONMENT</strong></dt> 1479 <dt><strong>XENVIRONMENT</strong></dt>
1484 <dd> 1480 <dd>
1485 <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
1486rxvt.</p> 1482urxvt.</p>
1487 </dd> 1483 </dd>
1488</dl> 1484</dl>
1489 1485
1490</div> 1486</div>
1491<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>
1498</dl> 1494</dl>
1499 1495
1500</div> 1496</div>
1501<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>
1502<div id="SEE_ALSO_CONTENT"> 1498<div id="SEE_ALSO_CONTENT">
1503<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>
1504 1500
1505</div> 1501</div>
1506<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>
1507<div id="CURRENT_PROJECT_COORDINATOR_CONTENT"> 1503<div id="CURRENT_PROJECT_COORDINATOR_CONTENT">
1508<dl> 1504<dl>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines