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.24 by root, Tue Oct 25 20:04:58 2005 UTC vs.
Revision 1.45 by root, Fri Jan 13 12:40:46 2006 UTC

27 <li><a href="#login_stamp">LOGIN STAMP</a></li> 27 <li><a href="#login_stamp">LOGIN STAMP</a></li>
28 <li><a href="#colors_and_graphics">COLORS AND GRAPHICS</a></li> 28 <li><a href="#colors_and_graphics">COLORS AND GRAPHICS</a></li>
29 <li><a href="#environment">ENVIRONMENT</a></li> 29 <li><a href="#environment">ENVIRONMENT</a></li>
30 <li><a href="#files">FILES</a></li> 30 <li><a href="#files">FILES</a></li>
31 <li><a href="#see_also">SEE ALSO</a></li> 31 <li><a href="#see_also">SEE ALSO</a></li>
32 <li><a href="#bugs">BUGS</a></li>
33 <li><a href="#current_project_coordinator">CURRENT PROJECT COORDINATOR</a></li> 32 <li><a href="#current_project_coordinator">CURRENT PROJECT COORDINATOR</a></li>
34 <li><a href="#authors">AUTHORS</a></li> 33 <li><a href="#authors">AUTHORS</a></li>
35</ul> 34</ul>
36<!-- INDEX END --> 35<!-- INDEX END -->
37 36
42<p>rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)</p> 41<p>rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)</p>
43<p> 42<p>
44</p> 43</p>
45<hr /> 44<hr />
46<h1><a name="synopsis">SYNOPSIS</a></h1> 45<h1><a name="synopsis">SYNOPSIS</a></h1>
47<p><strong>rxvt</strong> [options] [-e command [ args ]]</p> 46<p><strong>urxvt</strong> [options] [-e command [ args ]]</p>
48<p> 47<p>
49</p> 48</p>
50<hr /> 49<hr />
51<h1><a name="description">DESCRIPTION</a></h1> 50<h1><a name="description">DESCRIPTION</a></h1>
52<p><strong>rxvt-unicode</strong>, version <strong>5.8</strong>, is a colour vt102 terminal 51<p><strong>rxvt-unicode</strong>, version <strong>7.0</strong>, is a colour vt102 terminal
53emulator intended as an <em>xterm</em>(1) replacement for users who do not 52emulator intended as an <em>xterm</em>(1) replacement for users who do not
54require features such as Tektronix 4014 emulation and toolkit-style 53require features such as Tektronix 4014 emulation and toolkit-style
55configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space -- 54configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space --
56a significant advantage on a machine serving many X sessions.</p> 55a significant advantage on a machine serving many X sessions.</p>
57<p> 56<p>
58</p> 57</p>
59<hr /> 58<hr />
60<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1> 59<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
61<p>See <code>rxvt(7)</code> (try <code>man 7 rxvt</code>) for a list of 60<p>See <code>urxvt(7)</code> (try <code>man 7 urxvt</code>) for a list of
62frequently asked questions and answer to them and some common 61frequently asked questions and answer to them and some common
63problems. That document is also accessible on the World-Wide-Web at 62problems. That document is also accessible on the World-Wide-Web at
64<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p> 63<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p>
65<p> 64<p>
66</p> 65</p>
94<p>It is still faithfully following the original rxvt idea of being lean 93<p>It is still faithfully following the original rxvt idea of being lean
95and nice on resources: for example, you can still configure rxvt-unicode 94and nice on resources: for example, you can still configure rxvt-unicode
96without most of it's features to get a lean binary. It also comes with 95without most of it's features to get a lean binary. It also comes with
97a client/daemon pair that lets you open any number of terminal windows 96a client/daemon pair that lets you open any number of terminal windows
98from within a single process, which makes startup time very fast and 97from within a single process, which makes startup time very fast and
99drastically reduces memory usage. See <code>rxvtd(1)</code> (daemon) and 98drastically reduces memory usage. See <code>urxvtd(1)</code> (daemon) and
100<code>rxvtc(1)</code> (client).</p> 99<code>urxvtc(1)</code> (client).</p>
101<p>It also makes technical information about escape sequences (which have 100<p>It also makes technical information about escape sequences (which have
102been extended) easier accessible: see <code>rxvt(7)</code> for technical 101been extended) easier accessible: see <code>urxvt(7)</code> for technical
103reference documentation (escape sequences etc.).</p> 102reference documentation (escape sequences etc.).</p>
104<p> 103<p>
105</p> 104</p>
106<hr /> 105<hr />
107<h1><a name="options">OPTIONS</a></h1> 106<h1><a name="options">OPTIONS</a></h1>
108<p>The <strong>rxvt</strong> options (mostly a subset of <em>xterm</em>'s) are listed 107<p>The <strong>urxvt</strong> options (mostly a subset of <em>xterm</em>'s) are listed
109below. In keeping with the smaller-is-better philosophy, options may be 108below. In keeping with the smaller-is-better philosophy, options may be
110eliminated or default values chosen at compile-time, so options and 109eliminated or default values chosen at compile-time, so options and
111defaults listed may not accurately reflect the version installed on 110defaults listed may not accurately reflect the version installed on
112your system. `rxvt -h' gives a list of major compile-time options on 111your system. `urxvt -h' gives a list of major compile-time options on
113the <em>Options</em> line. Option descriptions may be prefixed with which 112the <em>Options</em> line. Option descriptions may be prefixed with which
114compile option each is dependent upon. e.g. `Compile <em>XIM</em>:' requires 113compile option each is dependent upon. e.g. `Compile <em>XIM</em>:' requires
115<em>XIM</em> on the <em>Options</em> line. Note: `rxvt -help' gives a list of all 114<em>XIM</em> on the <em>Options</em> line. Note: `urxvt -help' gives a list of all
116command-line options compiled into your version.</p> 115command-line options compiled into your version.</p>
117<p>Note that <strong>rxvt</strong> permits the resource name to be used as a 116<p>Note that <strong>urxvt</strong> permits the resource name to be used as a
118long-option (--/++ option) so the potential command-line options are 117long-option (--/++ option) so the potential command-line options are
119far greater than those listed. For example: `rxvt --loginShell --color1 118far greater than those listed. For example: `urxvt --loginShell --color1
120Orange'.</p> 119Orange'.</p>
121<p>The following options are available:</p> 120<p>The following options are available:</p>
122<dl> 121<dl>
123<dt><strong><a name="item__2dhelp_2c__2d_2dhelp"><strong>-help</strong>, <strong>--help</strong></a></strong><br /> 122<dt><strong><a name="item__2dhelp_2c__2d_2dhelp"><strong>-help</strong>, <strong>--help</strong></a></strong><br />
124</dt> 123</dt>
183used to brighten or darken the image in addition to tinting it; resource 182used to brighten or darken the image in addition to tinting it; resource
184<em>tintColor</em>. Example: 183<em>tintColor</em>. Example:
185</dd> 184</dd>
186<dd> 185<dd>
187<pre> 186<pre>
188 rxvt -tr -tint blue -sh 40</pre> 187 urxvt -tr -tint blue -sh 40</pre>
189</dd> 188</dd>
190<p></p> 189<p></p>
191<dt><strong><a name="item__2dsh"><strong>-sh</strong></a></strong><br /> 190<dt><strong><a name="item__2dsh"><strong>-sh</strong></a></strong><br />
192</dt> 191</dt>
193<dd> 192<dd>
244<p></p> 243<p></p>
245<dt><strong><a name="item__2dfn_fontlist"><strong>-fn</strong> <em>fontlist</em></a></strong><br /> 244<dt><strong><a name="item__2dfn_fontlist"><strong>-fn</strong> <em>fontlist</em></a></strong><br />
246</dt> 245</dt>
247<dd> 246<dd>
248Select the fonts to be used. This is a comma separated list of font names 247Select the fonts to be used. This is a comma separated list of font names
249that are used in turn when trying to display Unicode characters. The 248that are checked in order when trying to find glyphs for characters. The
250first font defines the cell size for characters; other fonts might be 249first font defines the cell size for characters; other fonts might be
251smaller, but not (in general) larger. A (hopefully) reasonable default 250smaller, but not (in general) larger. A (hopefully) reasonable default
252font list is always appended to it. See resource <strong>font</strong> for more details. 251font list is always appended to it. See resource <strong>font</strong> for more details.
253</dd> 252</dd>
254<dd> 253<dd>
256with <code>x:</code>. To specify an XFT-font, you need to prefix it with <code>xft:</code>, 255with <code>x:</code>. To specify an XFT-font, you need to prefix it with <code>xft:</code>,
257e.g.:</p> 256e.g.:</p>
258</dd> 257</dd>
259<dd> 258<dd>
260<pre> 259<pre>
261 rxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=15&quot; 260 urxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=15&quot;
262 rxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot;</pre> 261 urxvt -fn &quot;9x15bold,xft:Bitstream Vera Sans Mono&quot;</pre>
263</dd> 262</dd>
264<dd> 263<dd>
265<p>See also the question ``How does rxvt-unicode choose fonts?'' in the FAQ 264<p>See also the question ``How does rxvt-unicode choose fonts?'' in the FAQ
266section of rxvt(7).</p> 265section of urxvt(7).</p>
267</dd> 266</dd>
268<p></p> 267<p></p>
269<dt><strong><a name="item__2dfb_fontlist"><strong>-fb</strong> <em>fontlist</em></a></strong><br /> 268<dt><strong><a name="item__2dfb_fontlist"><strong>-fb</strong> <em>fontlist</em></a></strong><br />
270</dt> 269</dt>
271<dd> 270<dd>
272Compile font-styles: The bold font list to use when bold characters are to 271Compile <em>font-styles</em>: The bold font list to use when <strong>bold</strong> characters
273be printed. See resource <strong>boldFont</strong> for details. 272are to be printed. See resource <strong>boldFont</strong> for details.
274</dd> 273</dd>
275<p></p> 274<p></p>
276<dt><strong><a name="item__2dfi_fontlist"><strong>-fi</strong> <em>fontlist</em></a></strong><br /> 275<dt><strong><a name="item__2dfi_fontlist"><strong>-fi</strong> <em>fontlist</em></a></strong><br />
277</dt> 276</dt>
278<dd> 277<dd>
279Compile font-styles: The italic font list to use when bold characters are to 278Compile <em>font-styles</em>: The italic font list to use when <em>italic</em>
280be printed. See resource <strong>italicFont</strong> for details. 279characters are to be printed. See resource <strong>italicFont</strong> for details.
281</dd> 280</dd>
282<p></p> 281<p></p>
283<dt><strong><a name="item__2dfbi_fontlist"><strong>-fbi</strong> <em>fontlist</em></a></strong><br /> 282<dt><strong><a name="item__2dfbi_fontlist"><strong>-fbi</strong> <em>fontlist</em></a></strong><br />
284</dt> 283</dt>
285<dd> 284<dd>
286Compile font-styles: The bold italic font list to use when bold characters are to 285Compile <em>font-styles</em>: The bold italic font list to use when <strong><em>bold
287be printed. See resource <strong>boldItalicFont</strong> for details. 286italic</em> </strong>&gt; characters are to be printed. See resource <strong>boldItalicFont</strong>
287for details.
288</dd>
289<p></p>
290<dt><strong><a name="item__2dis_7c_2bis"><strong>-is</strong>|<strong>+is</strong></a></strong><br />
291</dt>
292<dd>
293Compile <em>font-styles</em>: Bold/Italic font styles imply high intensity
294foreground/background (default). See resource <strong>intensityStyles</strong> for
295details.
288</dd> 296</dd>
289<p></p> 297<p></p>
290<dt><strong><a name="item__2dname_name"><strong>-name</strong> <em>name</em></a></strong><br /> 298<dt><strong><a name="item__2dname_name"><strong>-name</strong> <em>name</em></a></strong><br />
291</dt> 299</dt>
292<dd> 300<dd>
407Compile <em>frills</em>: Set MWM hints to request a borderless window, i.e. 415Compile <em>frills</em>: Set MWM hints to request a borderless window, i.e.
408if honoured by the WM, the rxvt-unicode window will not have window 416if honoured by the WM, the rxvt-unicode window will not have window
409decorations; resource <strong>borderLess</strong>. 417decorations; resource <strong>borderLess</strong>.
410</dd> 418</dd>
411<p></p> 419<p></p>
420<dt><strong><a name="item__2dsbg"><strong>-sbg</strong></a></strong><br />
421</dt>
422<dd>
423Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
424drawing characters and just rely on what the specified fonts provide. Use
425this if you have a good font and want to use its block graphic glyphs;
426resource <strong>skipBuiltinGlyphs</strong>.
427</dd>
428<p></p>
412<dt><strong><a name="item__2dlsp_number"><strong>-lsp</strong> <em>number</em></a></strong><br /> 429<dt><strong><a name="item__2dlsp_number"><strong>-lsp</strong> <em>number</em></a></strong><br />
413</dt> 430</dt>
414<dd> 431<dd>
415Compile <em>frills</em>: Lines (pixel height) to insert between each row of 432Compile <em>frills</em>: Lines (pixel height) to insert between each row of
416the display. Useful to work around font rendering problems; resource 433the display. Useful to work around font rendering problems; resource
427</dd> 444</dd>
428<p></p> 445<p></p>
429<dt><strong><a name="item__2de_command__5barguments_5d"><strong>-e</strong> <em>command [arguments]</em></a></strong><br /> 446<dt><strong><a name="item__2de_command__5barguments_5d"><strong>-e</strong> <em>command [arguments]</em></a></strong><br />
430</dt> 447</dt>
431<dd> 448<dd>
432Run the command with its command-line arguments in the <strong>rxvt</strong> 449Run the command with its command-line arguments in the <strong>urxvt</strong>
433window; also sets the window title and icon name to be the basename of 450window; also sets the window title and icon name to be the basename of
434the program being executed if neither <em>-title</em> (<em>-T</em>) nor <em>-n</em> are 451the program being executed if neither <em>-title</em> (<em>-T</em>) nor <em>-n</em> are
435given on the command line. If this option is used, it must be the last 452given on the command line. If this option is used, it must be the last
436on the command-line. If there is no <strong>-e</strong> option then the default is to 453on the command-line. If there is no <strong>-e</strong> option then the default is to
437run the program specified by the <strong>SHELL</strong> environment variable or, 454run the program specified by the <strong>SHELL</strong> environment variable or,
438failing that, <em>sh(1)</em>. 455failing that, <em>sh(1)</em>.
439</dd> 456</dd>
457<dd>
458<p>Please note that you must specify a program with arguments. If you want to
459run shell commands, you have to specify the shell, like this:</p>
460</dd>
461<dd>
462<pre>
463 urxvt -e sh -c &quot;shell commands&quot;</pre>
464</dd>
440<p></p> 465<p></p>
441<dt><strong><a name="item__2dtitle_text"><strong>-title</strong> <em>text</em></a></strong><br /> 466<dt><strong><a name="item__2dtitle_text"><strong>-title</strong> <em>text</em></a></strong><br />
442</dt> 467</dt>
443<dd> 468<dd>
444Window title (<strong>-T</strong> still respected); the default title is the basename 469Window title (<strong>-T</strong> still respected); the default title is the basename
525<dd> 550<dd>
526Turn on/off secondary screen scroll (default enabled); resource 551Turn on/off secondary screen scroll (default enabled); resource
527<strong>secondaryScroll</strong>. 552<strong>secondaryScroll</strong>.
528</dd> 553</dd>
529<p></p> 554<p></p>
555<dt><strong><a name="item__2dhold_7c_2bhold"><strong>-hold</strong>|<strong>+hold</strong></a></strong><br />
556</dt>
557<dd>
558Turn on/off hold window after exit support. If enabled, urxvt
559will not immediately destroy its window when the program executed within
560it exits. Instead, it will wait till it is being killed or closed by the
561user; resource <strong>hold</strong>.
562</dd>
563<p></p>
530<dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br /> 564<dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br />
531</dt> 565</dt>
532<dd> 566<dd>
533Remap a key symbol. See resource <strong>keysym</strong>. 567Remap a key symbol. See resource <strong>keysym</strong>.
534</dd> 568</dd>
535<p></p> 569<p></p>
536<dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br /> 570<dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br />
537</dt> 571</dt>
538<dd> 572<dd>
539Tells rxvt to embed it's windows into an already-existing window, 573Tells urxvt to embed it's windows into an already-existing window,
540which enables applications to easily embed a terminal. 574which enables applications to easily embed a terminal.
541</dd> 575</dd>
542<dd> 576<dd>
543<p>Right now, rxvt will first unmap/map the specified window, so it 577<p>Right now, urxvt will first unmap/map the specified window, so it
544shouldn't be a top-level window. rxvt will also reconfigure it 578shouldn't be a top-level window. urxvt will also reconfigure it
545quite a bit, so don't expect it to keep some specific state. It's best to 579quite a bit, so don't expect it to keep some specific state. It's best to
546create an extra subwindow for rxvt and leave it alone.</p> 580create an extra subwindow for urxvt and leave it alone.</p>
547</dd>
548<dd> 581</dd>
582<dd>
549<p>The window will not be destroyed when rxvt exits.</p> 583<p>The window will not be destroyed when urxvt exits.</p>
550</dd>
551<dd> 584</dd>
585<dd>
552<p>It might be useful to know that rxvt will not close file 586<p>It might be useful to know that urxvt will not close file
553descriptors passed to it (except for stdin/out/err, of course), so you 587descriptors passed to it (except for stdin/out/err, of course), so you
554can use file descriptors to communicate with the programs within the 588can use file descriptors to communicate with the programs within the
555terminal. This works regardless of wether the <code>-embed</code> option was used or 589terminal. This works regardless of wether the <code>-embed</code> option was used or
556not.</p> 590not.</p>
557</dd> 591</dd>
562<dd> 596<dd>
563<pre> 597<pre>
564 my $rxvt = new Gtk2::Socket; 598 my $rxvt = new Gtk2::Socket;
565 $rxvt-&gt;signal_connect_after (realize =&gt; sub { 599 $rxvt-&gt;signal_connect_after (realize =&gt; sub {
566 my $xid = $_[0]-&gt;window-&gt;get_xid; 600 my $xid = $_[0]-&gt;window-&gt;get_xid;
567 system &quot;rxvt -embed $xid &amp;&quot;; 601 system &quot;urxvt -embed $xid &amp;&quot;;
568 });</pre> 602 });</pre>
569</dd> 603</dd>
570<p></p> 604<p></p>
571<dt><strong><a name="item__2dpty_2dfd_fileno"><strong>-pty-fd</strong> <em>fileno</em></a></strong><br /> 605<dt><strong><a name="item__2dpty_2dfd_file_descriptor"><strong>-pty-fd</strong> <em>file descriptor</em></a></strong><br />
572</dt> 606</dt>
573<dd> 607<dd>
574Tells rxvt NOT to execute any commands or create a new pty/tty 608Tells urxvt NOT to execute any commands or create a new pty/tty
575pair but instead use the given filehandle as the tty master. This is 609pair but instead use the given filehandle as the tty master. This is
576useful if you want to drive rxvt as a generic terminal emulator 610useful if you want to drive urxvt as a generic terminal emulator
577without having to run a program within it. 611without having to run a program within it.
578</dd> 612</dd>
579<dd> 613<dd>
580<p>If this switch is given, rxvt will not create any utmp/wtmp 614<p>If this switch is given, urxvt will not create any utmp/wtmp
581entries and will not tinker with pty/tty permissions - you have to do that 615entries and will not tinker with pty/tty permissions - you have to do that
582yourself if you want that.</p> 616yourself if you want that.</p>
617</dd>
618<dd>
619<p>As an extremely special case, specifying <code>-1</code> will completely suppress
620pty/tty operations.</p>
583</dd> 621</dd>
584<dd> 622<dd>
585<p>Here is a example in perl that illustrates how this option can be used (a 623<p>Here is a example in perl that illustrates how this option can be used (a
586longer example is in <em>doc/pty-fd</em>):</p> 624longer example is in <em>doc/pty-fd</em>):</p>
587</dd> 625</dd>
592</dd> 630</dd>
593<dd> 631<dd>
594<pre> 632<pre>
595 my $pty = new IO::Pty; 633 my $pty = new IO::Pty;
596 fcntl $pty, F_SETFD, 0; # clear close-on-exec 634 fcntl $pty, F_SETFD, 0; # clear close-on-exec
597 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;; 635 system &quot;urxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
598 close $pty;</pre> 636 close $pty;</pre>
599</dd> 637</dd>
600<dd> 638<dd>
601<pre> 639<pre>
602 # now communicate with rxvt 640 # now communicate with rxvt
603 my $slave = $pty-&gt;slave; 641 my $slave = $pty-&gt;slave;
604 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre> 642 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre>
643</dd>
644<p></p>
645<dt><strong><a name="item__2dpe_string"><strong>-pe</strong> <em>string</em></a></strong><br />
646</dt>
647<dd>
648Comma-separated list of perl extension scripts to use (or not to use) in
649this terminal instance. See resource <strong>perl-ext</strong> for details.
605</dd> 650</dd>
606<p></p></dl> 651<p></p></dl>
607<p> 652<p>
608</p> 653</p>
609<hr /> 654<hr />
610<h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1> 655<h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1>
611<p>Note: `rxvt --help' gives a list of all resources (long 656<p>Note: `urxvt --help' gives a list of all resources (long
612options) compiled into your version.</p> 657options) compiled into your version.</p>
613<p>There are two different methods that rxvt can use to get the 658<p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many
614Xresource data: using the X libraries (Xrm*-functions) or internal
615Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie.
616<strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the
617resources using X11 tools like <strong>xrdb</strong>. Many distribution do also load
618settings from the <strong>~/.Xresources</strong> file when X starts. rxvt 659distribution do also load settings from the <strong>~/.Xresources</strong> file when X
619will consult the following files/resources in order, with later settings 660starts. urxvt will consult the following files/resources in order,
620overwriting earlier ones:</p> 661with later settings overwriting earlier ones:</p>
621<pre> 662<pre>
622 1. system-wide app-defaults file, either locale-dependent OR global 663 1. system-wide app-defaults file, either locale-dependent OR global
623 2. app-defaults file in $XAPPLRESDIR 664 2. app-defaults file in $XAPPLRESDIR
624 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 665 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
625 4. SCREEN_RESOURCES for the current screen 666 4. SCREEN_RESOURCES for the current screen
626 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre> 667 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre>
627<p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong>
628lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults
629set in XAPPLOADDIR/URxvt (compile-time defined: usually
630<strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in
631<strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist.
632Note that when reading X resources, <strong>rxvt</strong> recognizes two 668<p>Note that when reading X resources, <strong>urxvt</strong> recognizes two class
633class names: <strong>XTerm</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows 669names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources
634resources common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be 670common to both <strong>urxvt</strong> and the original <em>rxvt</em> to be easily
635easily configured, while the class name <strong>URxvt</strong> allows resources 671configured, while the class name <strong>URxvt</strong> allows resources unique to
636unique to <strong>rxvt</strong>, notably colours and key-handling, to be 672<strong>urxvt</strong>, to be shared between different <strong>urxvt</strong>
637shared between different <strong>rxvt</strong> configurations. If no 673configurations. If no resources are specified, suitable defaults will
638resources are specified, suitable defaults will be used. Command-line 674be used. Command-line arguments can be used to override resource
639arguments can be used to override resource settings. The following 675settings. The following resources are supported (you might want to
640resources are allowed:</p> 676check the <code>urxvtperl(3)</code> manpage for additional settings by perl
677extensions not documented here):</p>
641<dl> 678<dl>
642<dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br /> 679<dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br />
643</dt> 680</dt>
644<dd> 681<dd>
645Create the window with the specified X window geometry [default 80x24]; 682Create the window with the specified X window geometry [default 80x24];
6703=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour 7073=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour
671names used are listed in the <strong>COLORS AND GRAPHICS</strong> section. 708names used are listed in the <strong>COLORS AND GRAPHICS</strong> section.
672</dd> 709</dd>
673<dd> 710<dd>
674<p>Colours higher than 15 cannot be set using resources (yet), but can be 711<p>Colours higher than 15 cannot be set using resources (yet), but can be
675changed using an escape command (see rxvt(7)).</p> 712changed using an escape command (see urxvt(7)).</p>
676</dd> 713</dd>
677<dd> 714<dd>
678<p>Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with 715<p>Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with
67988 colour support). Colours 80-87 are evenly spaces grey steps.</p> 71688 colour support). Colours 80-87 are evenly spaces grey steps.</p>
680</dd> 717</dd>
827</dd> 864</dd>
828<p></p> 865<p></p>
829<dt><strong><a name="item_font_3a_fontlist"><strong>font:</strong> <em>fontlist</em></a></strong><br /> 866<dt><strong><a name="item_font_3a_fontlist"><strong>font:</strong> <em>fontlist</em></a></strong><br />
830</dt> 867</dt>
831<dd> 868<dd>
832Select the fonts to be used. This is a comma separated list of font 869Select the fonts to be used. This is a comma separated list of font names
833names that are used in turn when trying to display Unicode characters. 870that are checked in order when trying to find glyphs for characters. The
834The first font defines the cell size for characters; other fonts might 871first font defines the cell size for characters; other fonts might be
835be smaller, but not larger. A reasonable default font list is always 872smaller, but not (in general) larger. A (hopefully) reasonable default
836appended to it. option <strong>-fn</strong>. 873font list is always appended to it; option <strong>-fn</strong>.
837</dd> 874</dd>
838<dd> 875<dd>
839<p>Each font can either be a standard X11 core font (XLFD) name, with 876<p>Each font can either be a standard X11 core font (XLFD) name, with
840optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p> 877optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p>
841</dd> 878</dd>
902<dd> 939<dd>
903<p>If set, but empty, then this specific style is disabled and the normal 940<p>If set, but empty, then this specific style is disabled and the normal
904text font will being used for the given style.</p> 941text font will being used for the given style.</p>
905</dd> 942</dd>
906<p></p> 943<p></p>
944<dt><strong><a name="item_intensitystyles_3a_boolean"><strong>intensityStyles:</strong> <em>boolean</em></a></strong><br />
945</dt>
946<dd>
947When font styles are not enabled, or this option is enabled (<strong>True</strong>,
948option <strong>-is</strong>, the default), bold and italic font styles imply high
949intensity foreground/backround colours. Disabling this option (<strong>False</strong>,
950option <strong>+is</strong>) disables this behaviour, the high intensity colours are not
951reachable.
952</dd>
953<p></p>
907<dt><strong><a name="item_selectstyle_3a_mode"><strong>selectstyle:</strong> <em>mode</em></a></strong><br /> 954<dt><strong><a name="item_selectstyle_3a_mode"><strong>selectstyle:</strong> <em>mode</em></a></strong><br />
908</dt> 955</dt>
909<dd> 956<dd>
910Set mouse selection style to <strong>old</strong> which is 2.20, <strong>oldword</strong> which is 957Set mouse selection style to <strong>old</strong> which is 2.20, <strong>oldword</strong> which is
911xterm style with 2.20 old word selection, or anything else which gives 958xterm style with 2.20 old word selection, or anything else which gives
1066<dd> 1113<dd>
1067Set MWM hints to request a borderless window, i.e. if honoured by the 1114Set MWM hints to request a borderless window, i.e. if honoured by the
1068WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>. 1115WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>.
1069</dd> 1116</dd>
1070<p></p> 1117<p></p>
1118<dt><strong><a name="item_skipbuiltinglyphs_3a_boolean"><strong>skipBuiltinGlyphs:</strong> <em>boolean</em></a></strong><br />
1119</dt>
1120<dd>
1121Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
1122drawing characters and just rely on what the specified fonts provide. Use
1123this if you have a good font and want to use its block graphic glyphs;
1124option <strong>-sbg</strong>.
1125</dd>
1126<p></p>
1071<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br /> 1127<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br />
1072</dt> 1128</dt>
1073<dd> 1129<dd>
1074Specifies the terminal type name to be set in the <strong>TERM</strong> environment 1130Specifies the terminal type name to be set in the <strong>TERM</strong> environment
1075variable; option <strong>-tn</strong>. 1131variable; option <strong>-tn</strong>.
1180</dt> 1236</dt>
1181<dd> 1237<dd>
1182The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g. 1238The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
1183<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the 1239<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
1184input extension to be able to input japanese characters while staying in 1240input extension to be able to input japanese characters while staying in
1185another locale. option <strong>-imlocale</strong>. 1241another locale; option <strong>-imlocale</strong>.
1186</dd> 1242</dd>
1187<p></p> 1243<p></p>
1188<dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br /> 1244<dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br />
1189</dt> 1245</dt>
1190<dd> 1246<dd>
1191Specify the font-set used for XIM styles <code>OverTheSpot</code> or 1247Specify the font-set used for XIM styles <code>OverTheSpot</code> or
1192<code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated 1248<code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated
1193by commas), i.e. it's not in the same format as the other font lists used 1249by commas), i.e. it's not in the same format as the other font lists used
1194in rxvt. The default will be set-up to chose *any* suitable found 1250in urxvt. The default will be set-up to chose *any* suitable found
1195found, preferably one or two pixels differing in size to the base font. 1251found, preferably one or two pixels differing in size to the base font.
1196option <strong>-imfont</strong>. 1252option <strong>-imfont</strong>.
1197</dd> 1253</dd>
1198<p></p> 1254<p></p>
1199<dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br /> 1255<dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br />
1200</dt> 1256</dt>
1201<dd> 1257<dd>
1202Change the meaning of triple-click selection with the left mouse 1258Change the meaning of triple-click selection with the left mouse
1203button. Instead of selecting a full line it will extend the selection to 1259button. Instead of selecting a full line it will extend the selection to
1204the end of the logical line only. option <strong>-tcw</strong>. 1260the end of the logical line only; option <strong>-tcw</strong>.
1205</dd> 1261</dd>
1206<p></p> 1262<p></p>
1207<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br /> 1263<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br />
1208</dt> 1264</dt>
1209<dd> 1265<dd>
1210Enables ``insecure'' mode. Rxvt-unicode offers some escape sequences that 1266Enables ``insecure'' mode. Rxvt-unicode offers some escape sequences that
1211echo arbitrary strings like the icon name or the locale. This could be 1267echo arbitrary strings like the icon name or the locale. This could be
1212abused if somebody gets 8-bit-clean access to your display, whether 1268abused if somebody gets 8-bit-clean access to your display, whether
1213throuh a mail client displaying mail bodies unfiltered or though 1269through a mail client displaying mail bodies unfiltered or through
1214write(1). Therefore, these sequences are disabled by default. (Note 1270<code>write(1)</code> or any other means. Therefore, these sequences are disabled by
1215that other terminals, including xterm, have these sequences 1271default. (Note that many other terminals, including xterm, have these
1216enabled by default). You can enable them by setting this boolean 1272sequences enabled by default, which doesn't make it safer, though).
1217resource or specifying <strong>-insecure</strong> as an option. At the moment, this 1273</dd>
1218enabled display-answer, locale, findfont, icon label and window title 1274<dd>
1219requests as well as dynamic menubar dispatch. 1275<p>You can enable them by setting this boolean resource or specifying
1276<strong>-insecure</strong> as an option. At the moment, this enables display-answer,
1277locale, findfont, icon label and window title requests as well as dynamic
1278menubar dispatch.</p>
1220</dd> 1279</dd>
1221<p></p> 1280<p></p>
1222<dt><strong><a name="item_modifier_3a_modifier"><strong>modifier:</strong> <em>modifier</em></a></strong><br /> 1281<dt><strong><a name="item_modifier_3a_modifier"><strong>modifier:</strong> <em>modifier</em></a></strong><br />
1223</dt> 1282</dt>
1224<dd> 1283<dd>
1246<dd> 1305<dd>
1247Turn on/off secondary screen scroll (default enabled). If the this 1306Turn on/off secondary screen scroll (default enabled). If the this
1248option is enabled, scrolls on the secondary screen will change the 1307option is enabled, scrolls on the secondary screen will change the
1249scrollback buffer and switching to/from the secondary screen will 1308scrollback buffer and switching to/from the secondary screen will
1250instead scroll the screen up. 1309instead scroll the screen up.
1310</dd>
1311<p></p>
1312<dt><strong><a name="item_hold_3a_bool"><strong>hold</strong>: <em>bool</em></a></strong><br />
1313</dt>
1314<dd>
1315Turn on/off hold window after exit support. If enabled, urxvt
1316will not immediately destroy its window when the program executed within
1317it exits. Instead, it will wait till it is being killed or closed by the
1318user.
1251</dd> 1319</dd>
1252<p></p> 1320<p></p>
1253<dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> 1321<dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br />
1254</dt> 1322</dt>
1255<dd> 1323<dd>
1282<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete, 1350<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1283<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it 1351<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1284can start or end with whitespace.</p> 1352can start or end with whitespace.</p>
1285</dd> 1353</dd>
1286<dd> 1354<dd>
1287<p>Please note that you need to double the <code>\</code> when using 1355<p>Please note that you need to double the <code>\</code> in resource files, as
1288<code>--enable-xgetdefault</code>, as X itself does it's own de-escaping (you can 1356Xlib itself does it's own de-escaping (you can use <code>\033</code> instead of
1289use <code>\033</code> instead of <code>\e</code> (and so on), which will work with both Xt and 1357<code>\e</code> (and so on), which will work with both Xt and urxvt's own
1290rxvt's own processing).</p> 1358processing).</p>
1291</dd> 1359</dd>
1292<dd> 1360<dd>
1293<p>You can define a range of keysyms in one shot by providing a <em>string</em> 1361<p>You can define a range of keysyms in one shot by providing a <em>string</em>
1294with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/' 1362with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/'
1295should be a character not used by the strings.</p> 1363should be a character not used by the strings.</p>
1310 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt; 1378 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt;
1311 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;</pre> 1379 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;</pre>
1312</dd> 1380</dd>
1313<dd> 1381<dd>
1314<p>If <em>string</em> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong> 1382<p>If <em>string</em> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong>
1315is interpreted and executed as rxvt's control sequence. For 1383is interpreted and executed as urxvt's control sequence. For
1316example the following means ``change the current locale to <code>zh_CN.GBK</code> 1384example the following means ``change the current locale to <code>zh_CN.GBK</code>
1317when Control-Meta-c is being pressed'':</p> 1385when Control-Meta-c is being pressed'':</p>
1318</dd> 1386</dd>
1319<dd> 1387<dd>
1320<pre> 1388<pre>
1321 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> 1389 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1390</dd>
1391<dd>
1392<p>If <em>string</em> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong>
1393is passed to the <code>on_keyboard_command</code> perl handler. See the <code>urxvtperl(3)</code>
1394manpage. For example, the <em>selection</em> extension (activated via
1395<code>urxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p>
1396</dd>
1397<dd>
1398<pre>
1399 URxvt.keysym.M-C-c: perl:selection:rot13</pre>
1322</dd> 1400</dd>
1323<dd> 1401<dd>
1324<p>Due the the large number of modifier combinations, a defined key mapping 1402<p>Due the the large number of modifier combinations, a defined key mapping
1325will match if at <em>at least</em> the specified identifiers are being set, and 1403will match if at <em>at least</em> the specified identifiers are being set, and
1326no other key mappings with those and more bits are being defined. That 1404no other key mappings with those and more bits are being defined. That
1328definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined 1406definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined
1329mappings themselves.</p> 1407mappings themselves.</p>
1330</dd> 1408</dd>
1331<dd> 1409<dd>
1332<p>Unfortunately, this will override built-in key mappings. For example 1410<p>Unfortunately, this will override built-in key mappings. For example
1333if you overwrite the <code>Insert</code> key you will disable rxvt's 1411if you overwrite the <code>Insert</code> key you will disable urxvt's
1334<code>Shift-Insert</code> mapping. To re-enable that, you can poke ``holes'' into the 1412<code>Shift-Insert</code> mapping. To re-enable that, you can poke ``holes'' into the
1335user-defined keymap using the <code>builtin:</code> replacement:</p> 1413user-defined keymap using the <code>builtin:</code> replacement:</p>
1336</dd> 1414</dd>
1337<dd> 1415<dd>
1338<pre> 1416<pre>
1353<pre> 1431<pre>
1354 URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 1432 URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007
1355 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007</pre> 1433 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007</pre>
1356</dd> 1434</dd>
1357<dd> 1435<dd>
1358<p>Other things are possible, e.g. resizing (see <code>rxvt(7)</code> for more 1436<p>Other things are possible, e.g. resizing (see <code>urxvt(7)</code> for more
1359info):</p> 1437info):</p>
1360</dd> 1438</dd>
1361<dd> 1439<dd>
1362<pre> 1440<pre>
1363 URxvt.keysym.M-C-3: command:\033[8;25;80t 1441 URxvt.keysym.M-C-3: command:\033[8;25;80t
1364 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre> 1442 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1443</dd>
1444<p></p>
1445<dt><strong><a name="item_perl_2dext_2dcommon_3a_string"><strong>perl-ext-common</strong>: <em>string</em></a></strong><br />
1446</dt>
1447<dt><strong><a name="item_perl_2dext_3a_string"><strong>perl-ext</strong>: <em>string</em></a></strong><br />
1448</dt>
1449<dd>
1450Comma-separated <code>list(s)</code> of perl extension scripts (default: <code>default</code>) to
1451use in this terminal instance; option <strong>-pe</strong>.
1452</dd>
1453<dd>
1454<p>Extension names can be prefixed with a <code>-</code> sign to prohibit using
1455them. This can be useful to selectively disable some extensions loaded
1456by default, or specified via the <code>perl-ext-common</code> resource. For
1457example, <code>default,-selection</code> will use all the default extension except
1458<code>selection</code>.</p>
1459</dd>
1460<dd>
1461<p>Extension names can also be followed by an argument in angle brackets
1462(e.g. <code>searchable-scrollback&lt;M-s&gt;</code>, which binds the hotkey for
1463searchable scorllback to Alt/Meta-s). Mentioning the same extension
1464multiple times with different arguments will pass multiple arguments to
1465the extension.</p>
1466</dd>
1467<dd>
1468<p>Each extension is looked up in the library directories, loaded if
1469necessary, and bound to the current terminal instance.</p>
1470</dd>
1471<dd>
1472<p>If both of these resources are the empty string, then the perl
1473interpreter will not be initialized. The idea behind two options is that
1474<strong>perl-ext-common</strong> will be used for extensions that should be available to
1475all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1476</dd>
1477<p></p>
1478<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br />
1479</dt>
1480<dd>
1481Perl code to be evaluated when all extensions have been registered. See
1482the <code>urxvtperl(3)</code> manpage. Due to security reasons, this resource
1483will be ignored when running setuid/setgid.
1484</dd>
1485<p></p>
1486<dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br />
1487</dt>
1488<dd>
1489Colon-separated list of additional directories that hold extension
1490scripts. When looking for extensions specified by the <code>perl</code> resource,
1491urxvt will first look in these directories and then in
1492<em>/usr/local/lib/urxvt/perl/</em>. Due to security reasons, this resource
1493will be ignored when running setuid/setgid.
1494</dd>
1495<dd>
1496<p>See the <code>urxvtperl(3)</code> manpage.</p>
1497</dd>
1498<p></p>
1499<dt><strong><a name="item_selection_2epattern_2didx_3a_perl_2dregex"><strong>selection.pattern-<em>idx</em> </strong>&gt;: <em>perl-regex</em></a></strong><br />
1500</dt>
1501<dd>
1502Additional selection patterns, see the <code>urxvtperl(3)</code> manpage for
1503details.
1504</dd>
1505<p></p>
1506<dt><strong><a name="item_selection_2dautotransform_2eidx_3a_perl_2dtransfor"><strong>selection-autotransform.<em>idx</em> </strong>&gt;: <em>perl-transform</em></a></strong><br />
1507</dt>
1508<dd>
1509Selection auto-transform patterns, see the <code>urxvtperl(3)</code> manpage
1510for details.
1511</dd>
1512<p></p>
1513<dt><strong><a name="item_searchable_2dscrollback_3a_keysym"><strong>searchable-scrollback:</strong> <em>keysym</em></a></strong><br />
1514</dt>
1515<dd>
1516Sets the hotkey that starts the incremental scrollback buffer search
1517(default: <code>M-s</code>).
1518</dd>
1519<p></p>
1520<dt><strong><a name="item_urllauncher_3a_string"><strong>urlLauncher</strong>: <em>string</em></a></strong><br />
1521</dt>
1522<dd>
1523Specifies the program to be started with a URL argument. Used by the
1524<code>selection-popup</code> and <code>mark-urls</code> perl extensions.
1525</dd>
1526<p></p>
1527<dt><strong><a name="item_transient_2dfor_3a_windowid"><strong>transient-for</strong>: <em>windowid</em></a></strong><br />
1528</dt>
1529<dd>
1530Sets the WM_TRANSIENT_FOR property to the given window iw.
1365</dd> 1531</dd>
1366<p></p></dl> 1532<p></p></dl>
1367<p> 1533<p>
1368</p> 1534</p>
1369<hr /> 1535<hr />
1370<h1><a name="the_scrollbar">THE SCROLLBAR</a></h1> 1536<h1><a name="the_scrollbar">THE SCROLLBAR</a></h1>
1371<p>Lines of text that scroll off the top of the <strong>rxvt</strong> window 1537<p>Lines of text that scroll off the top of the <strong>urxvt</strong> window
1372(resource: <strong>saveLines</strong>) and can be scrolled back using the scrollbar 1538(resource: <strong>saveLines</strong>) and can be scrolled back using the scrollbar
1373or by keystrokes. The normal <strong>rxvt</strong> scrollbar has arrows and 1539or by keystrokes. The normal <strong>urxvt</strong> scrollbar has arrows and
1374its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without 1540its behaviour is fairly intuitive. The <strong>xterm-scrollbar</strong> is without
1375arrows and its behaviour mimics that of <em>xterm</em></p> 1541arrows and its behaviour mimics that of <em>xterm</em></p>
1376<p>Scroll down with <strong>Button1</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Next</strong>. 1542<p>Scroll down with <strong>Button1</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Next</strong>.
1377Scroll up with <strong>Button3</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Prior</strong>. 1543Scroll up with <strong>Button3</strong> (<strong>xterm-scrollbar</strong>) or <strong>Shift-Prior</strong>.
1378Continuous scroll with <strong>Button2</strong>.</p> 1544Continuous scroll with <strong>Button2</strong>.</p>
1405(which can span multiple screen lines), unless modified by resource 1571(which can span multiple screen lines), unless modified by resource
1406<strong>tripleclickwords</strong>. 1572<strong>tripleclickwords</strong>.
1407</dd> 1573</dd>
1408<dd> 1574<dd>
1409<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys) 1575<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys)
1410(Compile: <em>frills</em>) will create a rectangular selection instead of a normal 1576(Compile: <em>frills</em>) will create a rectangular selection instead of a
1411one.</p> 1577normal one. In this mode, every selected row becomes its own line in the
1578selection, and trailing whitespace is visually underlined and removed from
1579the selection.</p>
1412</dd> 1580</dd>
1413<p></p> 1581<p></p>
1414<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br /> 1582<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br />
1415</dt> 1583</dt>
1416<dd> 1584<dd>
1417Pressing and releasing the Middle mouse button (or <strong>Shift-Insert</strong>) in 1585Pressing and releasing the Middle mouse button (or <strong>Shift-Insert</strong>) in
1418an <strong>rxvt</strong> window causes the current text selection to be 1586an <strong>urxvt</strong> window causes the current text selection to be
1419inserted as if it had been typed on the keyboard. 1587inserted as if it had been typed on the keyboard.
1420</dd> 1588</dd>
1421<p></p></dl> 1589<p></p></dl>
1422<p> 1590<p>
1423</p> 1591</p>
1426<p>Changing fonts (or font sizes, respectively) via the keypad is not yet 1594<p>Changing fonts (or font sizes, respectively) via the keypad is not yet
1427supported in rxvt-unicode. Bug me if you need this.</p> 1595supported in rxvt-unicode. Bug me if you need this.</p>
1428<p>You can, however, switch fonts at runtime using escape sequences (and 1596<p>You can, however, switch fonts at runtime using escape sequences (and
1429therefore using the menubar), e.g.:</p> 1597therefore using the menubar), e.g.:</p>
1430<pre> 1598<pre>
1431 printf '\e]701;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre> 1599 printf '\e]710;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre>
1432<p>rxvt-unicode will automatically re-apply these fonts to the output so far.</p> 1600<p>rxvt-unicode will automatically re-apply these fonts to the output so far.</p>
1433<p> 1601<p>
1434</p> 1602</p>
1435<hr /> 1603<hr />
1436<h1><a name="iso_14755_support">ISO 14755 SUPPORT</a></h1> 1604<h1><a name="iso_14755_support">ISO 14755 SUPPORT</a></h1>
1489both scenario A and B of ISO 14755, including part 5.2.</p> 1657both scenario A and B of ISO 14755, including part 5.2.</p>
1490<p> 1658<p>
1491</p> 1659</p>
1492<hr /> 1660<hr />
1493<h1><a name="login_stamp">LOGIN STAMP</a></h1> 1661<h1><a name="login_stamp">LOGIN STAMP</a></h1>
1494<p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so that 1662<p><strong>urxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so that
1495it can be seen via the <em>who(1)</em> command, and can accept messages. To 1663it can be seen via the <em>who(1)</em> command, and can accept messages. To
1496allow this feature, <strong>rxvt</strong> may need to be installed setuid root 1664allow this feature, <strong>urxvt</strong> may need to be installed setuid root
1497on some systems or setgid to root or to some other group on others.</p> 1665on some systems or setgid to root or to some other group on others.</p>
1498<p> 1666<p>
1499</p> 1667</p>
1500<hr /> 1668<hr />
1501<h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1> 1669<h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1>
1502<p>In addition to the default foreground and background colours, 1670<p>In addition to the default foreground and background colours,
1503<strong>rxvt</strong> can display up to 16 colours (8 ANSI colours plus 1671<strong>urxvt</strong> can display up to 16 colours (8 ANSI colours plus
1504high-intensity bold/blink versions of the same). Here is a list of the 1672high-intensity bold/blink versions of the same). Here is a list of the
1505colours with their <strong>rgb.txt</strong> names.</p> 1673colours with their <strong>rgb.txt</strong> names.</p>
1506<table> 1674<table>
1507<tr><td>color0</td><td>(black)</td><td>= Black</td></tr> 1675<tr><td>color0</td><td>(black)</td><td>= Black</td></tr>
1508<tr><td>color1</td><td>(red)</td><td>= Red3</td></tr> 1676<tr><td>color1</td><td>(red)</td><td>= Red3</td></tr>
1529<p>Note that <strong>-rv</strong> (<strong>``reverseVideo: True''</strong>) simulates reverse video by 1697<p>Note that <strong>-rv</strong> (<strong>``reverseVideo: True''</strong>) simulates reverse video by
1530always swapping the foreground/background colours. This is in contrast to 1698always swapping the foreground/background colours. This is in contrast to
1531<em>xterm</em>(1) where the colours are only swapped if they have not otherwise 1699<em>xterm</em>(1) where the colours are only swapped if they have not otherwise
1532been specified. For example,</p> 1700been specified. For example,</p>
1533<dl> 1701<dl>
1534<dt><strong><a name="item_rxvt__2dfg_black__2dbg_white__2drv"><strong>rxvt -fg Black -bg White -rv</strong></a></strong><br /> 1702<dt><strong><a name="item_urxvt__2dfg_black__2dbg_white__2drv"><strong>urxvt -fg Black -bg White -rv</strong></a></strong><br />
1535</dt> 1703</dt>
1536<dd> 1704<dd>
1537would yield White on Black, while on <em>xterm</em>(1) it would yield Black 1705would yield White on Black, while on <em>xterm</em>(1) it would yield Black
1538on White. 1706on White.
1539</dd> 1707</dd>
1540<p></p></dl> 1708<p></p></dl>
1541<p> 1709<p>
1542</p> 1710</p>
1543<hr /> 1711<hr />
1544<h1><a name="environment">ENVIRONMENT</a></h1> 1712<h1><a name="environment">ENVIRONMENT</a></h1>
1545<p><strong>rxvt</strong> sets and/or uses the following environment variables:</p> 1713<p><strong>urxvt</strong> sets and/or uses the following environment variables:</p>
1546<dl> 1714<dl>
1547<dt><strong><a name="item_term"><strong>TERM</strong></a></strong><br /> 1715<dt><strong><a name="item_term"><strong>TERM</strong></a></strong><br />
1548</dt> 1716</dt>
1549<dd> 1717<dd>
1550Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via 1718Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via
1552</dd> 1720</dd>
1553<p></p> 1721<p></p>
1554<dt><strong><a name="item_colorterm"><strong>COLORTERM</strong></a></strong><br /> 1722<dt><strong><a name="item_colorterm"><strong>COLORTERM</strong></a></strong><br />
1555</dt> 1723</dt>
1556<dd> 1724<dd>
1557Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on wether rxvt was 1725Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on wether urxvt was
1558compiled with XPM support, and optionally with the added extension 1726compiled with XPM support, and optionally with the added extension
1559<code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen. 1727<code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen.
1560</dd> 1728</dd>
1561<p></p> 1729<p></p>
1562<dt><strong><a name="item_colorfgbg"><strong>COLORFGBG</strong></a></strong><br /> 1730<dt><strong><a name="item_colorfgbg"><strong>COLORFGBG</strong></a></strong><br />
1564<dd> 1732<dd>
1565Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is 1733Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is
1566the colour code used as default foreground/text colour (or the string 1734the colour code used as default foreground/text colour (or the string
1567<code>default</code> to indicate that the default-colour escape sequence is to be 1735<code>default</code> to indicate that the default-colour escape sequence is to be
1568used), <code>bg</code> is the colour code used as default background colour (or the 1736used), <code>bg</code> is the colour code used as default background colour (or the
1569string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if rxvt 1737string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if urxvt
1570was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can 1738was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can
1571(and do) use this information to optimize screen output. 1739(and do) use this information to optimize screen output.
1572</dd> 1740</dd>
1573<p></p> 1741<p></p>
1574<dt><strong><a name="item_windowid"><strong>WINDOWID</strong></a></strong><br /> 1742<dt><strong><a name="item_windowid"><strong>WINDOWID</strong></a></strong><br />
1575</dt> 1743</dt>
1576<dd> 1744<dd>
1577Set to the (decimal) X Window ID of the rxvt window (the toplevel 1745Set to the (decimal) X Window ID of the urxvt window (the toplevel
1578window, which usually has subwindows for the scrollbar, the terminal 1746window, which usually has subwindows for the scrollbar, the terminal
1579window and so on). 1747window and so on).
1580</dd> 1748</dd>
1581<p></p> 1749<p></p>
1582<dt><strong><a name="item_terminfo"><strong>TERMINFO</strong></a></strong><br /> 1750<dt><strong><a name="item_terminfo"><strong>TERMINFO</strong></a></strong><br />
1583</dt> 1751</dt>
1584<dd> 1752<dd>
1585Set to the terminfo directory iff rxvt was configured with 1753Set to the terminfo directory iff urxvt was configured with
1586<code>--with-terminfo=PATH</code>. 1754<code>--with-terminfo=PATH</code>.
1587</dd> 1755</dd>
1588<p></p> 1756<p></p>
1589<dt><strong><a name="item_display"><strong>DISPLAY</strong></a></strong><br /> 1757<dt><strong><a name="item_display"><strong>DISPLAY</strong></a></strong><br />
1590</dt> 1758</dt>
1591<dd> 1759<dd>
1592Used by rxvt to connect to the display and set to the correct 1760Used by urxvt to connect to the display and set to the correct
1593display in it's child processes. 1761display in it's child processes.
1594</dd> 1762</dd>
1595<p></p> 1763<p></p>
1596<dt><strong><a name="item_shell"><strong>SHELL</strong></a></strong><br /> 1764<dt><strong><a name="item_shell"><strong>SHELL</strong></a></strong><br />
1597</dt> 1765</dt>
1600</dd> 1768</dd>
1601<p></p> 1769<p></p>
1602<dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br /> 1770<dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br />
1603</dt> 1771</dt>
1604<dd> 1772<dd>
1605The path where rxvt looks for support files such as menu and xpm 1773The path where urxvt looks for support files such as menu and xpm
1606files. 1774files.
1607</dd> 1775</dd>
1608<p></p> 1776<p></p>
1609<dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br /> 1777<dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br />
1610</dt> 1778</dt>
1613</dd> 1781</dd>
1614<p></p> 1782<p></p>
1615<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br /> 1783<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br />
1616</dt> 1784</dt>
1617<dd> 1785<dd>
1618The unix domain socket path used by <code>rxvtc(1)</code> and 1786The unix domain socket path used by <code>urxvtc(1)</code> and
1619rxvtd(1). 1787urxvtd(1).
1620</dd> 1788</dd>
1621<dd> 1789<dd>
1622<p>Default <em>$HOME/.rxvt-unicode-<em>&lt;nodename </em></em> &gt;&gt;&gt;.</p> 1790<p>Default <em>$HOME/.rxvt-unicode-<em>&lt;nodename </em></em> &gt;&gt;&gt;.</p>
1623</dd> 1791</dd>
1624<p></p> 1792<p></p>
1638<p></p> 1806<p></p>
1639<dt><strong><a name="item_xenvironment"><strong>XENVIRONMENT</strong></a></strong><br /> 1807<dt><strong><a name="item_xenvironment"><strong>XENVIRONMENT</strong></a></strong><br />
1640</dt> 1808</dt>
1641<dd> 1809<dd>
1642If set and accessible, gives the name of a X resource file to be loaded by 1810If set and accessible, gives the name of a X resource file to be loaded by
1643rxvt. 1811urxvt.
1644</dd> 1812</dd>
1645<p></p></dl> 1813<p></p></dl>
1646<p> 1814<p>
1647</p> 1815</p>
1648<hr /> 1816<hr />
1656<p></p></dl> 1824<p></p></dl>
1657<p> 1825<p>
1658</p> 1826</p>
1659<hr /> 1827<hr />
1660<h1><a name="see_also">SEE ALSO</a></h1> 1828<h1><a name="see_also">SEE ALSO</a></h1>
1661<p>rxvt(7), rxvtc(1), rxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p> 1829<p>urxvt(7), urxvtc(1), urxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p>
1662<p>
1663</p>
1664<hr />
1665<h1><a name="bugs">BUGS</a></h1>
1666<p>Check the BUGS file for an up-to-date list.</p>
1667<p>Cursor change support is not yet implemented.</p>
1668<p>Click-and-drag doesn't work with X11 mouse report overriding.</p>
1669<p> 1830<p>
1670</p> 1831</p>
1671<hr /> 1832<hr />
1672<h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> 1833<h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1>
1673<dl> 1834<dl>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines