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.51 by root, Wed Jan 25 00:57:57 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>7.2</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>
243<p></p> 243<p></p>
244<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 />
245</dt> 245</dt>
246<dd> 246<dd>
247Select 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
248that are used in turn when trying to display Unicode characters. The 248that are checked in order when trying to find glyphs for characters. The
249first font defines the cell size for characters; other fonts might be 249first font defines the cell size for characters; other fonts might be
250smaller, but not (in general) larger. A (hopefully) reasonable default 250smaller, but not (in general) larger. A (hopefully) reasonable default
251font 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.
252</dd> 252</dd>
253<dd> 253<dd>
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__2doverride_2dredirect"><strong>-override-redirect</strong></a></strong><br />
421</dt>
422<dd>
423Compile <em>frills</em>: Sets override-redirect on the window; resource
424<strong>override-redirect</strong>.
425</dd>
426<p></p>
427<dt><strong><a name="item__2dsbg"><strong>-sbg</strong></a></strong><br />
428</dt>
429<dd>
430Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
431drawing characters and just rely on what the specified fonts provide. Use
432this if you have a good font and want to use its block graphic glyphs;
433resource <strong>skipBuiltinGlyphs</strong>.
417</dd> 434</dd>
418<p></p> 435<p></p>
419<dt><strong><a name="item__2dlsp_number"><strong>-lsp</strong> <em>number</em></a></strong><br /> 436<dt><strong><a name="item__2dlsp_number"><strong>-lsp</strong> <em>number</em></a></strong><br />
420</dt> 437</dt>
421<dd> 438<dd>
590 my $xid = $_[0]-&gt;window-&gt;get_xid; 607 my $xid = $_[0]-&gt;window-&gt;get_xid;
591 system &quot;rxvt -embed $xid &amp;&quot;; 608 system &quot;rxvt -embed $xid &amp;&quot;;
592 });</pre> 609 });</pre>
593</dd> 610</dd>
594<p></p> 611<p></p>
595<dt><strong><a name="item__2dpty_2dfd_fileno"><strong>-pty-fd</strong> <em>fileno</em></a></strong><br /> 612<dt><strong><a name="item__2dpty_2dfd_file_descriptor"><strong>-pty-fd</strong> <em>file descriptor</em></a></strong><br />
596</dt> 613</dt>
597<dd> 614<dd>
598Tells rxvt NOT to execute any commands or create a new pty/tty 615Tells 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 616pair but instead use the given filehandle as the tty master. This is
600useful if you want to drive rxvt as a generic terminal emulator 617useful if you want to drive rxvt as a generic terminal emulator
602</dd> 619</dd>
603<dd> 620<dd>
604<p>If this switch is given, rxvt will not create any utmp/wtmp 621<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 622entries and will not tinker with pty/tty permissions - you have to do that
606yourself if you want that.</p> 623yourself if you want that.</p>
624</dd>
625<dd>
626<p>As an extremely special case, specifying <code>-1</code> will completely suppress
627pty/tty operations.</p>
607</dd> 628</dd>
608<dd> 629<dd>
609<p>Here is a example in perl that illustrates how this option can be used (a 630<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> 631longer example is in <em>doc/pty-fd</em>):</p>
611</dd> 632</dd>
626 # now communicate with rxvt 647 # now communicate with rxvt
627 my $slave = $pty-&gt;slave; 648 my $slave = $pty-&gt;slave;
628 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre> 649 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre>
629</dd> 650</dd>
630<p></p> 651<p></p>
631<dt><strong><a name="item__2dperl_string"><strong>-perl</strong> <em>string</em></a></strong><br /> 652<dt><strong><a name="item__2dpe_string"><strong>-pe</strong> <em>string</em></a></strong><br />
632</dt> 653</dt>
633<dd> 654<dd>
634Used by perl extension. See resource <strong>perl</strong>. 655Comma-separated list of perl extension scripts to use (or not to use) in
656this terminal instance. See resource <strong>perl-ext</strong> for details.
635</dd> 657</dd>
636<p></p></dl> 658<p></p></dl>
637<p> 659<p>
638</p> 660</p>
639<hr /> 661<hr />
640<h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1> 662<h1><a name="resources__available_also_as_longoptions_">RESOURCES (available also as long-options)</a></h1>
641<p>Note: `rxvt --help' gives a list of all resources (long 663<p>Note: `rxvt --help' gives a list of all resources (long
642options) compiled into your version.</p> 664options) compiled into your version.</p>
643<p>There are two different methods that rxvt can use to get the 665<p>You can set and change the resources using X11 tools like <strong>xrdb</strong>. Many
644Xresource data: using the X libraries (Xrm*-functions) or internal
645Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie.
646<strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the
647resources using X11 tools like <strong>xrdb</strong>. Many distribution do also load
648settings from the <strong>~/.Xresources</strong> file when X starts. rxvt 666distribution do also load settings from the <strong>~/.Xresources</strong> file when X
649will consult the following files/resources in order, with later settings 667starts. rxvt will consult the following files/resources in order,
650overwriting earlier ones:</p> 668with later settings overwriting earlier ones:</p>
651<pre> 669<pre>
652 1. system-wide app-defaults file, either locale-dependent OR global 670 1. system-wide app-defaults file, either locale-dependent OR global
653 2. app-defaults file in $XAPPLRESDIR 671 2. app-defaults file in $XAPPLRESDIR
654 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 672 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
655 4. SCREEN_RESOURCES for the current screen 673 4. SCREEN_RESOURCES for the current screen
656 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre> 674 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre>
657<p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong>
658lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults
659set in XAPPLOADDIR/URxvt (compile-time defined: usually
660<strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in
661<strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist.
662Note that when reading X resources, <strong>rxvt</strong> recognizes two 675<p>Note that when reading X resources, <strong>rxvt</strong> recognizes two class
663class names: <strong>XTerm</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows 676names: <strong>Rxvt</strong> and <strong>URxvt</strong>. The class name <strong>Rxvt</strong> allows resources
664resources common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be 677common to both <strong>rxvt</strong> and the original <em>rxvt</em> to be easily
665easily configured, while the class name <strong>URxvt</strong> allows resources 678configured, while the class name <strong>URxvt</strong> allows resources unique to
666unique to <strong>rxvt</strong>, notably colours and key-handling, to be 679<strong>rxvt</strong>, to be shared between different <strong>rxvt</strong>
667shared between different <strong>rxvt</strong> configurations. If no 680configurations. If no resources are specified, suitable defaults will
668resources are specified, suitable defaults will be used. Command-line 681be used. Command-line arguments can be used to override resource
669arguments can be used to override resource settings. The following 682settings. The following resources are supported (you might want to
670resources are allowed:</p> 683check the <code>rxvtperl(3)</code> manpage for additional settings by perl
684extensions not documented here):</p>
671<dl> 685<dl>
672<dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br /> 686<dt><strong><a name="item_geometry_3a_geom"><strong>geometry:</strong> <em>geom</em></a></strong><br />
673</dt> 687</dt>
674<dd> 688<dd>
675Create the window with the specified X window geometry [default 80x24]; 689Create the window with the specified X window geometry [default 80x24];
838specifies an integer number of images in that direction. No image will 852specifies an integer number of images in that direction. No image will
839be magnified beyond 10 times its original size. The maximum permitted 853be magnified beyond 10 times its original size. The maximum permitted
840scale is 1000. [default 0x0+50+50] 854scale is 1000. [default 0x0+50+50]
841</dd> 855</dd>
842<p></p> 856<p></p>
843<dt><strong><a name="item_menu_3a_file_5b_3btag_5d"><strong>menu:</strong> <em>file[;tag]</em></a></strong><br />
844</dt>
845<dd>
846Read in the specified menu file (note the `.menu' extension is
847optional) and also optionally specify a starting tag to find. See the
848reference documentation for details on the syntax for the menuBar.
849</dd>
850<p></p>
851<dt><strong><a name="item_path_3a_path"><strong>path:</strong> <em>path</em></a></strong><br /> 857<dt><strong><a name="item_path_3a_path"><strong>path:</strong> <em>path</em></a></strong><br />
852</dt> 858</dt>
853<dd> 859<dd>
854Specify the colon-delimited search path for finding files (XPM and 860Specify the colon-delimited search path for finding XPM files.
855menus), in addition to the paths specified by the <strong>RXVTPATH</strong> and
856<strong>PATH</strong> environment variables.
857</dd> 861</dd>
858<p></p> 862<p></p>
859<dt><strong><a name="item_font_3a_fontlist"><strong>font:</strong> <em>fontlist</em></a></strong><br /> 863<dt><strong><a name="item_font_3a_fontlist"><strong>font:</strong> <em>fontlist</em></a></strong><br />
860</dt> 864</dt>
861<dd> 865<dd>
862Select the fonts to be used. This is a comma separated list of font 866Select the fonts to be used. This is a comma separated list of font names
863names that are used in turn when trying to display Unicode characters. 867that are checked in order when trying to find glyphs for characters. The
864The first font defines the cell size for characters; other fonts might 868first font defines the cell size for characters; other fonts might be
865be smaller, but not larger. A reasonable default font list is always 869smaller, but not (in general) larger. A (hopefully) reasonable default
866appended to it; option <strong>-fn</strong>. 870font list is always appended to it; option <strong>-fn</strong>.
867</dd> 871</dd>
868<dd> 872<dd>
869<p>Each font can either be a standard X11 core font (XLFD) name, with 873<p>Each font can either be a standard X11 core font (XLFD) name, with
870optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p> 874optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p>
871</dd> 875</dd>
878<dd> 882<dd>
879<p>For example, this font resource</p> 883<p>For example, this font resource</p>
880</dd> 884</dd>
881<dd> 885<dd>
882<pre> 886<pre>
883 URxvt*font: 9x15bold,\ 887 URxvt.font: 9x15bold,\
884 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ 888 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\
885 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ 889 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \
886 [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ 890 [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \
887 xft:Code2000:antialias=false</pre> 891 xft:Code2000:antialias=false</pre>
888</dd> 892</dd>
1018<dd> 1022<dd>
1019<p>Example:</p> 1023<p>Example:</p>
1020</dd> 1024</dd>
1021<dd> 1025<dd>
1022<pre> 1026<pre>
1023 URxvt*print-pipe: cat &gt; $(TMPDIR=$HOME mktemp urxvt.XXXXXX)</pre> 1027 URxvt.print-pipe: cat &gt; $(TMPDIR=$HOME mktemp urxvt.XXXXXX)</pre>
1024</dd> 1028</dd>
1025<dd> 1029<dd>
1026<p>This creates a new file in your home directory with the screen contents 1030<p>This creates a new file in your home directory with the screen contents
1027everytime you hit <code>Print</code>.</p> 1031everytime you hit <code>Print</code>.</p>
1028</dd> 1032</dd>
1104<dt><strong><a name="item_borderless_3a_boolean"><strong>borderLess:</strong> <em>boolean</em></a></strong><br /> 1108<dt><strong><a name="item_borderless_3a_boolean"><strong>borderLess:</strong> <em>boolean</em></a></strong><br />
1105</dt> 1109</dt>
1106<dd> 1110<dd>
1107Set MWM hints to request a borderless window, i.e. if honoured by the 1111Set 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>. 1112WM, the rxvt-unicode window will not have window decorations; option <strong>-bl</strong>.
1113</dd>
1114<p></p>
1115<dt><strong><a name="item_skipbuiltinglyphs_3a_boolean"><strong>skipBuiltinGlyphs:</strong> <em>boolean</em></a></strong><br />
1116</dt>
1117<dd>
1118Compile <em>frills</em>: Disable the usage of the built-in block graphics/line
1119drawing characters and just rely on what the specified fonts provide. Use
1120this if you have a good font and want to use its block graphic glyphs;
1121option <strong>-sbg</strong>.
1109</dd> 1122</dd>
1110<p></p> 1123<p></p>
1111<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br /> 1124<dt><strong><a name="item_termname_3a_termname"><strong>termName:</strong> <em>termname</em></a></strong><br />
1112</dt> 1125</dt>
1113<dd> 1126<dd>
1256sequences enabled by default, which doesn't make it safer, though). 1269sequences enabled by default, which doesn't make it safer, though).
1257</dd> 1270</dd>
1258<dd> 1271<dd>
1259<p>You can enable them by setting this boolean resource or specifying 1272<p>You can enable them by setting this boolean resource or specifying
1260<strong>-insecure</strong> as an option. At the moment, this enables display-answer, 1273<strong>-insecure</strong> as an option. At the moment, this enables display-answer,
1261locale, findfont, icon label and window title requests as well as dynamic 1274locale, findfont, icon label and window title requests.</p>
1262menubar dispatch.</p>
1263</dd> 1275</dd>
1264<p></p> 1276<p></p>
1265<dt><strong><a name="item_modifier_3a_modifier"><strong>modifier:</strong> <em>modifier</em></a></strong><br /> 1277<dt><strong><a name="item_modifier_3a_modifier"><strong>modifier:</strong> <em>modifier</em></a></strong><br />
1266</dt> 1278</dt>
1267<dd> 1279<dd>
1276Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) 1288Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E)
1277character is passed through. It may contain escape values as described 1289character is passed through. It may contain escape values as described
1278in the entry on <strong>keysym</strong> following. 1290in the entry on <strong>keysym</strong> following.
1279</dd> 1291</dd>
1280<p></p> 1292<p></p>
1281<dt><strong><a name="item_secondaryscreen_3a_bool"><strong>secondaryScreen:</strong> <em>bool</em></a></strong><br /> 1293<dt><strong><a name="item_secondaryscreen_3a_boolean"><strong>secondaryScreen:</strong> <em>boolean</em></a></strong><br />
1282</dt> 1294</dt>
1283<dd> 1295<dd>
1284Turn on/off secondary screen (default enabled). 1296Turn on/off secondary screen (default enabled).
1285</dd> 1297</dd>
1286<p></p> 1298<p></p>
1287<dt><strong><a name="item_secondaryscroll_3a_bool"><strong>secondaryScroll:</strong> <em>bool</em></a></strong><br /> 1299<dt><strong><a name="item_secondaryscroll_3a_boolean"><strong>secondaryScroll:</strong> <em>boolean</em></a></strong><br />
1288</dt> 1300</dt>
1289<dd> 1301<dd>
1290Turn on/off secondary screen scroll (default enabled). If the this 1302Turn on/off secondary screen scroll (default enabled). If the this
1291option is enabled, scrolls on the secondary screen will change the 1303option is enabled, scrolls on the secondary screen will change the
1292scrollback buffer and switching to/from the secondary screen will 1304scrollback buffer and switching to/from the secondary screen will
1293instead scroll the screen up. 1305instead scroll the screen up.
1294</dd> 1306</dd>
1295<p></p> 1307<p></p>
1296<dt><strong><a name="item_hold_3a_bool"><strong>hold</strong>: <em>bool</em></a></strong><br /> 1308<dt><strong><a name="item_hold_3a_boolean"><strong>hold</strong>: <em>boolean</em></a></strong><br />
1297</dt> 1309</dt>
1298<dd> 1310<dd>
1299Turn on/off hold window after exit support. If enabled, rxvt 1311Turn on/off hold window after exit support. If enabled, rxvt
1300will not immediately destroy its window when the program executed within 1312will not immediately destroy its window when the program executed within
1301it exits. Instead, it will wait till it is being killed or closed by the 1313it exits. Instead, it will wait till it is being killed or closed by the
1334<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete, 1346<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1335<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it 1347<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1336can start or end with whitespace.</p> 1348can start or end with whitespace.</p>
1337</dd> 1349</dd>
1338<dd> 1350<dd>
1339<p>Please note that you need to double the <code>\</code> when using 1351<p>Please note that you need to double the <code>\</code> in resource files, as
1340<code>--enable-xgetdefault</code>, as X itself does it's own de-escaping (you can 1352Xlib itself does it's own de-escaping (you can use <code>\033</code> instead of
1341use <code>\033</code> instead of <code>\e</code> (and so on), which will work with both Xt and 1353<code>\e</code> (and so on), which will work with both Xt and rxvt's own
1342rxvt's own processing).</p> 1354processing).</p>
1343</dd> 1355</dd>
1344<dd> 1356<dd>
1345<p>You can define a range of keysyms in one shot by providing a <em>string</em> 1357<p>You can define a range of keysyms in one shot by providing a <em>string</em>
1346with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/' 1358with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/'
1347should be a character not used by the strings.</p> 1359should be a character not used by the strings.</p>
1369when Control-Meta-c is being pressed'':</p> 1381when Control-Meta-c is being pressed'':</p>
1370</dd> 1382</dd>
1371<dd> 1383<dd>
1372<pre> 1384<pre>
1373 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> 1385 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1386</dd>
1387<dd>
1388<p>If <em>string</em> takes the form <code>perl:STRING</code>, then the specified <strong>STRING</strong>
1389is passed to the <code>on_keyboard_command</code> perl handler. See the <code>rxvtperl(3)</code>
1390manpage. For example, the <em>selection</em> extension (activated via
1391<code>rxvt -pe selection</code>) listens for <code>selection:rot13</code> events:</p>
1392</dd>
1393<dd>
1394<pre>
1395 URxvt.keysym.M-C-c: perl:selection:rot13</pre>
1374</dd> 1396</dd>
1375<dd> 1397<dd>
1376<p>Due the the large number of modifier combinations, a defined key mapping 1398<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 1399will 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 1400no other key mappings with those and more bits are being defined. That
1414<pre> 1436<pre>
1415 URxvt.keysym.M-C-3: command:\033[8;25;80t 1437 URxvt.keysym.M-C-3: command:\033[8;25;80t
1416 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre> 1438 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1417</dd> 1439</dd>
1418<p></p> 1440<p></p>
1441<dt><strong><a name="item_perl_2dext_2dcommon_3a_string"><strong>perl-ext-common</strong>: <em>string</em></a></strong><br />
1442</dt>
1419<dt><strong><a name="item_perl_3a_string"><strong>perl</strong>: <em>string</em></a></strong><br /> 1443<dt><strong><a name="item_perl_2dext_3a_string"><strong>perl-ext</strong>: <em>string</em></a></strong><br />
1420</dt> 1444</dt>
1445<dd>
1446Comma-separated <code>list(s)</code> of perl extension scripts (default: <code>default</code>) to
1447use in this terminal instance; option <strong>-pe</strong>.
1421<dd> 1448</dd>
1422Used by perl extension and is free for any use, as it is not interpreted 1449<dd>
1423by rxvt-unicode itself; option <strong>perl</strong>. 1450<p>Extension names can be prefixed with a <code>-</code> sign to prohibit using
1451them. This can be useful to selectively disable some extensions loaded
1452by default, or specified via the <code>perl-ext-common</code> resource. For
1453example, <code>default,-selection</code> will use all the default extension except
1454<code>selection</code>.</p>
1455</dd>
1456<dd>
1457<p>Extension names can also be followed by an argument in angle brackets
1458(e.g. <code>searchable-scrollback&lt;M-s&gt;</code>, which binds the hotkey for
1459searchable scorllback to Alt/Meta-s). Mentioning the same extension
1460multiple times with different arguments will pass multiple arguments to
1461the extension.</p>
1462</dd>
1463<dd>
1464<p>Each extension is looked up in the library directories, loaded if
1465necessary, and bound to the current terminal instance.</p>
1466</dd>
1467<dd>
1468<p>If both of these resources are the empty string, then the perl
1469interpreter will not be initialized. The idea behind two options is that
1470<strong>perl-ext-common</strong> will be used for extensions that should be available to
1471all instances, while <strong>perl-ext</strong> is used for specific instances.</p>
1424</dd> 1472</dd>
1425<p></p> 1473<p></p>
1426<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br /> 1474<dt><strong><a name="item_perl_2deval_3a_string"><strong>perl-eval</strong>: <em>string</em></a></strong><br />
1427</dt> 1475</dt>
1428<dd> 1476<dd>
1429Perl code to be evaluated when all extensions have been loaded. See the 1477Perl code to be evaluated when all extensions have been registered. See
1430<code>rxvtperl(3)</code> manpage. 1478the <code>rxvtperl(3)</code> manpage. Due to security reasons, this resource
1479will be ignored when running setuid/setgid.
1431</dd> 1480</dd>
1432<p></p> 1481<p></p>
1433<dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br /> 1482<dt><strong><a name="item_perl_2dlib_3a_path"><strong>perl-lib</strong>: <em>path</em></a></strong><br />
1434</dt> 1483</dt>
1435<dd> 1484<dd>
1436Additional directory that holds extension scripts that are loaded and 1485Colon-separated list of additional directories that hold extension
1437enabled for this terminal instance, in addition to scripts stored in 1486scripts. 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 1487rxvt will first look in these directories and then in
1439instances. 1488<em>/opt/rxvt/lib/urxvt/perl/</em>. Due to security reasons, this resource
1489will be ignored when running setuid/setgid.
1440</dd> 1490</dd>
1441<dd> 1491<dd>
1442<p>See the <code>rxvtperl(3)</code> manpage.</p> 1492<p>See the <code>rxvtperl(3)</code> manpage.</p>
1493</dd>
1494<p></p>
1495<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 />
1496</dt>
1497<dd>
1498Additional selection patterns, see the <code>rxvtperl(3)</code> manpage for
1499details.
1500</dd>
1501<p></p>
1502<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 />
1503</dt>
1504<dd>
1505Selection auto-transform patterns, see the <code>rxvtperl(3)</code> manpage
1506for details.
1507</dd>
1508<p></p>
1509<dt><strong><a name="item_searchable_2dscrollback_3a_keysym"><strong>searchable-scrollback:</strong> <em>keysym</em></a></strong><br />
1510</dt>
1511<dd>
1512Sets the hotkey that starts the incremental scrollback buffer search
1513(default: <code>M-s</code>).
1514</dd>
1515<p></p>
1516<dt><strong><a name="item_urllauncher_3a_string"><strong>urlLauncher</strong>: <em>string</em></a></strong><br />
1517</dt>
1518<dd>
1519Specifies the program to be started with a URL argument. Used by the
1520<code>selection-popup</code> and <code>mark-urls</code> perl extensions.
1521</dd>
1522<p></p>
1523<dt><strong><a name="item_transient_2dfor_3a_windowid"><strong>transient-for</strong>: <em>windowid</em></a></strong><br />
1524</dt>
1525<dd>
1526Compile <em>frills</em>: Sets the WM_TRANSIENT_FOR property to the given window id.
1527</dd>
1528<p></p>
1529<dt><strong><a name="item_override_2dredirect_3a_boolean"><strong>override-redirect</strong>: <em>boolean</em></a></strong><br />
1530</dt>
1531<dd>
1532Compile <em>frills</em>: Sets override-redirect for the terminal window, making
1533it almost invisible to window managers; option <strong>-override-redirect</strong>.
1443</dd> 1534</dd>
1444<p></p></dl> 1535<p></p></dl>
1445<p> 1536<p>
1446</p> 1537</p>
1447<hr /> 1538<hr />
1492</dd> 1583</dd>
1493<p></p> 1584<p></p>
1494<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br /> 1585<dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br />
1495</dt> 1586</dt>
1496<dd> 1587<dd>
1497Pressing and releasing the Middle mouse button (or <strong>Shift-Insert</strong>) in 1588Pressing and releasing the Middle mouse button in an <strong>rxvt</strong>
1498an <strong>rxvt</strong> window causes the current text selection to be 1589window causes the value of the PRIMARY selection (or CLIPBOARD with the
1499inserted as if it had been typed on the keyboard. 1590Meta modifier) to be inserted as if it had been typed on the keyboard.
1591</dd>
1592<dd>
1593<p>Pressing <strong>Shift-Insert</strong> causes the value of the PRIMARY selection to be
1594inserted too.</p>
1500</dd> 1595</dd>
1501<p></p></dl> 1596<p></p></dl>
1502<p> 1597<p>
1503</p> 1598</p>
1504<hr /> 1599<hr />
1505<h1><a name="changing_fonts">CHANGING FONTS</a></h1> 1600<h1><a name="changing_fonts">CHANGING FONTS</a></h1>
1506<p>Changing fonts (or font sizes, respectively) via the keypad is not yet 1601<p>Changing fonts (or font sizes, respectively) via the keypad is not yet
1507supported in rxvt-unicode. Bug me if you need this.</p> 1602supported in rxvt-unicode. Bug me if you need this.</p>
1508<p>You can, however, switch fonts at runtime using escape sequences (and 1603<p>You can, however, switch fonts at runtime using escape sequences, e.g.:</p>
1509therefore using the menubar), e.g.:</p>
1510<pre> 1604<pre>
1511 printf '\e]710;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre> 1605 printf '\e]710;%s\007' &quot;9x15bold,xft:Kochi Gothic&quot;</pre>
1606<p>You can use keyboard shortcuts, too:</p>
1607<pre>
1608 URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007
1609 URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007</pre>
1512<p>rxvt-unicode will automatically re-apply these fonts to the output so far.</p> 1610<p>rxvt-unicode will automatically re-apply these fonts to the output so far.</p>
1513<p> 1611<p>
1514</p> 1612</p>
1515<hr /> 1613<hr />
1516<h1><a name="iso_14755_support">ISO 14755 SUPPORT</a></h1> 1614<h1><a name="iso_14755_support">ISO 14755 SUPPORT</a></h1>
1677</dt> 1775</dt>
1678<dd> 1776<dd>
1679The shell to be used for command execution, defaults to <code>/bin/sh</code>. 1777The shell to be used for command execution, defaults to <code>/bin/sh</code>.
1680</dd> 1778</dd>
1681<p></p> 1779<p></p>
1682<dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br />
1683</dt>
1684<dd>
1685The path where rxvt looks for support files such as menu and xpm
1686files.
1687</dd>
1688<p></p>
1689<dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br />
1690</dt>
1691<dd>
1692Used in the same way as <a href="#item_rxvtpath"><code>RXVTPATH</code></a>.
1693</dd>
1694<p></p>
1695<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br /> 1780<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br />
1696</dt> 1781</dt>
1697<dd> 1782<dd>
1698The unix domain socket path used by <code>rxvtc(1)</code> and 1783The unix domain socket path used by <code>rxvtc(1)</code> and
1699rxvtd(1). 1784rxvtd(1).
1792</dd> 1877</dd>
1793<p></p> 1878<p></p>
1794<dt><strong><a name="item_geoff_wing__3cgcw_40pobox_2ecom_3e">Geoff Wing <em><a href="mailto:<gcw@pobox.com"><gcw@pobox.com</a></em>&gt;</a></strong><br /> 1879<dt><strong><a name="item_geoff_wing__3cgcw_40pobox_2ecom_3e">Geoff Wing <em><a href="mailto:<gcw@pobox.com"><gcw@pobox.com</a></em>&gt;</a></strong><br />
1795</dt> 1880</dt>
1796<dd> 1881<dd>
1797Rewrote screen display and text selection routines. Project Coordinator 1882Rewrote screen display and text selection routines.
1798(changes.txt 2.4.6 - rxvt-unicode) 1883
1884</dd>
1885<dd>
1886<pre>
1887
1888Project Coordinator (changes.txt 2.4.6 - rxvt-unicode)</pre>
1799</dd> 1889</dd>
1800<p></p> 1890<p></p>
1801<dt><strong><a name="item_marc_alexander_lehmann__3crxvt_2dunicode_40schmorp">Marc Alexander Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>&gt;</a></strong><br /> 1891<dt><strong><a name="item_marc_alexander_lehmann__3crxvt_2dunicode_40schmorp">Marc Alexander Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>&gt;</a></strong><br />
1802</dt> 1892</dt>
1803<dd> 1893<dd>
1804Forked rxvt-unicode, rewrote most of the display code and internal 1894Forked rxvt-unicode, unicode support, rewrote almost all the code, perl
1805character handling to store text in unicode, improve xterm 1895extension, random hacks, numerous bugfixes and extensions.
1806compatibility and apply numerous other bugfixes and extensions.
1807</dd> 1896</dd>
1808<dd> 1897<dd>
1809<p>Project Coordinator (Changes 1.0 -)</p> 1898<p>Project Coordinator (Changes 1.0 -)</p>
1899</dd>
1900<p></p>
1901<dt><strong><a name="item_emanuele_giaquinta__3ce_2egiaquinta_40glauco_2eit_">Emanuele Giaquinta <em><a href="mailto:<e.giaquinta@glauco.it"><e.giaquinta@glauco.it</a></em>&gt;</a></strong><br />
1902</dt>
1903<dd>
1904Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing.
1810</dd> 1905</dd>
1811<p></p></dl> 1906<p></p></dl>
1812 1907
1813</body> 1908</body>
1814 1909

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines