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.27 by root, Thu Dec 22 16:44:10 2005 UTC vs.
Revision 1.38 by root, Sun Jan 8 00:20:12 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.0</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.
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.
287</dd> 296</dd>
288<p></p> 297<p></p>
289<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 />
290</dt> 299</dt>
291<dd> 300<dd>
404</dt> 413</dt>
405<dd> 414<dd>
406Compile <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.
407if 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
408decorations; 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>.
409</dd> 427</dd>
410<p></p> 428<p></p>
411<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 />
412</dt> 430</dt>
413<dd> 431<dd>
582 my $xid = $_[0]-&gt;window-&gt;get_xid; 600 my $xid = $_[0]-&gt;window-&gt;get_xid;
583 system &quot;rxvt -embed $xid &amp;&quot;; 601 system &quot;rxvt -embed $xid &amp;&quot;;
584 });</pre> 602 });</pre>
585</dd> 603</dd>
586<p></p> 604<p></p>
587<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 />
588</dt> 606</dt>
589<dd> 607<dd>
590Tells 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
591pair 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
592useful if you want to drive rxvt as a generic terminal emulator 610useful if you want to drive rxvt as a generic terminal emulator
594</dd> 612</dd>
595<dd> 613<dd>
596<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
597entries 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
598yourself 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>
599</dd> 621</dd>
600<dd> 622<dd>
601<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
602longer example is in <em>doc/pty-fd</em>):</p> 624longer example is in <em>doc/pty-fd</em>):</p>
603</dd> 625</dd>
616<dd> 638<dd>
617<pre> 639<pre>
618 # now communicate with rxvt 640 # now communicate with rxvt
619 my $slave = $pty-&gt;slave; 641 my $slave = $pty-&gt;slave;
620 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.
621</dd> 650</dd>
622<p></p></dl> 651<p></p></dl>
623<p> 652<p>
624</p> 653</p>
625<hr /> 654<hr />
847<dd> 876<dd>
848Select the fonts to be used. This is a comma separated list of font 877Select the fonts to be used. This is a comma separated list of font
849names that are used in turn when trying to display Unicode characters. 878names that are used in turn when trying to display Unicode characters.
850The first font defines the cell size for characters; other fonts might 879The first font defines the cell size for characters; other fonts might
851be smaller, but not larger. A reasonable default font list is always 880be smaller, but not larger. A reasonable default font list is always
852appended to it. option <strong>-fn</strong>. 881appended to it; option <strong>-fn</strong>.
853</dd> 882</dd>
854<dd> 883<dd>
855<p>Each font can either be a standard X11 core font (XLFD) name, with 884<p>Each font can either be a standard X11 core font (XLFD) name, with
856optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p> 885optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p>
857</dd> 886</dd>
918<dd> 947<dd>
919<p>If set, but empty, then this specific style is disabled and the normal 948<p>If set, but empty, then this specific style is disabled and the normal
920text font will being used for the given style.</p> 949text font will being used for the given style.</p>
921</dd> 950</dd>
922<p></p> 951<p></p>
952<dt><strong><a name="item_intensitystyles_3a_boolean"><strong>intensityStyles:</strong> <em>boolean</em></a></strong><br />
953</dt>
954<dd>
955When font styles are not enabled, or this option is enabled (<strong>True</strong>,
956option <strong>-is</strong>, the default), bold and italic font styles imply high
957intensity foreground/backround colours. Disabling this option (<strong>False</strong>,
958option <strong>+is</strong>) disables this behaviour, the high intensity colours are not
959reachable.
960</dd>
961<p></p>
923<dt><strong><a name="item_selectstyle_3a_mode"><strong>selectstyle:</strong> <em>mode</em></a></strong><br /> 962<dt><strong><a name="item_selectstyle_3a_mode"><strong>selectstyle:</strong> <em>mode</em></a></strong><br />
924</dt> 963</dt>
925<dd> 964<dd>
926Set mouse selection style to <strong>old</strong> which is 2.20, <strong>oldword</strong> which is 965Set mouse selection style to <strong>old</strong> which is 2.20, <strong>oldword</strong> which is
927xterm style with 2.20 old word selection, or anything else which gives 966xterm style with 2.20 old word selection, or anything else which gives
1082<dd> 1121<dd>
1083Set 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
1084WM, 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>.
1085</dd> 1124</dd>
1086<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>
1087<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 />
1088</dt> 1136</dt>
1089<dd> 1137<dd>
1090Specifies 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
1091variable; option <strong>-tn</strong>. 1139variable; option <strong>-tn</strong>.
1196</dt> 1244</dt>
1197<dd> 1245<dd>
1198The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g. 1246The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
1199<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the 1247<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
1200input extension to be able to input japanese characters while staying in 1248input extension to be able to input japanese characters while staying in
1201another locale. option <strong>-imlocale</strong>. 1249another locale; option <strong>-imlocale</strong>.
1202</dd> 1250</dd>
1203<p></p> 1251<p></p>
1204<dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br /> 1252<dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br />
1205</dt> 1253</dt>
1206<dd> 1254<dd>
1215<dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br /> 1263<dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br />
1216</dt> 1264</dt>
1217<dd> 1265<dd>
1218Change the meaning of triple-click selection with the left mouse 1266Change the meaning of triple-click selection with the left mouse
1219button. Instead of selecting a full line it will extend the selection to 1267button. Instead of selecting a full line it will extend the selection to
1220the end of the logical line only. option <strong>-tcw</strong>. 1268the end of the logical line only; option <strong>-tcw</strong>.
1221</dd> 1269</dd>
1222<p></p> 1270<p></p>
1223<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br /> 1271<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br />
1224</dt> 1272</dt>
1225<dd> 1273<dd>
1347<dd> 1395<dd>
1348<pre> 1396<pre>
1349 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>
1350</dd> 1398</dd>
1351<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>
1352<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
1353will 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
1354no 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
1355means 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
1356definitions 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
1388</dd> 1446</dd>
1389<dd> 1447<dd>
1390<pre> 1448<pre>
1391 URxvt.keysym.M-C-3: command:\033[8;25;80t 1449 URxvt.keysym.M-C-3: command:\033[8;25;80t
1392 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre> 1450 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1451</dd>
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>
1455<dt><strong><a name="item_perl_2dext_3a_string"><strong>perl-ext</strong>: <em>string</em></a></strong><br />
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>.
1460</dd>
1461<dd>
1462<p>Extension names can be prefixed with a <code>-</code> sign to prohibit using
1463it. 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>Each extension is looked up in the library directories, loaded if
1470necessary, and bound to the current terminal instance.</p>
1471</dd>
1472<dd>
1473<p>If both of these resources are the empty string, then the perl
1474interpreter will not be initialized. The idea behind two options is that
1475<strong>perl-ext-common</strong> will be used for extensions that should be available to
1476all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1477</dd>
1478<p></p>
1479<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br />
1480</dt>
1481<dd>
1482Perl code to be evaluated when all extensions have been registered. See the
1483<code>rxvtperl(3)</code> manpage.
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,
1491rxvt will first look in these directories and then in
1492<em>/opt/rxvt/lib/urxvt/perl/</em>.
1493</dd>
1494<dd>
1495<p>See the <code>rxvtperl(3)</code> manpage.</p>
1393</dd> 1496</dd>
1394<p></p></dl> 1497<p></p></dl>
1395<p> 1498<p>
1396</p> 1499</p>
1397<hr /> 1500<hr />
1433(which can span multiple screen lines), unless modified by resource 1536(which can span multiple screen lines), unless modified by resource
1434<strong>tripleclickwords</strong>. 1537<strong>tripleclickwords</strong>.
1435</dd> 1538</dd>
1436<dd> 1539<dd>
1437<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys) 1540<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys)
1438(Compile: <em>frills</em>) will create a rectangular selection instead of a normal 1541(Compile: <em>frills</em>) will create a rectangular selection instead of a
1439one.</p> 1542normal one. In this mode, every selected row becomes its own line in the
1543selection, and trailing whitespace is visually underlined and removed from
1544the selection.</p>
1440</dd> 1545</dd>
1441<p></p> 1546<p></p>
1442<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br /> 1547<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br />
1443</dt> 1548</dt>
1444<dd> 1549<dd>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines