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.3 by root, Mon Jan 17 01:44:51 2005 UTC vs.
Revision 1.18 by root, Fri Feb 18 12:15:07 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>4.8</strong>, is a colour vt102 terminal 52<p><strong>rxvt-unicode</strong>, version <strong>5.2</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>
58</p> 58</p>
59<hr /> 59<hr />
60<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1> 60<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 frequently 61<p>See <code>rxvt(7)</code> (try <code>man 7 rxvt</code>) for a list of
62asked questions and answer to them and some common problems.</p> 62frequently asked questions and answer to them and some common
63problems. 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<p> 65<p>
64</p> 66</p>
65<hr /> 67<hr />
66<h1><a name="rxvtunicode_vs__rxvt">RXVT-UNICODE VS. RXVT</a></h1> 68<h1><a name="rxvtunicode_vs__rxvt">RXVT-UNICODE VS. RXVT</a></h1>
67<p>Unlike the original rxvt, <strong>rxvt-unicode</strong> stores all text in Unicode 69<p>Unlike the original rxvt, <strong>rxvt-unicode</strong> stores all text in Unicode
458</dd> 460</dd>
459<p></p> 461<p></p>
460<dt><strong><a name="item__2dimlocale_string"><strong>-imlocale</strong> <em>string</em></a></strong><br /> 462<dt><strong><a name="item__2dimlocale_string"><strong>-imlocale</strong> <em>string</em></a></strong><br />
461</dt> 463</dt>
462<dd> 464<dd>
463The locale to use for opening the IM. You can use an LC_CTYPE of e.g. 465The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
464de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input 466<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
465extension to be able to input japanese characters while staying in 467input extension to be able to input japanese characters while staying in
466another locale. 468another locale. resource <strong>imLocale</strong>.
469</dd>
470<p></p>
471<dt><strong><a name="item__2dimfont_fontset"><strong>-imfont</strong> <em>fontset</em></a></strong><br />
472</dt>
473<dd>
474Set the font set to use for the X Input Method, see resource <strong>imFont</strong>
475for more info.
476</dd>
477<p></p>
478<dt><strong><a name="item__2dtcw"><strong>-tcw</strong></a></strong><br />
479</dt>
480<dd>
481Change the meaning of triple-click selection with the left mouse
482button. Instead of selecting a full line it will extend the selection the
483end of the logical line only. resource <strong>tripleclickwords</strong>.
467</dd> 484</dd>
468<p></p> 485<p></p>
469<dt><strong><a name="item__2dinsecure"><strong>-insecure</strong></a></strong><br /> 486<dt><strong><a name="item__2dinsecure"><strong>-insecure</strong></a></strong><br />
470</dt> 487</dt>
471<dd> 488<dd>
494<dd> 511<dd>
495Turn on/off secondary screen scroll (default enabled); resource 512Turn on/off secondary screen scroll (default enabled); resource
496<strong>secondaryScroll</strong>. 513<strong>secondaryScroll</strong>.
497</dd> 514</dd>
498<p></p> 515<p></p>
499<dt><strong><a name="item__2dxrm_resourcestring"><strong>-xrm</strong> <em>resourcestring</em></a></strong><br /> 516<dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br />
500</dt> 517</dt>
518<dd>
519Remap a key symbol. See resource <strong>keysym</strong>.
501<dd> 520</dd>
502No effect on rxvt-unicode. Simply passes through an argument to be made 521<p></p>
503available in the instance's argument list. Appears in <em>WM_COMMAND</em> in 522<dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br />
504some window managers. 523</dt>
524<dd>
525Tells rxvt to embed it's windows into an already-existing window,
526which enables applications to easily embed a terminal.
527</dd>
528<dd>
529<p>Right now, rxvt will first unmap/map the specified window, so it
530shouldn't be a top-level window. rxvt will also reconfigure it
531quite a bit, so don't expect it to keep some specific state. It's best to
532create an extra subwindow for rxvt and leave it alone.</p>
533</dd>
534<dd>
535<p>The window will not be destroyed when rxvt exits.</p>
536</dd>
537<dd>
538<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
540can use file descriptors to communicate with the programs within the
541terminal. This works regardless of wether the <code>-embed</code> option was used or
542not.</p>
543</dd>
544<dd>
545<p>Here is a short Gtk2-perl snippet that illustrates how this option can be
546used (a longer example is in <em>doc/embed</em>):</p>
547</dd>
548<dd>
549<pre>
550 my $rxvt = new Gtk2::DrawingArea;
551 $...-&gt;add ($rxvt); # important to add it somewhere first
552 $rxvt-&gt;realize; # now it can be realized
553 my $xid = $rxvt-&gt;window-&gt;get_xid;</pre>
554</dd>
555<dd>
556<pre>
557 system &quot;rxvt -embed $xid &amp;&quot;;</pre>
558</dd>
559<p></p>
560<dt><strong><a name="item__2dpty_2dfd_fileno"><strong>-pty-fd</strong> <em>fileno</em></a></strong><br />
561</dt>
562<dd>
563Tells rxvt NOT to execute any commands or create a new pty/tty
564pair but instead use the given filehandle as the tty master. This is
565useful if you want to drive rxvt as a generic terminal emulator
566without having to run a program within it.
567</dd>
568<dd>
569<p>If this switch is given, rxvt will not create any utmp/wtmp
570entries and will not tinker with pty/tty permissions - you have to do that
571yourself if you want that.</p>
572</dd>
573<dd>
574<p>Here is a example in perl that illustrates how this option can be used (a
575longer example is in <em>doc/pty-fd</em>):</p>
576</dd>
577<dd>
578<pre>
579 use IO::Pty;
580 use Fcntl;</pre>
581</dd>
582<dd>
583<pre>
584 my $pty = new IO::Pty;
585 fcntl $pty, F_SETFD, 0; # clear close-on-exec
586 system &quot;rxvt -pty-fd &quot; . (fileno $pty) . &quot;&amp;&quot;;
587 close $pty;</pre>
588</dd>
589<dd>
590<pre>
591 # now communicate with rxvt
592 my $slave = $pty-&gt;slave;
593 while (&lt;$slave&gt;) { print $slave &quot;got &lt;$_&gt;\n&quot; }</pre>
505</dd> 594</dd>
506<p></p></dl> 595<p></p></dl>
507<p> 596<p>
508</p> 597</p>
509<hr /> 598<hr />
512options) compiled into your version.</p> 601options) compiled into your version.</p>
513<p>There are two different methods that rxvt can use to get the 602<p>There are two different methods that rxvt can use to get the
514Xresource data: using the X libraries (Xrm*-functions) or internal 603Xresource data: using the X libraries (Xrm*-functions) or internal
515Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie. 604Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie.
516<strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the 605<strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the
517resources using X11 tools like <strong>xset</strong>. Many distribution do also load 606resources using X11 tools like <strong>xrdb</strong>. Many distribution do also load
518settings from the <strong>~/.Xresources</strong> file when X starts.</p> 607settings from the <strong>~/.Xresources</strong> file when X starts. rxvt
608will consult the following files/resources in order, with later settings
609overwriting earlier ones:</p>
610<pre>
611 1. system-wide app-defaults file, either locale-dependent OR global
612 2. app-defaults file in $XAPPLRESDIR
613 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults
614 4. SCREEN_RESOURCES for the current screen
615 5. $XENVIRONMENT file OR $HOME/.Xdefaults-&lt;nodename&gt;</pre>
519<p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong> 616<p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong>
520lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults 617lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults
521set in XAPPLOADDIR/URxvt (compile-time defined: usually 618set in XAPPLOADDIR/URxvt (compile-time defined: usually
522<strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in 619<strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in
523<strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist. 620<strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist.
895<p></p> 992<p></p>
896<dt><strong><a name="item_scrollwithbuffer_3a_boolean"><strong>scrollWithBuffer:</strong> <em>boolean</em></a></strong><br /> 993<dt><strong><a name="item_scrollwithbuffer_3a_boolean"><strong>scrollWithBuffer:</strong> <em>boolean</em></a></strong><br />
897</dt> 994</dt>
898<dd> 995<dd>
899<strong>True</strong>: scroll with scrollback buffer when tty receives new lines (and 996<strong>True</strong>: scroll with scrollback buffer when tty receives new lines (and
900<strong>scrollTtyOutput</strong> is False); option <strong>+sw</strong>. <strong>False</strong>: do not scroll 997<strong>scrollTtyOutput</strong> is False); option <strong>-sw</strong>. <strong>False</strong>: do not scroll
901with scrollback buffer when tty recieves new lines; option <strong>-sw</strong>. 998with scrollback buffer when tty recieves new lines; option <strong>+sw</strong>.
902</dd> 999</dd>
903<p></p> 1000<p></p>
904<dt><strong><a name="item_scrollttykeypress_3a_boolean"><strong>scrollTtyKeypress:</strong> <em>boolean</em></a></strong><br /> 1001<dt><strong><a name="item_scrollttykeypress_3a_boolean"><strong>scrollTtyKeypress:</strong> <em>boolean</em></a></strong><br />
905</dt> 1002</dt>
906<dd> 1003<dd>
1046</dd> 1143</dd>
1047<p></p> 1144<p></p>
1048<dt><strong><a name="item_imlocale_3a_name"><strong>imLocale:</strong> <em>name</em></a></strong><br /> 1145<dt><strong><a name="item_imlocale_3a_name"><strong>imLocale:</strong> <em>name</em></a></strong><br />
1049</dt> 1146</dt>
1050<dd> 1147<dd>
1051The locale to use for opening the IM. You can use an LC_CTYPE of e.g. 1148The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g.
1052de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input 1149<code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the
1053extension to be able to input japanese characters while staying in 1150input extension to be able to input japanese characters while staying in
1054another locale. option <strong>-imlocale</strong>. 1151another locale. option <strong>-imlocale</strong>.
1152</dd>
1153<p></p>
1154<dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br />
1155</dt>
1156<dd>
1157Specify the font-set used for XIM styles <code>OverTheSpot</code> or
1158<code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated
1159by commas), i.e. it's not in the same format as the other font lists used
1160in rxvt. The default will be set-up to chose *any* suitable found
1161found, preferably one or two pixels differing in size to the base font.
1162option <strong>-imfont</strong>.
1163</dd>
1164<p></p>
1165<dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br />
1166</dt>
1167<dd>
1168Change the meaning of triple-click selection with the left mouse
1169button. Instead of selecting a full line it will extend the selection to
1170the end of the logical line only. option <strong>-tcw</strong>.
1055</dd> 1171</dd>
1056<p></p> 1172<p></p>
1057<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br /> 1173<dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br />
1058</dt> 1174</dt>
1059<dd> 1175<dd>
1114<strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>.</p> 1230<strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>.</p>
1115</dd> 1231</dd>
1116<dd> 1232<dd>
1117<p>The <strong>NumLock</strong>, <strong>Meta</strong> and <strong>ISOLevel3</strong> modifiers are usually aliased to 1233<p>The <strong>NumLock</strong>, <strong>Meta</strong> and <strong>ISOLevel3</strong> modifiers are usually aliased to
1118whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr 1234whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr
1119keys are being mapped. <strong>AppKeypad</strong> is a artificial modifier mapped to the 1235keys are being mapped. <strong>AppKeypad</strong> is a synthetic modifier mapped to the
1120current application keymap mode state.</p> 1236current application keymap mode state.</p>
1121</dd> 1237</dd>
1122<dd> 1238<dd>
1123<p>The spellings of <em>key</em> can be obtained by using <strong>xev</strong>(1) command or 1239<p>The spellings of <em>key</em> can be obtained by using <strong>xev</strong>(1) command or
1124searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and 1240searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and
1132<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete, 1248<code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete,
1133<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it 1249<code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it
1134can start or end with whitespace.</p> 1250can start or end with whitespace.</p>
1135</dd> 1251</dd>
1136<dd> 1252<dd>
1253<p>Please note that you need to double the <code>\</code> when using
1254<code>--enable-xgetdefault</code>, as X itself does it's own de-escaping (you can
1255use <code>\033</code> instead of <code>\e</code> (and so on), which will work with both Xt and
1256rxvt's own processing).</p>
1257</dd>
1258<dd>
1137<p>You can define a range of keysyms in one shot by providing a <em>string</em> 1259<p>You can define a range of keysyms in one shot by providing a <em>string</em>
1138with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/' 1260with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/'
1139should be a character not used by the strings.</p> 1261should be a character not used by the strings.</p>
1140</dd> 1262</dd>
1141<dd> 1263<dd>
1142<p>Its usage can be demonstrated by an example:</p> 1264<p>Its usage can be demonstrated by an example:</p>
1143</dd> 1265</dd>
1144<dd> 1266<dd>
1145<pre> 1267<pre>
1146 URxvt.keysym.M-C-0x61: list|\e&lt;M-C-|abc|&gt;</pre> 1268 URxvt.keysym.M-C-0x61: list|\033&lt;M-C-|abc|&gt;</pre>
1147</dd> 1269</dd>
1148<dd> 1270<dd>
1149<p>The above line is equivalent to the following three lines:</p> 1271<p>The above line is equivalent to the following three lines:</p>
1150</dd> 1272</dd>
1151<dd> 1273<dd>
1152<pre> 1274<pre>
1153 URxvt.keysym.Meta-Control-0x61: \e&lt;M-C-a&gt; 1275 URxvt.keysym.Meta-Control-0x61: \033&lt;M-C-a&gt;
1154 URxvt.keysym.Meta-Control-0x62: \e&lt;M-C-b&gt; 1276 URxvt.keysym.Meta-Control-0x62: \033&lt;M-C-b&gt;
1155 URxvt.keysym.Meta-Control-0x63: \e&lt;M-C-c&gt;</pre> 1277 URxvt.keysym.Meta-Control-0x63: \033&lt;M-C-c&gt;</pre>
1156</dd>
1157<dd> 1278</dd>
1279<dd>
1158<p>If <em>string</em> takes the form of <code>proto:STRING</code>, the specified <strong>STRING</strong> is 1280<p>If <em>string</em> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong>
1159interpreted and executed as rxvt's control sequence. For example, 1281is interpreted and executed as rxvt's control sequence. For
1160<code>proto:\033]701;zh_CN.GBK\007</code> means: change the current locale to 1282example the following means ``change the current locale to <code>zh_CN.GBK</code>
1161<code>zh_CN.GBK</code>.</p> 1283when Control-Meta-c is being pressed'':</p>
1284</dd>
1285<dd>
1286<pre>
1287 URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre>
1288</dd>
1289<dd>
1290<p>The following example will map Control-Meta-1 and Control-Meta-2 to
1291the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited
1292font-switching at runtime:</p>
1293</dd>
1294<dd>
1295<pre>
1296 URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007
1297 URxvt.keysym.M-C-2: command:\033]50;9x15bold\007</pre>
1298</dd>
1299<dd>
1300<p>Other things are possible, e.g. resizing (see <code>rxvt(7)</code> for more
1301info):</p>
1302</dd>
1303<dd>
1304<pre>
1305 URxvt.keysym.M-C-3: command:\033[8;25;80t
1306 URxvt.keysym.M-C-4: command:\033[8;48;110t</pre>
1162</dd> 1307</dd>
1163<p></p></dl> 1308<p></p></dl>
1164<p> 1309<p>
1165</p> 1310</p>
1166<hr /> 1311<hr />
1180<p>To temporarily override mouse reporting, for either the scrollbar or 1325<p>To temporarily override mouse reporting, for either the scrollbar or
1181the normal text selection/insertion, hold either the Shift or the Meta 1326the normal text selection/insertion, hold either the Shift or the Meta
1182(Alt) key while performing the desired mouse action.</p> 1327(Alt) key while performing the desired mouse action.</p>
1183<p>If mouse reporting mode is active, the normal scrollbar actions are 1328<p>If mouse reporting mode is active, the normal scrollbar actions are
1184disabled -- on the assumption that we are using a fullscreen 1329disabled -- on the assumption that we are using a fullscreen
1185application. Instead, pressing Button1 and Button3 sends <strong>ESC[6~</strong> 1330application. Instead, pressing Button1 and Button3 sends <strong>ESC [ 6 ~</strong>
1186(Next) and <strong>ESC[5~</strong> (Prior), respectively. Similarly, clicking on the 1331(Next) and <strong>ESC [ 5 ~</strong> (Prior), respectively. Similarly, clicking on the
1187up and down arrows sends <strong>ESC[A</strong> (Up) and <strong>ESC[B</strong> (Down), 1332up and down arrows sends <strong>ESC [ A</strong> (Up) and <strong>ESC [ B</strong> (Down),
1188respectively.</p> 1333respectively.</p>
1189<p> 1334<p>
1190</p> 1335</p>
1191<hr /> 1336<hr />
1192<h1><a name="text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></h1> 1337<h1><a name="text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></h1>
1194<em>xterm</em>(1).</p> 1339<em>xterm</em>(1).</p>
1195<dl> 1340<dl>
1196<dt><strong><a name="item_selection_3a"><strong>Selection</strong>:</a></strong><br /> 1341<dt><strong><a name="item_selection_3a"><strong>Selection</strong>:</a></strong><br />
1197</dt> 1342</dt>
1198<dd> 1343<dd>
1199Left click at the beginning of the region, drag to the end of the 1344Left click at the beginning of the region, drag to the end of the region
1200region and release; Right click to extend the marked region; Left 1345and release; Right click to extend the marked region; Left double-click
1201double-click to select a word; Left triple-click to select the entire 1346to select a word; Left triple-click to select the entire logical line
1202line. 1347(which can span multiple screen lines), unless modified by resource
1348<strong>tripleclickwords</strong>.
1203</dd> 1349</dd>
1204<dd> 1350<dd>
1205<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys) 1351<p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys)
1206(Compile: <em>frills</em>) will create a rectangular selection instead of a normal 1352(Compile: <em>frills</em>) will create a rectangular selection instead of a normal
1207one.</p> 1353one.</p>
1233<p>ISO 14755 is a standard for entering and viewing unicode characters 1379<p>ISO 14755 is a standard for entering and viewing unicode characters
1234and character codes using the keyboard. It consists of 4 parts. The 1380and character codes using the keyboard. It consists of 4 parts. The
1235first part is available rxvt-unicode has been compiled with 1381first part is available rxvt-unicode has been compiled with
1236<code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled 1382<code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled
1237with <code>--enable-iso14755</code>.</p> 1383with <code>--enable-iso14755</code>.</p>
1238<ol> 1384<ul>
1239<li><strong><a name="item_1_3a_basic_method">1: Basic method</a></strong><br /> 1385<li><strong><a name="item_5_2e1_3a_basic_method">5.1: Basic method</a></strong><br />
1240</li> 1386</li>
1241This allows you to enter unicode characters using their hexcode. 1387This allows you to enter unicode characters using their hexcode.
1242<p>Start by pressing and holding both <code>Control</code> and <code>Shift</code>, then enter 1388<p>Start by pressing and holding both <code>Control</code> and <code>Shift</code>, then enter
1243hex-digits (between one and six). Releasing <code>Control</code> and <code>Shift</code> will 1389hex-digits (between one and six). Releasing <code>Control</code> and <code>Shift</code> will
1244commit the character as if it were typed directly. While holding down 1390commit the character as if it were typed directly. While holding down
1249address, which you cannot type. Fortunately, the card has the e-mail 1395address, which you cannot type. Fortunately, the card has the e-mail
1250address printed as hexcodes, e.g. <code>671d 65e5</code>. You can enter this easily 1396address printed as hexcodes, e.g. <code>671d 65e5</code>. You can enter this easily
1251by pressing <code>Control</code> and <code>Shift</code>, followed by <code>6-7-1-D-SPACE-6-5-E-5</code>, 1397by pressing <code>Control</code> and <code>Shift</code>, followed by <code>6-7-1-D-SPACE-6-5-E-5</code>,
1252followed by releasing the modifier keys.</p> 1398followed by releasing the modifier keys.</p>
1253<p></p> 1399<p></p>
1254<li><strong><a name="item_2_3a_keyboard_symbols_entry_method">2: Keyboard symbols entry method</a></strong><br /> 1400<li><strong><a name="item_5_2e2_3a_keyboard_symbols_entry_method">5.2: Keyboard symbols entry method</a></strong><br />
1255</li> 1401</li>
1256This mode lets you input characters representing the keycap symbols of 1402This mode lets you input characters representing the keycap symbols of
1257your keyboard, if representable in the current locale encoding. 1403your keyboard, if representable in the current locale encoding.
1258<p>Start by pressing <code>Control</code> and <code>Shift</code> together, then releasing 1404<p>Start by pressing <code>Control</code> and <code>Shift</code> together, then releasing
1259them. The next special key (cursor keys, home etc.) you enter will not 1405them. The next special key (cursor keys, home etc.) you enter will not
1261keycap symbol. The symbol will only be entered when the key has been 1407keycap symbol. The symbol will only be entered when the key has been
1262released, otherwise pressing e.g. <code>Shift</code> would enter the symbol for 1408released, otherwise pressing e.g. <code>Shift</code> would enter the symbol for
1263<code>ISO Level 2 Switch</code>, although your intention might have been to enter a 1409<code>ISO Level 2 Switch</code>, although your intention might have been to enter a
1264reverse tab (Shift-Tab).</p> 1410reverse tab (Shift-Tab).</p>
1265<p></p> 1411<p></p>
1266<li><strong><a name="item_3_3a_screen_2dselection_entry_method">3: Screen-selection entry method</a></strong><br /> 1412<li><strong><a name="item_5_2e3_3a_screen_2dselection_entry_method">5.3: Screen-selection entry method</a></strong><br />
1267</li> 1413</li>
1268While this is implemented already (it's basically the selection 1414While this is implemented already (it's basically the selection
1269mechanism), it could be extended by displaying a unicode character map. 1415mechanism), it could be extended by displaying a unicode character map.
1270<p></p> 1416<p></p>
1271<li><strong><a name="item_4_3a_feedback_method_for_identifying_displayed_cha">4: Feedback method for identifying displayed characters for later input</a></strong><br /> 1417<li><strong><a name="item_5_2e4_3a_feedback_method_for_identifying_displayed">5.4: Feedback method for identifying displayed characters for later input</a></strong><br />
1272</li> 1418</li>
1273This method lets you display the unicode character code associated with 1419This method lets you display the unicode character code associated with
1274characters already displayed. 1420characters already displayed.
1275<p>You enter this mode by holding down <code>Control</code> and <code>Shift</code> together, then 1421<p>You enter this mode by holding down <code>Control</code> and <code>Shift</code> together, then
1276pressing and holding the left mouse button and moving around. The unicode 1422pressing and holding the left mouse button and moving around. The unicode
1278pointer is displayed until you release <code>Control</code> and <code>Shift</code>.</p> 1424pointer is displayed until you release <code>Control</code> and <code>Shift</code>.</p>
1279<p>In addition to the hex codes it will display the font used to draw this 1425<p>In addition to the hex codes it will display the font used to draw this
1280character - due to implementation reasons, characters combined with 1426character - due to implementation reasons, characters combined with
1281combining characters, line drawing characters and unknown characters will 1427combining characters, line drawing characters and unknown characters will
1282always be drawn using the built-in support font.</p> 1428always be drawn using the built-in support font.</p>
1283<p></p></ol> 1429<p></p></ul>
1284<p>With respect to conformance, rxvt-unicode is supposed to be compliant to 1430<p>With respect to conformance, rxvt-unicode is supposed to be compliant to
1285both scenario A and B of ISO 14755, including part 5.2.</p> 1431both scenario A and B of ISO 14755, including part 5.2.</p>
1286<p> 1432<p>
1287</p> 1433</p>
1288<hr /> 1434<hr />
1289<h1><a name="login_stamp">LOGIN STAMP</a></h1> 1435<h1><a name="login_stamp">LOGIN STAMP</a></h1>
1290<p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so 1436<p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so that
1291that it can be seen via the <em>who(1)</em> command, and can accept messages. 1437it can be seen via the <em>who(1)</em> command, and can accept messages. To
1292To allow this feature, <strong>rxvt</strong> must be installed setuid root on 1438allow this feature, <strong>rxvt</strong> may need to be installed setuid root
1293some systems.</p> 1439on some systems or setgid to root or to some other group on others.</p>
1294<p> 1440<p>
1295</p> 1441</p>
1296<hr /> 1442<hr />
1297<h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1> 1443<h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1>
1298<p>In addition to the default foreground and background colours, 1444<p>In addition to the default foreground and background colours,
1336<p></p></dl> 1482<p></p></dl>
1337<p> 1483<p>
1338</p> 1484</p>
1339<hr /> 1485<hr />
1340<h1><a name="environment">ENVIRONMENT</a></h1> 1486<h1><a name="environment">ENVIRONMENT</a></h1>
1341<p><strong>rxvt</strong> sets the environment variables <strong>TERM</strong>, <strong>COLORTERM</strong> 1487<p><strong>rxvt</strong> sets and/or uses the following environment variables:</p>
1342and <strong>COLORFGBG</strong>. The environment variable <strong>WINDOWID</strong> is set to the X 1488<dl>
1343window id number of the <strong>rxvt</strong> window and it also uses and 1489<dt><strong><a name="item_term"><strong>TERM</strong></a></strong><br />
1344sets the environment variable <strong>DISPLAY</strong> to specify which display 1490</dt>
1345terminal to use. <strong>rxvt</strong> uses the environment variables 1491<dd>
1346<strong>RXVTPATH</strong> and <strong>PATH</strong> to find XPM files.</p> 1492Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via
1493resources or on the commandline.
1494</dd>
1495<p></p>
1496<dt><strong><a name="item_colorterm"><strong>COLORTERM</strong></a></strong><br />
1497</dt>
1498<dd>
1499Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on wether rxvt was
1500compiled with XPM support, and optionally with the added extension
1501<code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen.
1502</dd>
1503<p></p>
1504<dt><strong><a name="item_colorfgbg"><strong>COLORFGBG</strong></a></strong><br />
1505</dt>
1506<dd>
1507Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is
1508the colour code used as default foreground/text colour (or the string
1509<code>default</code> to indicate that the default-colour escape sequence is to be
1510used), <code>bg</code> is the colour code used as default background colour (or the
1511string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if rxvt
1512was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can
1513(and do) use this information to optimize screen output.
1514</dd>
1515<p></p>
1516<dt><strong><a name="item_windowid"><strong>WINDOWID</strong></a></strong><br />
1517</dt>
1518<dd>
1519Set to the (decimal) X Window ID of the rxvt window (the toplevel
1520window, which usually has subwindows for the scrollbar, the terminal
1521window and so on).
1522</dd>
1523<p></p>
1524<dt><strong><a name="item_terminfo"><strong>TERMINFO</strong></a></strong><br />
1525</dt>
1526<dd>
1527Set to the terminfo directory iff rxvt was configured with
1528<code>--with-terminfo=PATH</code>.
1529</dd>
1530<p></p>
1531<dt><strong><a name="item_display"><strong>DISPLAY</strong></a></strong><br />
1532</dt>
1533<dd>
1534Used by rxvt to connect to the display and set to the correct
1535display in it's child processes.
1536</dd>
1537<p></p>
1538<dt><strong><a name="item_shell"><strong>SHELL</strong></a></strong><br />
1539</dt>
1540<dd>
1541The shell to be used for command execution, defaults to <code>/bin/sh</code>.
1542</dd>
1543<p></p>
1544<dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br />
1545</dt>
1546<dd>
1547The path where rxvt looks for support files such as menu and xpm
1548files.
1549</dd>
1550<p></p>
1551<dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br />
1552</dt>
1553<dd>
1554Used in the same way as <a href="#item_rxvtpath"><code>RXVTPATH</code></a>.
1555</dd>
1556<p></p>
1557<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br />
1558</dt>
1559<dd>
1560The unix domain socket path used by <code>rxvtc(1)</code> and
1561rxvtd(1).
1562</dd>
1563<dd>
1564<p>Default <code>$HOME/.rxvt-unicode-&lt;nodename</code>.</p>
1565</dd>
1566<p></p>
1567<dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br />
1568</dt>
1569<dd>
1570Used to locate the default directory for the unix domain socket for
1571daemon communications and to locate various resource files (such as
1572<code>.Xdefaults</code>)
1573</dd>
1574<p></p>
1575<dt><strong><a name="item_xapplresdir"><strong>XAPPLRESDIR</strong></a></strong><br />
1576</dt>
1577<dd>
1578Directory where various X resource files are being located.
1579</dd>
1580<p></p>
1581<dt><strong><a name="item_xenvironment"><strong>XENVIRONMENT</strong></a></strong><br />
1582</dt>
1583<dd>
1584If set and accessible, gives the name of a X resource file to be loaded by
1585rxvt.
1586</dd>
1587<p></p></dl>
1347<p> 1588<p>
1348</p> 1589</p>
1349<hr /> 1590<hr />
1350<h1><a name="files">FILES</a></h1> 1591<h1><a name="files">FILES</a></h1>
1351<dl> 1592<dl>
1352<dt><strong><a name="item__2fetc_2futmp"><strong>/etc/utmp</strong></a></strong><br />
1353</dt>
1354<dd>
1355System file for login records.
1356</dd>
1357<p></p>
1358<dt><strong><a name="item__2fusr_2flib_2fx11_2frgb_2etxt"><strong>/usr/lib/X11/rgb.txt</strong></a></strong><br /> 1593<dt><strong><a name="item__2fusr_2flib_2fx11_2frgb_2etxt"><strong>/usr/lib/X11/rgb.txt</strong></a></strong><br />
1359</dt> 1594</dt>
1360<dd> 1595<dd>
1361Color names. 1596Color names.
1362</dd> 1597</dd>
1379<h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> 1614<h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1>
1380<dl> 1615<dl>
1381<dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br /> 1616<dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br />
1382</dt> 1617</dt>
1383<dd> 1618<dd>
1384Marc A. Lehmann <em><a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a></em> 1619Marc A. Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>&gt;
1385</dd>
1386<p></p>
1387<dt><strong><a name="item_web_page_maintainter">Web page maintainter</a></strong><br />
1388</dt>
1389<dd> 1620</dd>
1390Marc A. Lehmann <em><a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a></em>
1391</dd> 1621<dd>
1392<dd>
1393<p><a href="http://software.schmorp.de/">http://software.schmorp.de/</a></p> 1622<p><a href="http://software.schmorp.de/#rxvt-unicode">http://software.schmorp.de/#rxvt-unicode</a></p>
1394</dd> 1623</dd>
1395<p></p></dl> 1624<p></p></dl>
1396<p> 1625<p>
1397</p> 1626</p>
1398<hr /> 1627<hr />
1436<dd> 1665<dd>
1437Rewrote screen display and text selection routines. Project Coordinator 1666Rewrote screen display and text selection routines. Project Coordinator
1438(changes.txt 2.4.6 - rxvt-unicode) 1667(changes.txt 2.4.6 - rxvt-unicode)
1439</dd> 1668</dd>
1440<p></p> 1669<p></p>
1441<dt><strong><a name="item_marc_alexander_lehmann__3crxvt_40schmorp_2ede_3e">Marc Alexander Lehmann <em><a href="mailto:<rxvt@schmorp.de"><rxvt@schmorp.de</a></em>&gt;</a></strong><br /> 1670<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 />
1442</dt> 1671</dt>
1443<dd> 1672<dd>
1444Forked rxvt-unicode, rewrote most of the display code and internal 1673Forked rxvt-unicode, rewrote most of the display code and internal
1445character handling to store text in unicode, improve xterm 1674character handling to store text in unicode, improve xterm
1446compatibility and apply numerous other bugfixes and extensions. 1675compatibility and apply numerous other bugfixes and extensions.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines