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.30 by root, Mon Jan 2 19:36:07 2006 UTC vs.
Revision 1.40 by root, Tue Jan 10 04:26:54 2006 UTC

46<p><strong>rxvt</strong> [options] [-e command [ args ]]</p> 46<p><strong>rxvt</strong> [options] [-e command [ args ]]</p>
47<p> 47<p>
48</p> 48</p>
49<hr /> 49<hr />
50<h1><a name="description">DESCRIPTION</a></h1> 50<h1><a name="description">DESCRIPTION</a></h1>
51<p><strong>rxvt-unicode</strong>, version <strong>6.2</strong>, is a colour vt102 terminal 51<p><strong>rxvt-unicode</strong>, version <strong>6.3</strong>, is a colour vt102 terminal
52emulator 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
53require features such as Tektronix 4014 emulation and toolkit-style 53require features such as Tektronix 4014 emulation and toolkit-style
54configurability. 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 --
55a significant advantage on a machine serving many X sessions.</p> 55a significant advantage on a machine serving many X sessions.</p>
56<p> 56<p>
266</dd> 266</dd>
267<p></p> 267<p></p>
268<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 />
269</dt> 269</dt>
270<dd> 270<dd>
271Compile 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
272be printed. See resource <strong>boldFont</strong> for details. 272are to be printed. See resource <strong>boldFont</strong> for details.
273</dd> 273</dd>
274<p></p> 274<p></p>
275<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 />
276</dt> 276</dt>
277<dd> 277<dd>
278Compile 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>
279be printed. See resource <strong>italicFont</strong> for details. 279characters are to be printed. See resource <strong>italicFont</strong> for details.
280</dd> 280</dd>
281<p></p> 281<p></p>
282<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 />
283</dt> 283</dt>
284<dd> 284<dd>
285Compile 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
286be printed. See resource <strong>boldItalicFont</strong> for details. 286italic</em> </strong>&gt; characters are to be printed. See resource <strong>boldItalicFont</strong>
287for details.
287</dd> 288</dd>
288<p></p> 289<p></p>
289<dt><strong><a name="item__2dis_7c_2bis"><strong>-is</strong>|<strong>+is</strong></a></strong><br /> 290<dt><strong><a name="item__2dis_7c_2bis"><strong>-is</strong>|<strong>+is</strong></a></strong><br />
290</dt> 291</dt>
291<dd> 292<dd>
292Compile font-styles: Bold/Italic font styles imply high intensity 293Compile <em>font-styles</em>: Bold/Italic font styles imply high intensity
293foreground/background (default). See resource <strong>intensityStyles</strong> for 294foreground/background (default). See resource <strong>intensityStyles</strong> for
294details. 295details.
295</dd> 296</dd>
296<p></p> 297<p></p>
297<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 />
412</dt> 413</dt>
413<dd> 414<dd>
414Compile <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.
415if 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
416decorations; resource <strong>borderLess</strong>. 417decorations; resource <strong>borderLess</strong>.
418</dd>
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>.
417</dd> 427</dd>
418<p></p> 428<p></p>
419<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 />
420</dt> 430</dt>
421<dd> 431<dd>
590 my $xid = $_[0]-&gt;window-&gt;get_xid; 600 my $xid = $_[0]-&gt;window-&gt;get_xid;
591 system &quot;rxvt -embed $xid &amp;&quot;; 601 system &quot;rxvt -embed $xid &amp;&quot;;
592 });</pre> 602 });</pre>
593</dd> 603</dd>
594<p></p> 604<p></p>
595<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 />
596</dt> 606</dt>
597<dd> 607<dd>
598Tells rxvt NOT to execute any commands or create a new pty/tty 608Tells rxvt NOT to execute any commands or create a new pty/tty
599pair 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
600useful if you want to drive rxvt as a generic terminal emulator 610useful if you want to drive rxvt as a generic terminal emulator
602</dd> 612</dd>
603<dd> 613<dd>
604<p>If this switch is given, rxvt will not create any utmp/wtmp 614<p>If this switch is given, rxvt will not create any utmp/wtmp
605entries 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
606yourself 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>
607</dd> 621</dd>
608<dd> 622<dd>
609<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
610longer example is in <em>doc/pty-fd</em>):</p> 624longer example is in <em>doc/pty-fd</em>):</p>
611</dd> 625</dd>
626 # now communicate with rxvt 640 # now communicate with rxvt
627 my $slave = $pty-&gt;slave; 641 my $slave = $pty-&gt;slave;
628 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>
629</dd> 643</dd>
630<p></p> 644<p></p>
631<dt><strong><a name="item__2dperl_string"><strong>-perl</strong> <em>string</em></a></strong><br /> 645<dt><strong><a name="item__2dpe_string"><strong>-pe</strong> <em>string</em></a></strong><br />
632</dt> 646</dt>
633<dd> 647<dd>
634Used by perl extension. See resource <strong>perl</strong>. 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.
635</dd> 650</dd>
636<p></p></dl> 651<p></p></dl>
637<p> 652<p>
638</p> 653</p>
639<hr /> 654<hr />
1106<dd> 1121<dd>
1107Set MWM hints to request a borderless window, i.e. if honoured by the 1122Set MWM hints to request a borderless window, i.e. if honoured by the
1108WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>. 1123WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>.
1109</dd> 1124</dd>
1110<p></p> 1125<p></p>
1126<dt><strong><a name="item_skipbuiltinglyphs_3a_boolean"><strong>skipBuiltinGlyphs:</strong> <em>boolean</em></a></strong><br />
1127</dt>
1128<dd>
1129Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
1130drawing characters and just rely on what the specified fonts provide. Use
1131this if you have a good font and want to use its block graphic glyphs;
1132option <strong>-sbg</strong>.
1133</dd>
1134<p></p>
1111<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br /> 1135<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br />
1112</dt> 1136</dt>
1113<dd> 1137<dd>
1114Specifies the terminal type name to be set in the <strong>TERM</strong> environment 1138Specifies the terminal type name to be set in the <strong>TERM</strong> environment
1115variable; option <strong>-tn</strong>. 1139variable; option <strong>-tn</strong>.
1371<dd> 1395<dd>
1372<pre> 1396<pre>
1373 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> 1397 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1374</dd> 1398</dd>
1375<dd> 1399<dd>
1400<p>If <em>string</em> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong>
1401is passed to the <code>on_keyboard_command</code> perl handler. See the <code>rxvtperl(3)</code>
1402manpage. For example, the <em>selection</em> extension (activated via
1403<code>rxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p>
1404</dd>
1405<dd>
1406<pre>
1407 URxvt.keysym.M-C-c: perl:selection:rot13</pre>
1408</dd>
1409<dd>
1376<p>Due the the large number of modifier combinations, a defined key mapping 1410<p>Due the the large number of modifier combinations, a defined key mapping
1377will match if at <em>at least</em> the specified identifiers are being set, and 1411will match if at <em>at least</em> the specified identifiers are being set, and
1378no other key mappings with those and more bits are being defined. That 1412no other key mappings with those and more bits are being defined. That
1379means that defining a key map for <code>a</code> will automatically provide 1413means that defining a key map for <code>a</code> will automatically provide
1380definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined 1414definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined
1414<pre> 1448<pre>
1415 URxvt.keysym.M-C-3: command:\033[8;25;80t 1449 URxvt.keysym.M-C-3: command:\033[8;25;80t
1416 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre> 1450 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1417</dd> 1451</dd>
1418<p></p> 1452<p></p>
1453<dt><strong><a name="item_perl_2dext_2dcommon_3a_string"><strong>perl-ext-common</strong>: <em>string</em></a></strong><br />
1454</dt>
1419<dt><strong><a name="item_perl_3a_string"><strong>perl</strong>: <em>string</em></a></strong><br /> 1455<dt><strong><a name="item_perl_2dext_3a_string"><strong>perl-ext</strong>: <em>string</em></a></strong><br />
1420</dt> 1456</dt>
1457<dd>
1458Comma-separated <code>list(s)</code> of perl extension scripts (default: <code>default</code>) to
1459use in this terminal instance; option <strong>-pe</strong>.
1421<dd> 1460</dd>
1422Used by perl extension and is free for any use, as it is not interpreted 1461<dd>
1423by rxvt-unicode itself; option <strong>perl</strong>. 1462<p>Extension names can be prefixed with a <code>-</code> sign to prohibit using
1463them. This can be useful to selectively disable some extensions loaded
1464by default, or specified via the <code>perl-ext-common</code> resource. For
1465example, <code>default,-selection</code> will use all the default extension except
1466<code>selection</code>.</p>
1467</dd>
1468<dd>
1469<p>Extension names can also be followed by an argument in angle brackets
1470(e.g. <code>searchable-scrollback&lt;M-s&gt;</code>, which binds the hotkey for
1471searchable scorllback to Alt/Meta-s). Mentioning the same extension
1472multiple times with different arguments will pass multiple arguments to
1473the extension.</p>
1474</dd>
1475<dd>
1476<p>Each extension is looked up in the library directories, loaded if
1477necessary, and bound to the current terminal instance.</p>
1478</dd>
1479<dd>
1480<p>If both of these resources are the empty string, then the perl
1481interpreter will not be initialized. The idea behind two options is that
1482<strong>perl-ext-common</strong> will be used for extensions that should be available to
1483all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1424</dd> 1484</dd>
1425<p></p> 1485<p></p>
1426<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br /> 1486<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br />
1427</dt> 1487</dt>
1428<dd> 1488<dd>
1429Perl code to be evaluated when all extensions have been loaded. See the 1489Perl code to be evaluated when all extensions have been registered. See
1430<code>rxvtperl(3)</code> manpage. 1490the <code>rxvtperl(3)</code> manpage. Due to security reasons, this resource
1491will be ignored when running setuid/setgid.
1431</dd> 1492</dd>
1432<p></p> 1493<p></p>
1433<dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br /> 1494<dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br />
1434</dt> 1495</dt>
1435<dd> 1496<dd>
1436Additional directory that holds extension scripts that are loaded and 1497Colon-separated list of additional directories that hold extension
1437enabled for this terminal instance, in addition to scripts stored in 1498scripts. When looking for extensions specified by the <code>perl</code> resource,
1438<em>/opt/rxvt/lib/urxvt/perl-ext/</em>, which are global to all terminal 1499rxvt will first look in these directories and then in
1439instances. 1500<em>/opt/rxvt/lib/urxvt/perl/</em>. Due to security reasons, this resource
1501will be ignored when running setuid/setgid.
1440</dd> 1502</dd>
1441<dd> 1503<dd>
1442<p>See the <code>rxvtperl(3)</code> manpage.</p> 1504<p>See the <code>rxvtperl(3)</code> manpage.</p>
1505</dd>
1506<p></p>
1507<dt><strong><a name="item_transient_2dfor_3a_windowid"><strong>transient-for</strong>: <em>windowid</em></a></strong><br />
1508</dt>
1509<dd>
1510Sets the WM_TRANSIENT_FOR property to the given window iw.
1443</dd> 1511</dd>
1444<p></p></dl> 1512<p></p></dl>
1445<p> 1513<p>
1446</p> 1514</p>
1447<hr /> 1515<hr />

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines