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.16 by root, Wed Feb 16 22:16:30 2005 UTC vs.
Revision 1.24 by root, Tue Oct 25 20:04:58 2005 UTC

47<p><strong>rxvt</strong> [options] [-e command [ args ]]</p> 47<p><strong>rxvt</strong> [options] [-e command [ args ]]</p>
48<p> 48<p>
49</p> 49</p>
50<hr /> 50<hr />
51<h1><a name="description">DESCRIPTION</a></h1> 51<h1><a name="description">DESCRIPTION</a></h1>
52<p><strong>rxvt-unicode</strong>, version <strong>5.2</strong>, is a colour vt102 terminal 52<p><strong>rxvt-unicode</strong>, version <strong>5.8</strong>, is a colour vt102 terminal
53emulator intended as an <em>xterm</em>(1) replacement for users who do not 53emulator intended as an <em>xterm</em>(1) replacement for users who do not
54require features such as Tektronix 4014 emulation and toolkit-style 54require features such as Tektronix 4014 emulation and toolkit-style
55configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space -- 55configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space --
56a significant advantage on a machine serving many X sessions.</p> 56a significant advantage on a machine serving many X sessions.</p>
57<p> 57<p>
150</dt> 150</dt>
151<dd> 151<dd>
152Turn on/off jump scrolling; resource <strong>jumpScroll</strong>. 152Turn on/off jump scrolling; resource <strong>jumpScroll</strong>.
153</dd> 153</dd>
154<p></p> 154<p></p>
155<dt><strong><a name="item__2dip_7c_2bip"><strong>-ip</strong>|<strong>+ip</strong></a></strong><br /> 155<dt><strong><a name="item__2dip_7c_2bip__7c__2dtr_7c_2btr"><strong>-ip</strong>|<strong>+ip</strong> | <strong>-tr</strong>|<strong>+tr</strong></a></strong><br />
156</dt> 156</dt>
157<dd> 157<dd>
158Turn on/off inheriting parent window's pixmap. Alternative form is 158Turn on/off inheriting parent window's pixmap. Alternative form is
159<strong>-tr</strong>; resource <strong>inheritPixmap</strong>. 159<strong>-tr</strong>; resource <strong>inheritPixmap</strong>.
160</dd> 160</dd>
161<p></p> 161<p></p>
162<dt><strong><a name="item__2dfade_number"><strong>-fade</strong> <em>number</em></a></strong><br /> 162<dt><strong><a name="item__2dfade_number"><strong>-fade</strong> <em>number</em></a></strong><br />
163</dt> 163</dt>
164<dd> 164<dd>
165Fade the text by the given percentage when focus is lost. resource <strong>fading</strong>. 165Fade the text by the given percentage when focus is lost. Small values
166fade a little only, 100 completely replaces all colours by the fade
167colour; resource <strong>fading</strong>.
168</dd>
169<p></p>
170<dt><strong><a name="item__2dfadecolor_colour"><strong>-fadecolor</strong> <em>colour</em></a></strong><br />
171</dt>
172<dd>
173Fade to this colour when fading is used (see <strong>-fade</strong>). The default colour
174is black. resource <strong>fadeColor</strong>.
166</dd> 175</dd>
167<p></p> 176<p></p>
168<dt><strong><a name="item__2dtint_colour"><strong>-tint</strong> <em>colour</em></a></strong><br /> 177<dt><strong><a name="item__2dtint_colour"><strong>-tint</strong> <em>colour</em></a></strong><br />
169</dt> 178</dt>
170<dd> 179<dd>
171Tint the transparent background pixmap with the given colour when 180Tint the transparent background pixmap with the given colour when
172transparency is enabled with <strong>-tr</strong> or <strong>-ip</strong>. See also the <strong>-sh</strong> 181transparency is enabled with <strong>-tr</strong> or <strong>-ip</strong>. This only works for
173option that can be used to brighten or darken the image in addition to 182non-tiled backgrounds, currently. See also the <strong>-sh</strong> option that can be
174tinting it. 183used to brighten or darken the image in addition to tinting it; resource
184<em>tintColor</em>. Example:
185</dd>
186<dd>
187<pre>
188 rxvt -tr -tint blue -sh 40</pre>
175</dd> 189</dd>
176<p></p> 190<p></p>
177<dt><strong><a name="item__2dsh"><strong>-sh</strong></a></strong><br /> 191<dt><strong><a name="item__2dsh"><strong>-sh</strong></a></strong><br />
178</dt> 192</dt>
179<dd> 193<dd>
336</dd> 350</dd>
337<p></p> 351<p></p>
338<dt><strong><a name="item__2dst_7c_2bst"><strong>-st</strong>|<strong>+st</strong></a></strong><br /> 352<dt><strong><a name="item__2dst_7c_2bst"><strong>-st</strong>|<strong>+st</strong></a></strong><br />
339</dt> 353</dt>
340<dd> 354<dd>
341Display normal (non XTerm/NeXT) scrollbar without/with a trough; 355Display rxvt (non XTerm/NeXT) scrollbar without/with a trough;
342resource <strong>scrollBar_floating</strong>. 356resource <strong>scrollBar_floating</strong>.
343</dd> 357</dd>
344<p></p> 358<p></p>
345<dt><strong><a name="item__2dptab_7c_2bptab"><strong>-ptab</strong>|<strong>+ptab</strong></a></strong><br /> 359<dt><strong><a name="item__2dptab_7c_2bptab"><strong>-ptab</strong>|<strong>+ptab</strong></a></strong><br />
346</dt> 360</dt>
511<dd> 525<dd>
512Turn on/off secondary screen scroll (default enabled); resource 526Turn on/off secondary screen scroll (default enabled); resource
513<strong>secondaryScroll</strong>. 527<strong>secondaryScroll</strong>.
514</dd> 528</dd>
515<p></p> 529<p></p>
516<dt><strong><a name="item__2dkeysym_2esym_3a_string"><strong>-keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> 530<dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br />
517</dt> 531</dt>
518<dd> 532<dd>
519Remap a key symbol. See resource <strong>keysym</strong>. 533Remap a key symbol. See resource <strong>keysym</strong>.
520</dd> 534</dd>
521<p></p> 535<p></p>
522<dt><strong><a name="item__2dembed_3a_windowid"><strong>-embed</strong>: <em>windowid</em></a></strong><br /> 536<dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br />
523</dt> 537</dt>
524<dd> 538<dd>
525Tells rxvt to embed it's windows into an already-existing window, 539Tells rxvt to embed it's windows into an already-existing window,
526which enables applications to easily embed a terminal. 540which enables applications to easily embed a terminal.
527</dd> 541</dd>
538<p>It might be useful to know that rxvt will not close file 552<p>It might be useful to know that rxvt will not close file
539descriptors passed to it (except for stdin/out/err, of course), so you 553descriptors passed to it (except for stdin/out/err, of course), so you
540can use file descriptors to communicate with the programs within the 554can use file descriptors to communicate with the programs within the
541terminal. This works regardless of wether the <code>-embed</code> option was used or 555terminal. This works regardless of wether the <code>-embed</code> option was used or
542not.</p> 556not.</p>
557</dd>
558<dd>
559<p>Here is a short Gtk2-perl snippet that illustrates how this option can be
560used (a longer example is in <em>doc/embed</em>):</p>
561</dd>
562<dd>
563<pre>
564 my $rxvt = new Gtk2::Socket;
565 $rxvt-&gt;signal_connect_after (realize =&gt; sub {
566 my $xid = $_[0]-&gt;window-&gt;get_xid;
567 system &quot;rxvt -embed $xid &amp;&quot;;
568 });</pre>
569</dd>
570<p></p>
571<dt><strong><a name="item__2dpty_2dfd_fileno"><strong>-pty-fd</strong> <em>fileno</em></a></strong><br />
572</dt>
573<dd>
574Tells rxvt NOT to execute any commands or create a new pty/tty
575pair but instead use the given filehandle as the tty master. This is
576useful if you want to drive rxvt as a generic terminal emulator
577without having to run a program within it.
578</dd>
579<dd>
580<p>If this switch is given, rxvt will not create any utmp/wtmp
581entries and will not tinker with pty/tty permissions - you have to do that
582yourself if you want that.</p>
583</dd>
584<dd>
585<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>
587</dd>
588<dd>
589<pre>
590 use IO::Pty;
591 use Fcntl;</pre>
592</dd>
593<dd>
594<pre>
595 my $pty = new IO::Pty;
596 fcntl $pty, F_SETFD, 0; # clear close-on-exec
597 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
598 close $pty;</pre>
599</dd>
600<dd>
601<pre>
602 # now communicate with rxvt
603 my $slave = $pty-&gt;slave;
604 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre>
543</dd> 605</dd>
544<p></p></dl> 606<p></p></dl>
545<p> 607<p>
546</p> 608</p>
547<hr /> 609<hr />
688</dd> 750</dd>
689<p></p> 751<p></p>
690<dt><strong><a name="item_fading_3a_number"><strong>fading:</strong> <em>number</em></a></strong><br /> 752<dt><strong><a name="item_fading_3a_number"><strong>fading:</strong> <em>number</em></a></strong><br />
691</dt> 753</dt>
692<dd> 754<dd>
693Fade the text by the given percentage when focus is lost. 755Fade the text by the given percentage when focus is lost; option <strong>-fade</strong>.
756</dd>
757<p></p>
758<dt><strong><a name="item_fadecolor_3a_colour"><strong>fadeColor:</strong> <em>colour</em></a></strong><br />
759</dt>
760<dd>
761Fade to this colour, when fading is used (see <strong>fading:</strong>). The default
762colour is black; option <strong>-fadecolor</strong>.
694</dd> 763</dd>
695<p></p> 764<p></p>
696<dt><strong><a name="item_tintcolor_3a_colour"><strong>tintColor:</strong> <em>colour</em></a></strong><br /> 765<dt><strong><a name="item_tintcolor_3a_colour"><strong>tintColor:</strong> <em>colour</em></a></strong><br />
697</dt> 766</dt>
698<dd> 767<dd>
699Tint the transparent background pixmap with the given colour. 768Tint the transparent background pixmap with the given colour; option
769<strong>-tint</strong>.
700</dd> 770</dd>
701<p></p> 771<p></p>
702<dt><strong><a name="item_shading_3a_number"><strong>shading:</strong> <em>number</em></a></strong><br /> 772<dt><strong><a name="item_shading_3a_number"><strong>shading:</strong> <em>number</em></a></strong><br />
703</dt> 773</dt>
704<dd> 774<dd>
714<p></p> 784<p></p>
715<dt><strong><a name="item_troughcolor_3a_colour"><strong>troughColor:</strong> <em>colour</em></a></strong><br /> 785<dt><strong><a name="item_troughcolor_3a_colour"><strong>troughColor:</strong> <em>colour</em></a></strong><br />
716</dt> 786</dt>
717<dd> 787<dd>
718Use the specified colour for the scrollbar's trough area [default 788Use the specified colour for the scrollbar's trough area [default
719#969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. 789#969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar.
720</dd> 790</dd>
721<p></p> 791<p></p>
722<dt><strong><a name="item_bordercolor_3a_colour"><strong>borderColor:</strong> <em>colour</em></a></strong><br /> 792<dt><strong><a name="item_bordercolor_3a_colour"><strong>borderColor:</strong> <em>colour</em></a></strong><br />
723</dt> 793</dt>
724<dd> 794<dd>
844<p></p> 914<p></p>
845<dt><strong><a name="item_scrollstyle_3a_mode"><strong>scrollstyle:</strong> <em>mode</em></a></strong><br /> 915<dt><strong><a name="item_scrollstyle_3a_mode"><strong>scrollstyle:</strong> <em>mode</em></a></strong><br />
846</dt> 916</dt>
847<dd> 917<dd>
848Set scrollbar style to <strong>rxvt</strong>, <strong>plain</strong>, <strong>next</strong> or <strong>xterm</strong>. <strong>plain</strong> is 918Set scrollbar style to <strong>rxvt</strong>, <strong>plain</strong>, <strong>next</strong> or <strong>xterm</strong>. <strong>plain</strong> is
849the author's favourite.. 919the author's favourite.
850</dd> 920</dd>
851<p></p> 921<p></p>
852<dt><strong><a name="item_title_3a_string"><strong>title:</strong> <em>string</em></a></strong><br /> 922<dt><strong><a name="item_title_3a_string"><strong>title:</strong> <em>string</em></a></strong><br />
853</dt> 923</dt>
854<dd> 924<dd>
899</dt> 969</dt>
900<dd> 970<dd>
901Specify a command pipe for vt100 printer [default <em>lpr(1)</em>]. Use 971Specify a command pipe for vt100 printer [default <em>lpr(1)</em>]. Use
902<strong>Print</strong> to initiate a screen dump to the printer and <strong>Ctrl-Print</strong> or 972<strong>Print</strong> to initiate a screen dump to the printer and <strong>Ctrl-Print</strong> or
903<strong>Shift-Print</strong> to include the scrollback as well. 973<strong>Shift-Print</strong> to include the scrollback as well.
974</dd>
975<dd>
976<p>The string will be interpreted as if typed into the shell as-is.</p>
977</dd>
978<dd>
979<p>Example:</p>
980</dd>
981<dd>
982<pre>
983 URxvt*print-pipe: cat &gt; $(TMPDIR=$HOME mktemp urxvt.XXXXXX)</pre>
984</dd>
985<dd>
986<p>This creates a new file in your home directory with the screen contents
987everytime you hit <code>Print</code>.</p>
904</dd> 988</dd>
905<p></p> 989<p></p>
906<dt><strong><a name="item_scrollbar_3a_boolean"><strong>scrollBar:</strong> <em>boolean</em></a></strong><br /> 990<dt><strong><a name="item_scrollbar_3a_boolean"><strong>scrollBar:</strong> <em>boolean</em></a></strong><br />
907</dt> 991</dt>
908<dd> 992<dd>
1047</dd> 1131</dd>
1048<p></p> 1132<p></p>
1049<dt><strong><a name="item_pointerblankdelay_3a_number"><strong>pointerBlankDelay:</strong> <em>number</em></a></strong><br /> 1133<dt><strong><a name="item_pointerblankdelay_3a_number"><strong>pointerBlankDelay:</strong> <em>number</em></a></strong><br />
1050</dt> 1134</dt>
1051<dd> 1135<dd>
1052Specifies number of seconds before blanking the pointer [default 2]. 1136Specifies number of seconds before blanking the pointer [default 2]. Use a
1137large number (e.g. <code>987654321</code>) to effectively disable the timeout.
1053</dd> 1138</dd>
1054<p></p> 1139<p></p>
1055<dt><strong><a name="item_backspacekey_3a_string"><strong>backspacekey:</strong> <em>string</em></a></strong><br /> 1140<dt><strong><a name="item_backspacekey_3a_string"><strong>backspacekey:</strong> <em>string</em></a></strong><br />
1056</dt> 1141</dt>
1057<dd> 1142<dd>
1232when Control-Meta-c is being pressed'':</p> 1317when Control-Meta-c is being pressed'':</p>
1233</dd> 1318</dd>
1234<dd> 1319<dd>
1235<pre> 1320<pre>
1236 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> 1321 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1322</dd>
1323<dd>
1324<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
1326no other key mappings with those and more bits are being defined. That
1327means that defining a key map for <code>a</code> will automatically provide
1328definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined
1329mappings themselves.</p>
1330</dd>
1331<dd>
1332<p>Unfortunately, this will override built-in key mappings. For example
1333if you overwrite the <code>Insert</code> key you will disable rxvt's
1334<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>
1336</dd>
1337<dd>
1338<pre>
1339 URxvt.keysym.Insert: &lt;my insert key sequence&gt;
1340 URxvt.keysym.S-Insert: builtin:</pre>
1341</dd>
1342<dd>
1343<p>The first line defines a mapping for <code>Insert</code> and <em>any</em> combination
1344of modifiers. The second line re-establishes the default mapping for
1345<code>Shift-Insert</code>.</p>
1237</dd> 1346</dd>
1238<dd> 1347<dd>
1239<p>The following example will map Control-Meta-1 and Control-Meta-2 to 1348<p>The following example will map Control-Meta-1 and Control-Meta-2 to
1240the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited 1349the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited
1241font-switching at runtime:</p> 1350font-switching at runtime:</p>
1508<dd> 1617<dd>
1509The unix domain socket path used by <code>rxvtc(1)</code> and 1618The unix domain socket path used by <code>rxvtc(1)</code> and
1510rxvtd(1). 1619rxvtd(1).
1511</dd> 1620</dd>
1512<dd> 1621<dd>
1513<p>Default <code>$HOME/.rxvt-unicode-&lt;nodename</code>.</p> 1622<p>Default <em>$HOME/.rxvt-unicode-<em>&lt;nodename </em></em> &gt;&gt;&gt;.</p>
1514</dd> 1623</dd>
1515<p></p> 1624<p></p>
1516<dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br /> 1625<dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br />
1517</dt> 1626</dt>
1518<dd> 1627<dd>
1547<p></p></dl> 1656<p></p></dl>
1548<p> 1657<p>
1549</p> 1658</p>
1550<hr /> 1659<hr />
1551<h1><a name="see_also">SEE ALSO</a></h1> 1660<h1><a name="see_also">SEE ALSO</a></h1>
1552<p>rxvt(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p> 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>
1553<p> 1662<p>
1554</p> 1663</p>
1555<hr /> 1664<hr />
1556<h1><a name="bugs">BUGS</a></h1> 1665<h1><a name="bugs">BUGS</a></h1>
1557<p>Check the BUGS file for an up-to-date list.</p> 1666<p>Check the BUGS file for an up-to-date list.</p>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines