… | |
… | |
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></strong>, is a colour vt102 terminal |
53 | emulator intended as an <em>xterm</em>(1) replacement for users who do not |
53 | emulator intended as an <em>xterm</em>(1) replacement for users who do not |
54 | require features such as Tektronix 4014 emulation and toolkit-style |
54 | require features such as Tektronix 4014 emulation and toolkit-style |
55 | configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space -- |
55 | configurability. As a result, <strong>rxvt-unicode</strong> uses much less swap space -- |
56 | a significant advantage on a machine serving many X sessions.</p> |
56 | a 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 |
62 | asked questions and answer to them and some common problems.</p> |
62 | frequently asked questions and answer to them and some common |
|
|
63 | problems. 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 |
… | |
… | |
194 | <p></p> |
196 | <p></p> |
195 | <dt><strong><a name="item__2dpixmap_file_5b_3bgeom_5d"><strong>-pixmap</strong> <em>file[;geom]</em></a></strong><br /> |
197 | <dt><strong><a name="item__2dpixmap_file_5b_3bgeom_5d"><strong>-pixmap</strong> <em>file[;geom]</em></a></strong><br /> |
196 | </dt> |
198 | </dt> |
197 | <dd> |
199 | <dd> |
198 | Compile <em>XPM</em>: Specify XPM file for the background and also optionally |
200 | Compile <em>XPM</em>: Specify XPM file for the background and also optionally |
199 | specify its scaling with a geometry string. Note you may need to add |
201 | specify its scaling with a geometry string. Note you may need to |
200 | quotes to avoid special shell interpretation of the `;' in the |
202 | add quotes to avoid special shell interpretation of the <code>;</code> in the |
201 | command-line; resource <strong>backgroundPixmap</strong>. |
203 | command-line; resource <strong>backgroundPixmap</strong>. |
202 | </dd> |
204 | </dd> |
203 | <p></p> |
205 | <p></p> |
204 | <dt><strong><a name="item__2dcr_colour"><strong>-cr</strong> <em>colour</em></a></strong><br /> |
206 | <dt><strong><a name="item__2dcr_colour"><strong>-cr</strong> <em>colour</em></a></strong><br /> |
205 | </dt> |
207 | </dt> |
… | |
… | |
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> |
463 | The locale to use for opening the IM. You can use an LC_CTYPE of e.g. |
465 | The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g. |
464 | de_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 |
465 | extension to be able to input japanese characters while staying in |
467 | input extension to be able to input japanese characters while staying in |
466 | another locale. |
468 | another 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> |
|
|
474 | Set the font set to use for the X Input Method, see resource <strong>imFont</strong> |
|
|
475 | for more info. |
|
|
476 | </dd> |
|
|
477 | <p></p> |
|
|
478 | <dt><strong><a name="item__2dtcw"><strong>-tcw</strong></a></strong><br /> |
|
|
479 | </dt> |
|
|
480 | <dd> |
|
|
481 | Change the meaning of triple-click selection with the left mouse |
|
|
482 | button. Instead of selecting a full line it will extend the selection the |
|
|
483 | end 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> |
… | |
… | |
492 | <dt><strong><a name="item__2dssr_7c_2bssr"><strong>-ssr</strong>|<strong>+ssr</strong></a></strong><br /> |
509 | <dt><strong><a name="item__2dssr_7c_2bssr"><strong>-ssr</strong>|<strong>+ssr</strong></a></strong><br /> |
493 | </dt> |
510 | </dt> |
494 | <dd> |
511 | <dd> |
495 | Turn on/off secondary screen scroll (default enabled); resource |
512 | Turn on/off secondary screen scroll (default enabled); resource |
496 | <strong>secondaryScroll</strong>. |
513 | <strong>secondaryScroll</strong>. |
|
|
514 | </dd> |
|
|
515 | <p></p> |
|
|
516 | <dt><strong><a name="item__2dkeysym_2esym_3a_string"><strong>-keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> |
|
|
517 | </dt> |
|
|
518 | <dd> |
|
|
519 | Remap a key symbol. See resource <strong>keysym</strong>. |
497 | </dd> |
520 | </dd> |
498 | <p></p> |
521 | <p></p> |
499 | <dt><strong><a name="item__2dxrm_resourcestring"><strong>-xrm</strong> <em>resourcestring</em></a></strong><br /> |
522 | <dt><strong><a name="item__2dxrm_resourcestring"><strong>-xrm</strong> <em>resourcestring</em></a></strong><br /> |
500 | </dt> |
523 | </dt> |
501 | <dd> |
524 | <dd> |
… | |
… | |
512 | options) compiled into your version.</p> |
535 | options) compiled into your version.</p> |
513 | <p>There are two different methods that rxvt can use to get the |
536 | <p>There are two different methods that rxvt can use to get the |
514 | Xresource data: using the X libraries (Xrm*-functions) or internal |
537 | Xresource data: using the X libraries (Xrm*-functions) or internal |
515 | Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie. |
538 | Xresources reader (<strong>~/.Xdefaults</strong>). For the first method (ie. |
516 | <strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the |
539 | <strong>rxvt -h</strong> lists <strong>XGetDefaults</strong>), you can set and change the |
517 | resources using X11 tools like <strong>xset</strong>. Many distribution do also load |
540 | resources using X11 tools like <strong>xrdb</strong>. Many distribution do also load |
518 | settings from the <strong>~/.Xresources</strong> file when X starts.</p> |
541 | settings from the <strong>~/.Xresources</strong> file when X starts. rxvt |
|
|
542 | will consult the following files/resources in order, with later settings |
|
|
543 | overwriting earlier ones:</p> |
|
|
544 | <pre> |
|
|
545 | 1. system-wide app-defaults file, either locale-dependent OR global |
|
|
546 | 2. app-defaults file in $XAPPLRESDIR |
|
|
547 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
|
|
548 | 4. SCREEN_RESOURCES for the current screen |
|
|
549 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename></pre> |
519 | <p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong> |
550 | <p>If compiled with internal Xresources support (i.e. <strong>rxvt -h</strong> |
520 | lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults |
551 | lists <strong>.Xdefaults</strong>) then <strong>rxvt</strong> accepts application defaults |
521 | set in XAPPLOADDIR/URxvt (compile-time defined: usually |
552 | set in XAPPLOADDIR/URxvt (compile-time defined: usually |
522 | <strong>/usr/lib/X11/app-defaults/URxvt</strong>) and resources set in |
553 | <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. |
554 | <strong>~/.Xdefaults</strong>, or <strong>~/.Xresources</strong> if <strong>~/.Xdefaults</strong> does not exist. |
… | |
… | |
576 | <dt><strong><a name="item_colorit_3a_colour"><strong>colorIT:</strong> <em>colour</em></a></strong><br /> |
607 | <dt><strong><a name="item_colorit_3a_colour"><strong>colorIT:</strong> <em>colour</em></a></strong><br /> |
577 | </dt> |
608 | </dt> |
578 | <dd> |
609 | <dd> |
579 | Use the specified colour to display bold or italic characters when the |
610 | Use the specified colour to display bold or italic characters when the |
580 | foreground colour is the default. If font styles are not available |
611 | foreground colour is the default. If font styles are not available |
581 | (Compile styles) and this option is unset, reverse video is used instead. |
612 | (Compile <em>styles</em>) and this option is unset, reverse video is used instead. |
582 | </dd> |
613 | </dd> |
583 | <p></p> |
614 | <p></p> |
584 | <dt><strong><a name="item_colorul_3a_colour"><strong>colorUL:</strong> <em>colour</em></a></strong><br /> |
615 | <dt><strong><a name="item_colorul_3a_colour"><strong>colorUL:</strong> <em>colour</em></a></strong><br /> |
585 | </dt> |
616 | </dt> |
586 | <dd> |
617 | <dd> |
… | |
… | |
719 | be smaller, but not larger. A reasonable default font list is always |
750 | be smaller, but not larger. A reasonable default font list is always |
720 | appended to it. option <strong>-fn</strong>. |
751 | appended to it. option <strong>-fn</strong>. |
721 | </dd> |
752 | </dd> |
722 | <dd> |
753 | <dd> |
723 | <p>Each font can either be a standard X11 core font (XLFD) name, with |
754 | <p>Each font can either be a standard X11 core font (XLFD) name, with |
724 | optional prefix <code>x:</code> or a Xft font (Compile xft), prefixed with <code>xft:</code>.</p> |
755 | optional prefix <code>x:</code> or a Xft font (Compile <em>xft</em>), prefixed with <code>xft:</code>.</p> |
725 | </dd> |
756 | </dd> |
726 | <dd> |
757 | <dd> |
727 | <p>In addition, each font can be prefixed with additional hints and |
758 | <p>In addition, each font can be prefixed with additional hints and |
728 | specifications enclosed in square brackets (<code>[]</code>). The only available |
759 | specifications enclosed in square brackets (<code>[]</code>). The only available |
729 | hint currently is <code>codeset=codeset-name</code>, and this is only used for Xft |
760 | hint currently is <code>codeset=codeset-name</code>, and this is only used for Xft |
… | |
… | |
1046 | </dd> |
1077 | </dd> |
1047 | <p></p> |
1078 | <p></p> |
1048 | <dt><strong><a name="item_imlocale_3a_name"><strong>imLocale:</strong> <em>name</em></a></strong><br /> |
1079 | <dt><strong><a name="item_imlocale_3a_name"><strong>imLocale:</strong> <em>name</em></a></strong><br /> |
1049 | </dt> |
1080 | </dt> |
1050 | <dd> |
1081 | <dd> |
1051 | The locale to use for opening the IM. You can use an LC_CTYPE of e.g. |
1082 | The locale to use for opening the IM. You can use an <code>LC_CTYPE</code> of e.g. |
1052 | de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input |
1083 | <code>de_DE.UTF-8</code> for normal text processing but <code>ja_JP.EUC-JP</code> for the |
1053 | extension to be able to input japanese characters while staying in |
1084 | input extension to be able to input japanese characters while staying in |
1054 | another locale. option <strong>-imlocale</strong>. |
1085 | another locale. option <strong>-imlocale</strong>. |
|
|
1086 | </dd> |
|
|
1087 | <p></p> |
|
|
1088 | <dt><strong><a name="item_imfont_3a_fontset"><strong>imFont:</strong> <em>fontset</em></a></strong><br /> |
|
|
1089 | </dt> |
|
|
1090 | <dd> |
|
|
1091 | Specify the font-set used for XIM styles <code>OverTheSpot</code> or |
|
|
1092 | <code>OffTheSpot</code>. It must be a standard X font set (XLFD patterns separated |
|
|
1093 | by commas), i.e. it's not in the same format as the other font lists used |
|
|
1094 | in rxvt. The default will be set-up to chose *any* suitable found |
|
|
1095 | found, preferably one or two pixels differing in size to the base font. |
|
|
1096 | option <strong>-imfont</strong>. |
|
|
1097 | </dd> |
|
|
1098 | <p></p> |
|
|
1099 | <dt><strong><a name="item_tripleclickwords_3a_boolean"><strong>tripleclickwords:</strong> <em>boolean</em></a></strong><br /> |
|
|
1100 | </dt> |
|
|
1101 | <dd> |
|
|
1102 | Change the meaning of triple-click selection with the left mouse |
|
|
1103 | button. Instead of selecting a full line it will extend the selection to |
|
|
1104 | the end of the logical line only. option <strong>-tcw</strong>. |
1055 | </dd> |
1105 | </dd> |
1056 | <p></p> |
1106 | <p></p> |
1057 | <dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br /> |
1107 | <dt><strong><a name="item_insecure_3a_boolean"><strong>insecure:</strong> <em>boolean</em></a></strong><br /> |
1058 | </dt> |
1108 | </dt> |
1059 | <dd> |
1109 | <dd> |
… | |
… | |
1101 | </dd> |
1151 | </dd> |
1102 | <p></p> |
1152 | <p></p> |
1103 | <dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> |
1153 | <dt><strong><a name="item_keysym_2esym_3a_string"><strong>keysym.</strong><em>sym</em>: <em>string</em></a></strong><br /> |
1104 | </dt> |
1154 | </dt> |
1105 | <dd> |
1155 | <dd> |
1106 | Associate <em>string</em> with keysym <em>sym</em> (<strong>0xFF00 - 0xFFFF</strong>). It may |
1156 | Compile <em>frills</em>: Associate <em>string</em> with keysym <em>sym</em>. The |
1107 | contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n: |
|
|
1108 | newline, \r: return, \t: |
|
|
1109 | tab, \000: octal number) or control characters (^?: delete, ^@: null, |
|
|
1110 | ^A ...) and may enclosed with double quotes so that it can start or end |
|
|
1111 | with whitespace. The intervening resource name <strong>keysym.</strong> cannot be |
1157 | intervening resource name <strong>keysym.</strong> cannot be omitted. |
1112 | omitted. This resource is only available when compiled with |
1158 | </dd> |
1113 | KEYSYM_RESOURCE. |
1159 | <dd> |
|
|
1160 | <p>The format of <em>sym</em> is ``<em>(modifiers-)key</em>'', where <em>modifiers</em> can be |
|
|
1161 | any combination of <strong>ISOLevel3</strong>, <strong>AppKeypad</strong>, <strong>Control</strong>, <strong>NumLock</strong>, |
|
|
1162 | <strong>Shift</strong>, <strong>Meta</strong>, <strong>Lock</strong>, <strong>Mod1</strong>, <strong>Mod2</strong>, <strong>Mod3</strong>, <strong>Mod4</strong>, <strong>Mod5</strong>, |
|
|
1163 | and the abbreviated <strong>I</strong>, <strong>K</strong>, <strong>C</strong>, <strong>N</strong>, <strong>S</strong>, <strong>M</strong>, <strong>A</strong>, <strong>L</strong>, <strong>1</strong>, |
|
|
1164 | <strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>.</p> |
|
|
1165 | </dd> |
|
|
1166 | <dd> |
|
|
1167 | <p>The <strong>NumLock</strong>, <strong>Meta</strong> and <strong>ISOLevel3</strong> modifiers are usually aliased to |
|
|
1168 | whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr |
|
|
1169 | keys are being mapped. <strong>AppKeypad</strong> is a synthetic modifier mapped to the |
|
|
1170 | current application keymap mode state.</p> |
|
|
1171 | </dd> |
|
|
1172 | <dd> |
|
|
1173 | <p>The spellings of <em>key</em> can be obtained by using <strong>xev</strong>(1) command or |
|
|
1174 | searching keysym macros from <strong>/usr/X11R6/include/X11/keysymdef.h</strong> and |
|
|
1175 | omitting the prefix <strong>XK_</strong>. Alternatively you can specify <em>key</em> by its hex |
|
|
1176 | keysym value (<strong>0x0000 - 0xFFFF</strong>). Note that the lookup of <em>sym</em>s is not |
|
|
1177 | performed in an exact manner; however, the closest match is assured.</p> |
|
|
1178 | </dd> |
|
|
1179 | <dd> |
|
|
1180 | <p><em>string</em> may contain escape values (<code>\a</code>: bell, <code>\b</code>: backspace, |
|
|
1181 | <code>\e</code>, <code>\E</code>: escape, <code>\n</code>: newline, <code>\r</code>: carriage return, <code>\t</code>: tab, |
|
|
1182 | <code>\000</code>: octal number) or verbatim control characters (<code>^?</code>: delete, |
|
|
1183 | <code>^@</code>: null, <code>^A</code> ...) and may be enclosed with double quotes so that it |
|
|
1184 | can start or end with whitespace.</p> |
|
|
1185 | </dd> |
|
|
1186 | <dd> |
|
|
1187 | <p>Please note that you need to double the <code>\</code> when using |
|
|
1188 | <code>--enable-xgetdefault</code>, as X itself does it's own de-escaping (you can |
|
|
1189 | use <code>\033</code> instead of <code>\e</code> (and so on), which will work with both Xt and |
|
|
1190 | rxvt's own processing).</p> |
|
|
1191 | </dd> |
|
|
1192 | <dd> |
|
|
1193 | <p>You can define a range of keysyms in one shot by providing a <em>string</em> |
|
|
1194 | with pattern <strong>list/PREFIX/MIDDLE/SUFFIX</strong>, where the delimeter `/' |
|
|
1195 | should be a character not used by the strings.</p> |
|
|
1196 | </dd> |
|
|
1197 | <dd> |
|
|
1198 | <p>Its usage can be demonstrated by an example:</p> |
|
|
1199 | </dd> |
|
|
1200 | <dd> |
|
|
1201 | <pre> |
|
|
1202 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|></pre> |
|
|
1203 | </dd> |
|
|
1204 | <dd> |
|
|
1205 | <p>The above line is equivalent to the following three lines:</p> |
|
|
1206 | </dd> |
|
|
1207 | <dd> |
|
|
1208 | <pre> |
|
|
1209 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
|
|
1210 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
|
|
1211 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c></pre> |
|
|
1212 | </dd> |
|
|
1213 | <dd> |
|
|
1214 | <p>If <em>string</em> takes the form of <code>command:STRING</code>, the specified <strong>STRING</strong> |
|
|
1215 | is interpreted and executed as rxvt's control sequence. For |
|
|
1216 | example the following means ``change the current locale to <code>zh_CN.GBK</code> |
|
|
1217 | when Control-Meta-c is being pressed'':</p> |
|
|
1218 | </dd> |
|
|
1219 | <dd> |
|
|
1220 | <pre> |
|
|
1221 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> |
|
|
1222 | </dd> |
|
|
1223 | <dd> |
|
|
1224 | <p>The following example will map Control-Meta-1 and Control-Meta-2 to |
|
|
1225 | the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited |
|
|
1226 | font-switching at runtime:</p> |
|
|
1227 | </dd> |
|
|
1228 | <dd> |
|
|
1229 | <pre> |
|
|
1230 | URxvt.keysym.M-C-1: command:\033]50;suxuseuro\007 |
|
|
1231 | URxvt.keysym.M-C-2: command:\033]50;9x15bold\007</pre> |
|
|
1232 | </dd> |
|
|
1233 | <dd> |
|
|
1234 | <p>Other things are possible, e.g. resizing (see <code>rxvt(7)</code> for more |
|
|
1235 | info):</p> |
|
|
1236 | </dd> |
|
|
1237 | <dd> |
|
|
1238 | <pre> |
|
|
1239 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
|
|
1240 | URxvt.keysym.M-C-4: command:\033[8;48;110t</pre> |
1114 | </dd> |
1241 | </dd> |
1115 | <p></p></dl> |
1242 | <p></p></dl> |
1116 | <p> |
1243 | <p> |
1117 | </p> |
1244 | </p> |
1118 | <hr /> |
1245 | <hr /> |
… | |
… | |
1132 | <p>To temporarily override mouse reporting, for either the scrollbar or |
1259 | <p>To temporarily override mouse reporting, for either the scrollbar or |
1133 | the normal text selection/insertion, hold either the Shift or the Meta |
1260 | the normal text selection/insertion, hold either the Shift or the Meta |
1134 | (Alt) key while performing the desired mouse action.</p> |
1261 | (Alt) key while performing the desired mouse action.</p> |
1135 | <p>If mouse reporting mode is active, the normal scrollbar actions are |
1262 | <p>If mouse reporting mode is active, the normal scrollbar actions are |
1136 | disabled -- on the assumption that we are using a fullscreen |
1263 | disabled -- on the assumption that we are using a fullscreen |
1137 | application. Instead, pressing Button1 and Button3 sends <strong>ESC[6~</strong> |
1264 | application. Instead, pressing Button1 and Button3 sends <strong>ESC [ 6 ~</strong> |
1138 | (Next) and <strong>ESC[5~</strong> (Prior), respectively. Similarly, clicking on the |
1265 | (Next) and <strong>ESC [ 5 ~</strong> (Prior), respectively. Similarly, clicking on the |
1139 | up and down arrows sends <strong>ESC[A</strong> (Up) and <strong>ESC[B</strong> (Down), |
1266 | up and down arrows sends <strong>ESC [ A</strong> (Up) and <strong>ESC [ B</strong> (Down), |
1140 | respectively.</p> |
1267 | respectively.</p> |
1141 | <p> |
1268 | <p> |
1142 | </p> |
1269 | </p> |
1143 | <hr /> |
1270 | <hr /> |
1144 | <h1><a name="text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></h1> |
1271 | <h1><a name="text_selection_and_insertion">TEXT SELECTION AND INSERTION</a></h1> |
… | |
… | |
1146 | <em>xterm</em>(1).</p> |
1273 | <em>xterm</em>(1).</p> |
1147 | <dl> |
1274 | <dl> |
1148 | <dt><strong><a name="item_selection_3a"><strong>Selection</strong>:</a></strong><br /> |
1275 | <dt><strong><a name="item_selection_3a"><strong>Selection</strong>:</a></strong><br /> |
1149 | </dt> |
1276 | </dt> |
1150 | <dd> |
1277 | <dd> |
1151 | Left click at the beginning of the region, drag to the end of the |
1278 | Left click at the beginning of the region, drag to the end of the region |
1152 | region and release; Right click to extend the marked region; Left |
1279 | and release; Right click to extend the marked region; Left double-click |
1153 | double-click to select a word; Left triple-click to select the entire |
1280 | to select a word; Left triple-click to select the entire logical line |
1154 | line. |
1281 | (which can span multiple screen lines), unless modified by resource |
|
|
1282 | <strong>tripleclickwords</strong>. |
1155 | </dd> |
1283 | </dd> |
1156 | <dd> |
1284 | <dd> |
1157 | <p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys) |
1285 | <p>Starting a selection while pressing the <strong>Meta</strong> key (or <strong>Meta+Ctrl</strong> keys) |
1158 | (Compile: frills) will create a rectangular selection instead of a normal |
1286 | (Compile: <em>frills</em>) will create a rectangular selection instead of a normal |
1159 | one.</p> |
1287 | one.</p> |
1160 | </dd> |
1288 | </dd> |
1161 | <p></p> |
1289 | <p></p> |
1162 | <dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br /> |
1290 | <dt><strong><a name="item_insertion_3a"><strong>Insertion</strong>:</a></strong><br /> |
1163 | </dt> |
1291 | </dt> |
… | |
… | |
1185 | <p>ISO 14755 is a standard for entering and viewing unicode characters |
1313 | <p>ISO 14755 is a standard for entering and viewing unicode characters |
1186 | and character codes using the keyboard. It consists of 4 parts. The |
1314 | and character codes using the keyboard. It consists of 4 parts. The |
1187 | first part is available rxvt-unicode has been compiled with |
1315 | first part is available rxvt-unicode has been compiled with |
1188 | <code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled |
1316 | <code>--enable-frills</code>, the rest is available when rxvt-unicode was compiled |
1189 | with <code>--enable-iso14755</code>.</p> |
1317 | with <code>--enable-iso14755</code>.</p> |
1190 | <ol> |
1318 | <ul> |
1191 | <li><strong><a name="item_1_3a_basic_method">1: Basic method</a></strong><br /> |
1319 | <li><strong><a name="item_5_2e1_3a_basic_method">5.1: Basic method</a></strong><br /> |
1192 | </li> |
1320 | </li> |
1193 | This allows you to enter unicode characters using their hexcode. |
1321 | This allows you to enter unicode characters using their hexcode. |
1194 | <p>Start by pressing and holding both <code>Control</code> and <code>Shift</code>, then enter |
1322 | <p>Start by pressing and holding both <code>Control</code> and <code>Shift</code>, then enter |
1195 | hex-digits (between one and six). Releasing <code>Control</code> and <code>Shift</code> will |
1323 | hex-digits (between one and six). Releasing <code>Control</code> and <code>Shift</code> will |
1196 | commit the character as if it were typed directly. While holding down |
1324 | commit the character as if it were typed directly. While holding down |
… | |
… | |
1201 | address, which you cannot type. Fortunately, the card has the e-mail |
1329 | address, which you cannot type. Fortunately, the card has the e-mail |
1202 | address printed as hexcodes, e.g. <code>671d 65e5</code>. You can enter this easily |
1330 | address printed as hexcodes, e.g. <code>671d 65e5</code>. You can enter this easily |
1203 | by pressing <code>Control</code> and <code>Shift</code>, followed by <code>6-7-1-D-SPACE-6-5-E-5</code>, |
1331 | by pressing <code>Control</code> and <code>Shift</code>, followed by <code>6-7-1-D-SPACE-6-5-E-5</code>, |
1204 | followed by releasing the modifier keys.</p> |
1332 | followed by releasing the modifier keys.</p> |
1205 | <p></p> |
1333 | <p></p> |
1206 | <li><strong><a name="item_2_3a_keyboard_symbols_entry_method">2: Keyboard symbols entry method</a></strong><br /> |
1334 | <li><strong><a name="item_5_2e2_3a_keyboard_symbols_entry_method">5.2: Keyboard symbols entry method</a></strong><br /> |
1207 | </li> |
1335 | </li> |
1208 | This mode lets you input characters representing the keycap symbols of |
1336 | This mode lets you input characters representing the keycap symbols of |
1209 | your keyboard, if representable in the current locale encoding. |
1337 | your keyboard, if representable in the current locale encoding. |
1210 | <p>Start by pressing <code>Control</code> and <code>Shift</code> together, then releasing |
1338 | <p>Start by pressing <code>Control</code> and <code>Shift</code> together, then releasing |
1211 | them. The next special key (cursor keys, home etc.) you enter will not |
1339 | them. The next special key (cursor keys, home etc.) you enter will not |
… | |
… | |
1213 | keycap symbol. The symbol will only be entered when the key has been |
1341 | keycap symbol. The symbol will only be entered when the key has been |
1214 | released, otherwise pressing e.g. <code>Shift</code> would enter the symbol for |
1342 | released, otherwise pressing e.g. <code>Shift</code> would enter the symbol for |
1215 | <code>ISO Level 2 Switch</code>, although your intention might have been to enter a |
1343 | <code>ISO Level 2 Switch</code>, although your intention might have been to enter a |
1216 | reverse tab (Shift-Tab).</p> |
1344 | reverse tab (Shift-Tab).</p> |
1217 | <p></p> |
1345 | <p></p> |
1218 | <li><strong><a name="item_3_3a_screen_2dselection_entry_method">3: Screen-selection entry method</a></strong><br /> |
1346 | <li><strong><a name="item_5_2e3_3a_screen_2dselection_entry_method">5.3: Screen-selection entry method</a></strong><br /> |
1219 | </li> |
1347 | </li> |
1220 | While this is implemented already (it's basically the selection |
1348 | While this is implemented already (it's basically the selection |
1221 | mechanism), it could be extended by displaying a unicode character map. |
1349 | mechanism), it could be extended by displaying a unicode character map. |
1222 | <p></p> |
1350 | <p></p> |
1223 | <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 /> |
1351 | <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 /> |
1224 | </li> |
1352 | </li> |
1225 | This method lets you display the unicode character code associated with |
1353 | This method lets you display the unicode character code associated with |
1226 | characters already displayed. |
1354 | characters already displayed. |
1227 | <p>You enter this mode by holding down <code>Control</code> and <code>Shift</code> together, then |
1355 | <p>You enter this mode by holding down <code>Control</code> and <code>Shift</code> together, then |
1228 | pressing and holding the left mouse button and moving around. The unicode |
1356 | pressing and holding the left mouse button and moving around. The unicode |
… | |
… | |
1230 | pointer is displayed until you release <code>Control</code> and <code>Shift</code>.</p> |
1358 | pointer is displayed until you release <code>Control</code> and <code>Shift</code>.</p> |
1231 | <p>In addition to the hex codes it will display the font used to draw this |
1359 | <p>In addition to the hex codes it will display the font used to draw this |
1232 | character - due to implementation reasons, characters combined with |
1360 | character - due to implementation reasons, characters combined with |
1233 | combining characters, line drawing characters and unknown characters will |
1361 | combining characters, line drawing characters and unknown characters will |
1234 | always be drawn using the built-in support font.</p> |
1362 | always be drawn using the built-in support font.</p> |
1235 | <p></p></ol> |
1363 | <p></p></ul> |
1236 | <p>With respect to conformance, rxvt-unicode is supposed to be compliant to |
1364 | <p>With respect to conformance, rxvt-unicode is supposed to be compliant to |
1237 | both scenario A and B of ISO 14755, including part 5.2.</p> |
1365 | both scenario A and B of ISO 14755, including part 5.2.</p> |
1238 | <p> |
1366 | <p> |
1239 | </p> |
1367 | </p> |
1240 | <hr /> |
1368 | <hr /> |
1241 | <h1><a name="login_stamp">LOGIN STAMP</a></h1> |
1369 | <h1><a name="login_stamp">LOGIN STAMP</a></h1> |
1242 | <p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so |
1370 | <p><strong>rxvt</strong> tries to write an entry into the <em>utmp</em>(5) file so that |
1243 | that it can be seen via the <em>who(1)</em> command, and can accept messages. |
1371 | it can be seen via the <em>who(1)</em> command, and can accept messages. To |
1244 | To allow this feature, <strong>rxvt</strong> must be installed setuid root on |
1372 | allow this feature, <strong>rxvt</strong> may need to be installed setuid root |
1245 | some systems.</p> |
1373 | on some systems or setgid to root or to some other group on others.</p> |
1246 | <p> |
1374 | <p> |
1247 | </p> |
1375 | </p> |
1248 | <hr /> |
1376 | <hr /> |
1249 | <h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1> |
1377 | <h1><a name="colors_and_graphics">COLORS AND GRAPHICS</a></h1> |
1250 | <p>In addition to the default foreground and background colours, |
1378 | <p>In addition to the default foreground and background colours, |
… | |
… | |
1288 | <p></p></dl> |
1416 | <p></p></dl> |
1289 | <p> |
1417 | <p> |
1290 | </p> |
1418 | </p> |
1291 | <hr /> |
1419 | <hr /> |
1292 | <h1><a name="environment">ENVIRONMENT</a></h1> |
1420 | <h1><a name="environment">ENVIRONMENT</a></h1> |
1293 | <p><strong>rxvt</strong> sets the environment variables <strong>TERM</strong>, <strong>COLORTERM</strong> |
1421 | <p><strong>rxvt</strong> sets and/or uses the following environment variables:</p> |
1294 | and <strong>COLORFGBG</strong>. The environment variable <strong>WINDOWID</strong> is set to the X |
1422 | <dl> |
1295 | window id number of the <strong>rxvt</strong> window and it also uses and |
1423 | <dt><strong><a name="item_term"><strong>TERM</strong></a></strong><br /> |
1296 | sets the environment variable <strong>DISPLAY</strong> to specify which display |
1424 | </dt> |
1297 | terminal to use. <strong>rxvt</strong> uses the environment variables |
1425 | <dd> |
1298 | <strong>RXVTPATH</strong> and <strong>PATH</strong> to find XPM files.</p> |
1426 | Normally set to <code>rxvt-unicode</code>, unless overwritten at configure time, via |
|
|
1427 | resources or on the commandline. |
|
|
1428 | </dd> |
|
|
1429 | <p></p> |
|
|
1430 | <dt><strong><a name="item_colorterm"><strong>COLORTERM</strong></a></strong><br /> |
|
|
1431 | </dt> |
|
|
1432 | <dd> |
|
|
1433 | Either <code>rxvt</code>, <code>rxvt-xpm</code>, depending on wether rxvt was |
|
|
1434 | compiled with XPM support, and optionally with the added extension |
|
|
1435 | <code>-mono</code> to indicate that rxvt-unicode runs on a monochrome screen. |
|
|
1436 | </dd> |
|
|
1437 | <p></p> |
|
|
1438 | <dt><strong><a name="item_colorfgbg"><strong>COLORFGBG</strong></a></strong><br /> |
|
|
1439 | </dt> |
|
|
1440 | <dd> |
|
|
1441 | Set to a string of the form <code>fg;bg</code> or <code>fg;xpm;bg</code>, where <code>fg</code> is |
|
|
1442 | the colour code used as default foreground/text colour (or the string |
|
|
1443 | <code>default</code> to indicate that the default-colour escape sequence is to be |
|
|
1444 | used), <code>bg</code> is the colour code used as default background colour (or the |
|
|
1445 | string <code>default</code>), and <code>xpm</code> is the string <code>default</code> if rxvt |
|
|
1446 | was compiled with XPM support. Libraries like <code>ncurses</code> and <code>slang</code> can |
|
|
1447 | (and do) use this information to optimize screen output. |
|
|
1448 | </dd> |
|
|
1449 | <p></p> |
|
|
1450 | <dt><strong><a name="item_windowid"><strong>WINDOWID</strong></a></strong><br /> |
|
|
1451 | </dt> |
|
|
1452 | <dd> |
|
|
1453 | Set to the (decimal) X Window ID of the rxvt window (the toplevel |
|
|
1454 | window, which usually has subwindows for the scrollbar, the terminal |
|
|
1455 | window and so on). |
|
|
1456 | </dd> |
|
|
1457 | <p></p> |
|
|
1458 | <dt><strong><a name="item_terminfo"><strong>TERMINFO</strong></a></strong><br /> |
|
|
1459 | </dt> |
|
|
1460 | <dd> |
|
|
1461 | Set to the terminfo directory iff rxvt was configured with |
|
|
1462 | <code>--with-terminfo=PATH</code>. |
|
|
1463 | </dd> |
|
|
1464 | <p></p> |
|
|
1465 | <dt><strong><a name="item_display"><strong>DISPLAY</strong></a></strong><br /> |
|
|
1466 | </dt> |
|
|
1467 | <dd> |
|
|
1468 | Used by rxvt to connect to the display and set to the correct |
|
|
1469 | display in it's child processes. |
|
|
1470 | </dd> |
|
|
1471 | <p></p> |
|
|
1472 | <dt><strong><a name="item_shell"><strong>SHELL</strong></a></strong><br /> |
|
|
1473 | </dt> |
|
|
1474 | <dd> |
|
|
1475 | The shell to be used for command execution, defaults to <code>/bin/sh</code>. |
|
|
1476 | </dd> |
|
|
1477 | <p></p> |
|
|
1478 | <dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br /> |
|
|
1479 | </dt> |
|
|
1480 | <dd> |
|
|
1481 | The path where rxvt looks for support files such as menu and xpm |
|
|
1482 | files. |
|
|
1483 | </dd> |
|
|
1484 | <p></p> |
|
|
1485 | <dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br /> |
|
|
1486 | </dt> |
|
|
1487 | <dd> |
|
|
1488 | Used in the same way as <a href="#item_rxvtpath"><code>RXVTPATH</code></a>. |
|
|
1489 | </dd> |
|
|
1490 | <p></p> |
|
|
1491 | <dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br /> |
|
|
1492 | </dt> |
|
|
1493 | <dd> |
|
|
1494 | The unix domain socket path used by <code>rxvtc(1)</code> and |
|
|
1495 | rxvtd(1). |
|
|
1496 | </dd> |
|
|
1497 | <dd> |
|
|
1498 | <p>Default <code>$HOME/.rxvt-unicode-<nodename</code>.</p> |
|
|
1499 | </dd> |
|
|
1500 | <p></p> |
|
|
1501 | <dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br /> |
|
|
1502 | </dt> |
|
|
1503 | <dd> |
|
|
1504 | Used to locate the default directory for the unix domain socket for |
|
|
1505 | daemon communications and to locate various resource files (such as |
|
|
1506 | <code>.Xdefaults</code>) |
|
|
1507 | </dd> |
|
|
1508 | <p></p> |
|
|
1509 | <dt><strong><a name="item_xapplresdir"><strong>XAPPLRESDIR</strong></a></strong><br /> |
|
|
1510 | </dt> |
|
|
1511 | <dd> |
|
|
1512 | Directory where various X resource files are being located. |
|
|
1513 | </dd> |
|
|
1514 | <p></p> |
|
|
1515 | <dt><strong><a name="item_xenvironment"><strong>XENVIRONMENT</strong></a></strong><br /> |
|
|
1516 | </dt> |
|
|
1517 | <dd> |
|
|
1518 | If set and accessible, gives the name of a X resource file to be loaded by |
|
|
1519 | rxvt. |
|
|
1520 | </dd> |
|
|
1521 | <p></p></dl> |
1299 | <p> |
1522 | <p> |
1300 | </p> |
1523 | </p> |
1301 | <hr /> |
1524 | <hr /> |
1302 | <h1><a name="files">FILES</a></h1> |
1525 | <h1><a name="files">FILES</a></h1> |
1303 | <dl> |
1526 | <dl> |
1304 | <dt><strong><a name="item__2fetc_2futmp"><strong>/etc/utmp</strong></a></strong><br /> |
|
|
1305 | </dt> |
|
|
1306 | <dd> |
|
|
1307 | System file for login records. |
|
|
1308 | </dd> |
|
|
1309 | <p></p> |
|
|
1310 | <dt><strong><a name="item__2fusr_2flib_2fx11_2frgb_2etxt"><strong>/usr/lib/X11/rgb.txt</strong></a></strong><br /> |
1527 | <dt><strong><a name="item__2fusr_2flib_2fx11_2frgb_2etxt"><strong>/usr/lib/X11/rgb.txt</strong></a></strong><br /> |
1311 | </dt> |
1528 | </dt> |
1312 | <dd> |
1529 | <dd> |
1313 | Color names. |
1530 | Color names. |
1314 | </dd> |
1531 | </dd> |
… | |
… | |
1331 | <h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> |
1548 | <h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> |
1332 | <dl> |
1549 | <dl> |
1333 | <dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br /> |
1550 | <dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br /> |
1334 | </dt> |
1551 | </dt> |
1335 | <dd> |
1552 | <dd> |
1336 | Marc A. Lehmann <em><a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a></em> |
1553 | Marc A. Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>> |
1337 | </dd> |
|
|
1338 | <p></p> |
|
|
1339 | <dt><strong><a name="item_web_page_maintainter">Web page maintainter</a></strong><br /> |
|
|
1340 | </dt> |
|
|
1341 | <dd> |
1554 | </dd> |
1342 | Marc A. Lehmann <em><a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a></em> |
|
|
1343 | </dd> |
1555 | <dd> |
1344 | <dd> |
|
|
1345 | <p><a href="http://software.schmorp.de/">http://software.schmorp.de/</a></p> |
1556 | <p><a href="http://software.schmorp.de/#rxvt-unicode">http://software.schmorp.de/#rxvt-unicode</a></p> |
1346 | </dd> |
1557 | </dd> |
1347 | <p></p></dl> |
1558 | <p></p></dl> |
1348 | <p> |
1559 | <p> |
1349 | </p> |
1560 | </p> |
1350 | <hr /> |
1561 | <hr /> |
… | |
… | |
1388 | <dd> |
1599 | <dd> |
1389 | Rewrote screen display and text selection routines. Project Coordinator |
1600 | Rewrote screen display and text selection routines. Project Coordinator |
1390 | (changes.txt 2.4.6 - rxvt-unicode) |
1601 | (changes.txt 2.4.6 - rxvt-unicode) |
1391 | </dd> |
1602 | </dd> |
1392 | <p></p> |
1603 | <p></p> |
1393 | <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>></a></strong><br /> |
1604 | <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>></a></strong><br /> |
1394 | </dt> |
1605 | </dt> |
1395 | <dd> |
1606 | <dd> |
1396 | Forked rxvt-unicode, rewrote most of the display code and internal |
1607 | Forked rxvt-unicode, rewrote most of the display code and internal |
1397 | character handling to store text in unicode, improve xterm |
1608 | character handling to store text in unicode, improve xterm |
1398 | compatibility and apply numerous other bugfixes and extensions. |
1609 | compatibility and apply numerous other bugfixes and extensions. |