… | |
… | |
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.0</strong>, is a colour vt102 terminal |
52 | <p><strong>rxvt-unicode</strong>, version <strong>5.6</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> |
… | |
… | |
336 | </dd> |
336 | </dd> |
337 | <p></p> |
337 | <p></p> |
338 | <dt><strong><a name="item__2dst_7c_2bst"><strong>-st</strong>|<strong>+st</strong></a></strong><br /> |
338 | <dt><strong><a name="item__2dst_7c_2bst"><strong>-st</strong>|<strong>+st</strong></a></strong><br /> |
339 | </dt> |
339 | </dt> |
340 | <dd> |
340 | <dd> |
341 | Display normal (non XTerm/NeXT) scrollbar without/with a trough; |
341 | Display rxvt (non XTerm/NeXT) scrollbar without/with a trough; |
342 | resource <strong>scrollBar_floating</strong>. |
342 | resource <strong>scrollBar_floating</strong>. |
343 | </dd> |
343 | </dd> |
344 | <p></p> |
344 | <p></p> |
345 | <dt><strong><a name="item__2dptab_7c_2bptab"><strong>-ptab</strong>|<strong>+ptab</strong></a></strong><br /> |
345 | <dt><strong><a name="item__2dptab_7c_2bptab"><strong>-ptab</strong>|<strong>+ptab</strong></a></strong><br /> |
346 | </dt> |
346 | </dt> |
… | |
… | |
511 | <dd> |
511 | <dd> |
512 | Turn on/off secondary screen scroll (default enabled); resource |
512 | Turn on/off secondary screen scroll (default enabled); resource |
513 | <strong>secondaryScroll</strong>. |
513 | <strong>secondaryScroll</strong>. |
514 | </dd> |
514 | </dd> |
515 | <p></p> |
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 /> |
516 | <dt><strong><a name="item__2dkeysym_2esym_string"><strong>-keysym.</strong><em>sym</em> <em>string</em></a></strong><br /> |
517 | </dt> |
517 | </dt> |
518 | <dd> |
518 | <dd> |
519 | Remap a key symbol. See resource <strong>keysym</strong>. |
519 | Remap a key symbol. See resource <strong>keysym</strong>. |
520 | </dd> |
520 | </dd> |
521 | <p></p> |
521 | <p></p> |
522 | <dt><strong><a name="item__2dxrm_resourcestring"><strong>-xrm</strong> <em>resourcestring</em></a></strong><br /> |
522 | <dt><strong><a name="item__2dembed_windowid"><strong>-embed</strong> <em>windowid</em></a></strong><br /> |
523 | </dt> |
523 | </dt> |
|
|
524 | <dd> |
|
|
525 | Tells rxvt to embed it's windows into an already-existing window, |
|
|
526 | which enables applications to easily embed a terminal. |
524 | <dd> |
527 | </dd> |
525 | No effect on rxvt-unicode. Simply passes through an argument to be made |
528 | <dd> |
526 | available in the instance's argument list. Appears in <em>WM_COMMAND</em> in |
529 | <p>Right now, rxvt will first unmap/map the specified window, so it |
527 | some window managers. |
530 | shouldn't be a top-level window. rxvt will also reconfigure it |
|
|
531 | quite a bit, so don't expect it to keep some specific state. It's best to |
|
|
532 | create 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 |
|
|
539 | descriptors passed to it (except for stdin/out/err, of course), so you |
|
|
540 | can use file descriptors to communicate with the programs within the |
|
|
541 | terminal. This works regardless of wether the <code>-embed</code> option was used or |
|
|
542 | not.</p> |
|
|
543 | </dd> |
|
|
544 | <dd> |
|
|
545 | <p>Here is a short Gtk2-perl snippet that illustrates how this option can be |
|
|
546 | used (a longer example is in <em>doc/embed</em>):</p> |
|
|
547 | </dd> |
|
|
548 | <dd> |
|
|
549 | <pre> |
|
|
550 | my $rxvt = new Gtk2::Socket; |
|
|
551 | $rxvt->signal_connect_after (realize => sub { |
|
|
552 | my $xid = $_[0]->window->get_xid; |
|
|
553 | system "rxvt -embed $xid &"; |
|
|
554 | });</pre> |
|
|
555 | </dd> |
|
|
556 | <p></p> |
|
|
557 | <dt><strong><a name="item__2dpty_2dfd_fileno"><strong>-pty-fd</strong> <em>fileno</em></a></strong><br /> |
|
|
558 | </dt> |
|
|
559 | <dd> |
|
|
560 | Tells rxvt NOT to execute any commands or create a new pty/tty |
|
|
561 | pair but instead use the given filehandle as the tty master. This is |
|
|
562 | useful if you want to drive rxvt as a generic terminal emulator |
|
|
563 | without having to run a program within it. |
|
|
564 | </dd> |
|
|
565 | <dd> |
|
|
566 | <p>If this switch is given, rxvt will not create any utmp/wtmp |
|
|
567 | entries and will not tinker with pty/tty permissions - you have to do that |
|
|
568 | yourself if you want that.</p> |
|
|
569 | </dd> |
|
|
570 | <dd> |
|
|
571 | <p>Here is a example in perl that illustrates how this option can be used (a |
|
|
572 | longer example is in <em>doc/pty-fd</em>):</p> |
|
|
573 | </dd> |
|
|
574 | <dd> |
|
|
575 | <pre> |
|
|
576 | use IO::Pty; |
|
|
577 | use Fcntl;</pre> |
|
|
578 | </dd> |
|
|
579 | <dd> |
|
|
580 | <pre> |
|
|
581 | my $pty = new IO::Pty; |
|
|
582 | fcntl $pty, F_SETFD, 0; # clear close-on-exec |
|
|
583 | system "rxvt -pty-fd " . (fileno $pty) . "&"; |
|
|
584 | close $pty;</pre> |
|
|
585 | </dd> |
|
|
586 | <dd> |
|
|
587 | <pre> |
|
|
588 | # now communicate with rxvt |
|
|
589 | my $slave = $pty->slave; |
|
|
590 | while (<$slave>) { print $slave "got <$_>\n" }</pre> |
528 | </dd> |
591 | </dd> |
529 | <p></p></dl> |
592 | <p></p></dl> |
530 | <p> |
593 | <p> |
531 | </p> |
594 | </p> |
532 | <hr /> |
595 | <hr /> |
… | |
… | |
699 | <p></p> |
762 | <p></p> |
700 | <dt><strong><a name="item_troughcolor_3a_colour"><strong>troughColor:</strong> <em>colour</em></a></strong><br /> |
763 | <dt><strong><a name="item_troughcolor_3a_colour"><strong>troughColor:</strong> <em>colour</em></a></strong><br /> |
701 | </dt> |
764 | </dt> |
702 | <dd> |
765 | <dd> |
703 | Use the specified colour for the scrollbar's trough area [default |
766 | Use the specified colour for the scrollbar's trough area [default |
704 | #969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. |
767 | #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar. |
705 | </dd> |
768 | </dd> |
706 | <p></p> |
769 | <p></p> |
707 | <dt><strong><a name="item_bordercolor_3a_colour"><strong>borderColor:</strong> <em>colour</em></a></strong><br /> |
770 | <dt><strong><a name="item_bordercolor_3a_colour"><strong>borderColor:</strong> <em>colour</em></a></strong><br /> |
708 | </dt> |
771 | </dt> |
709 | <dd> |
772 | <dd> |
… | |
… | |
829 | <p></p> |
892 | <p></p> |
830 | <dt><strong><a name="item_scrollstyle_3a_mode"><strong>scrollstyle:</strong> <em>mode</em></a></strong><br /> |
893 | <dt><strong><a name="item_scrollstyle_3a_mode"><strong>scrollstyle:</strong> <em>mode</em></a></strong><br /> |
831 | </dt> |
894 | </dt> |
832 | <dd> |
895 | <dd> |
833 | Set scrollbar style to <strong>rxvt</strong>, <strong>plain</strong>, <strong>next</strong> or <strong>xterm</strong>. <strong>plain</strong> is |
896 | Set scrollbar style to <strong>rxvt</strong>, <strong>plain</strong>, <strong>next</strong> or <strong>xterm</strong>. <strong>plain</strong> is |
834 | the author's favourite.. |
897 | the author's favourite. |
835 | </dd> |
898 | </dd> |
836 | <p></p> |
899 | <p></p> |
837 | <dt><strong><a name="item_title_3a_string"><strong>title:</strong> <em>string</em></a></strong><br /> |
900 | <dt><strong><a name="item_title_3a_string"><strong>title:</strong> <em>string</em></a></strong><br /> |
838 | </dt> |
901 | </dt> |
839 | <dd> |
902 | <dd> |
… | |
… | |
885 | <dd> |
948 | <dd> |
886 | Specify a command pipe for vt100 printer [default <em>lpr(1)</em>]. Use |
949 | Specify a command pipe for vt100 printer [default <em>lpr(1)</em>]. Use |
887 | <strong>Print</strong> to initiate a screen dump to the printer and <strong>Ctrl-Print</strong> or |
950 | <strong>Print</strong> to initiate a screen dump to the printer and <strong>Ctrl-Print</strong> or |
888 | <strong>Shift-Print</strong> to include the scrollback as well. |
951 | <strong>Shift-Print</strong> to include the scrollback as well. |
889 | </dd> |
952 | </dd> |
|
|
953 | <dd> |
|
|
954 | <p>The string will be interpreted as if typed into the shell as-is.</p> |
|
|
955 | </dd> |
|
|
956 | <dd> |
|
|
957 | <p>Example:</p> |
|
|
958 | </dd> |
|
|
959 | <dd> |
|
|
960 | <pre> |
|
|
961 | URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX)</pre> |
|
|
962 | </dd> |
|
|
963 | <dd> |
|
|
964 | <p>This creates a new file in your home directory with the screen contents |
|
|
965 | everytime you hit <code>Print</code>.</p> |
|
|
966 | </dd> |
890 | <p></p> |
967 | <p></p> |
891 | <dt><strong><a name="item_scrollbar_3a_boolean"><strong>scrollBar:</strong> <em>boolean</em></a></strong><br /> |
968 | <dt><strong><a name="item_scrollbar_3a_boolean"><strong>scrollBar:</strong> <em>boolean</em></a></strong><br /> |
892 | </dt> |
969 | </dt> |
893 | <dd> |
970 | <dd> |
894 | <strong>True</strong>: enable the scrollbar [default]; option <strong>-sb</strong>. <strong>False</strong>: |
971 | <strong>True</strong>: enable the scrollbar [default]; option <strong>-sb</strong>. <strong>False</strong>: |
… | |
… | |
926 | <p></p> |
1003 | <p></p> |
927 | <dt><strong><a name="item_scrollwithbuffer_3a_boolean"><strong>scrollWithBuffer:</strong> <em>boolean</em></a></strong><br /> |
1004 | <dt><strong><a name="item_scrollwithbuffer_3a_boolean"><strong>scrollWithBuffer:</strong> <em>boolean</em></a></strong><br /> |
928 | </dt> |
1005 | </dt> |
929 | <dd> |
1006 | <dd> |
930 | <strong>True</strong>: scroll with scrollback buffer when tty receives new lines (and |
1007 | <strong>True</strong>: scroll with scrollback buffer when tty receives new lines (and |
931 | <strong>scrollTtyOutput</strong> is False); option <strong>+sw</strong>. <strong>False</strong>: do not scroll |
1008 | <strong>scrollTtyOutput</strong> is False); option <strong>-sw</strong>. <strong>False</strong>: do not scroll |
932 | with scrollback buffer when tty recieves new lines; option <strong>-sw</strong>. |
1009 | with scrollback buffer when tty recieves new lines; option <strong>+sw</strong>. |
933 | </dd> |
1010 | </dd> |
934 | <p></p> |
1011 | <p></p> |
935 | <dt><strong><a name="item_scrollttykeypress_3a_boolean"><strong>scrollTtyKeypress:</strong> <em>boolean</em></a></strong><br /> |
1012 | <dt><strong><a name="item_scrollttykeypress_3a_boolean"><strong>scrollTtyKeypress:</strong> <em>boolean</em></a></strong><br /> |
936 | </dt> |
1013 | </dt> |
937 | <dd> |
1014 | <dd> |
… | |
… | |
1032 | </dd> |
1109 | </dd> |
1033 | <p></p> |
1110 | <p></p> |
1034 | <dt><strong><a name="item_pointerblankdelay_3a_number"><strong>pointerBlankDelay:</strong> <em>number</em></a></strong><br /> |
1111 | <dt><strong><a name="item_pointerblankdelay_3a_number"><strong>pointerBlankDelay:</strong> <em>number</em></a></strong><br /> |
1035 | </dt> |
1112 | </dt> |
1036 | <dd> |
1113 | <dd> |
1037 | Specifies number of seconds before blanking the pointer [default 2]. |
1114 | Specifies number of seconds before blanking the pointer [default 2]. Use a |
|
|
1115 | large number (e.g. <code>987654321</code>) to effectively disable the timeout. |
1038 | </dd> |
1116 | </dd> |
1039 | <p></p> |
1117 | <p></p> |
1040 | <dt><strong><a name="item_backspacekey_3a_string"><strong>backspacekey:</strong> <em>string</em></a></strong><br /> |
1118 | <dt><strong><a name="item_backspacekey_3a_string"><strong>backspacekey:</strong> <em>string</em></a></strong><br /> |
1041 | </dt> |
1119 | </dt> |
1042 | <dd> |
1120 | <dd> |
… | |
… | |
1217 | when Control-Meta-c is being pressed'':</p> |
1295 | when Control-Meta-c is being pressed'':</p> |
1218 | </dd> |
1296 | </dd> |
1219 | <dd> |
1297 | <dd> |
1220 | <pre> |
1298 | <pre> |
1221 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> |
1299 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007</pre> |
|
|
1300 | </dd> |
|
|
1301 | <dd> |
|
|
1302 | <p>Due the the large number of modifier combinations, a defined key mapping |
|
|
1303 | will match if at <em>at least</em> the specified identifiers are being set, and |
|
|
1304 | no other key mappings with those and more bits are being defined. That |
|
|
1305 | means that defining a key map for <code>a</code> will automatically provide |
|
|
1306 | definitions for <code>Meta-a</code>, <code>Shift-a</code> and so on, unless some of those are defined |
|
|
1307 | mappings themselves.</p> |
|
|
1308 | </dd> |
|
|
1309 | <dd> |
|
|
1310 | <p>Unfortunately, this will override built-in key mappings. For example |
|
|
1311 | if you overwrite the <code>Insert</code> key you will disable rxvt's |
|
|
1312 | <code>Shift-Insert</code> mapping. To re-enable that, you can poke ``holes'' into the |
|
|
1313 | user-defined keymap using the <code>builtin:</code> replacement:</p> |
|
|
1314 | </dd> |
|
|
1315 | <dd> |
|
|
1316 | <pre> |
|
|
1317 | URxvt.keysym.Insert: <my insert key sequence> |
|
|
1318 | URxvt.keysym.S-Insert: builtin:</pre> |
|
|
1319 | </dd> |
|
|
1320 | <dd> |
|
|
1321 | <p>The first line defines a mapping for <code>Insert</code> and <em>any</em> combination |
|
|
1322 | of modifiers. The second line re-establishes the default mapping for |
|
|
1323 | <code>Shift-Insert</code>.</p> |
1222 | </dd> |
1324 | </dd> |
1223 | <dd> |
1325 | <dd> |
1224 | <p>The following example will map Control-Meta-1 and Control-Meta-2 to |
1326 | <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 |
1327 | the fonts <code>suxuseuro</code> and <code>9x15bold</code>, so you can have some limited |
1226 | font-switching at runtime:</p> |
1328 | font-switching at runtime:</p> |
… | |
… | |
1493 | <dd> |
1595 | <dd> |
1494 | The unix domain socket path used by <code>rxvtc(1)</code> and |
1596 | The unix domain socket path used by <code>rxvtc(1)</code> and |
1495 | rxvtd(1). |
1597 | rxvtd(1). |
1496 | </dd> |
1598 | </dd> |
1497 | <dd> |
1599 | <dd> |
1498 | <p>Default <code>$HOME/.rxvt-unicode-<nodename</code>.</p> |
1600 | <p>Default <em>$HOME/.rxvt-unicode-<em><nodename </em></em> >>>.</p> |
1499 | </dd> |
1601 | </dd> |
1500 | <p></p> |
1602 | <p></p> |
1501 | <dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br /> |
1603 | <dt><strong><a name="item_home"><strong>HOME</strong></a></strong><br /> |
1502 | </dt> |
1604 | </dt> |
1503 | <dd> |
1605 | <dd> |
… | |
… | |
1532 | <p></p></dl> |
1634 | <p></p></dl> |
1533 | <p> |
1635 | <p> |
1534 | </p> |
1636 | </p> |
1535 | <hr /> |
1637 | <hr /> |
1536 | <h1><a name="see_also">SEE ALSO</a></h1> |
1638 | <h1><a name="see_also">SEE ALSO</a></h1> |
1537 | <p>rxvt(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p> |
1639 | <p>rxvt(7), rxvtc(1), rxvtd(1), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), <code>utmp(5)</code></p> |
1538 | <p> |
1640 | <p> |
1539 | </p> |
1641 | </p> |
1540 | <hr /> |
1642 | <hr /> |
1541 | <h1><a name="bugs">BUGS</a></h1> |
1643 | <h1><a name="bugs">BUGS</a></h1> |
1542 | <p>Check the BUGS file for an up-to-date list.</p> |
1644 | <p>Check the BUGS file for an up-to-date list.</p> |
… | |
… | |
1548 | <h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> |
1650 | <h1><a name="current_project_coordinator">CURRENT PROJECT COORDINATOR</a></h1> |
1549 | <dl> |
1651 | <dl> |
1550 | <dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br /> |
1652 | <dt><strong><a name="item_project_coordinator">Project Coordinator</a></strong><br /> |
1551 | </dt> |
1653 | </dt> |
1552 | <dd> |
1654 | <dd> |
1553 | Marc A. Lehmann <em><a href="mailto:rxvt@schmorp.de">rxvt@schmorp.de</a></em> |
1655 | Marc A. Lehmann <em><a href="mailto:<rxvt-unicode@schmorp.de"><rxvt-unicode@schmorp.de</a></em>> |
1554 | </dd> |
|
|
1555 | <dd> |
1656 | </dd> |
|
|
1657 | <dd> |
1556 | <p><a href="http://software.schmorp.de/">http://software.schmorp.de/</a></p> |
1658 | <p><a href="http://software.schmorp.de/#rxvt-unicode">http://software.schmorp.de/#rxvt-unicode</a></p> |
1557 | </dd> |
1659 | </dd> |
1558 | <p></p></dl> |
1660 | <p></p></dl> |
1559 | <p> |
1661 | <p> |
1560 | </p> |
1662 | </p> |
1561 | <hr /> |
1663 | <hr /> |
… | |
… | |
1599 | <dd> |
1701 | <dd> |
1600 | Rewrote screen display and text selection routines. Project Coordinator |
1702 | Rewrote screen display and text selection routines. Project Coordinator |
1601 | (changes.txt 2.4.6 - rxvt-unicode) |
1703 | (changes.txt 2.4.6 - rxvt-unicode) |
1602 | </dd> |
1704 | </dd> |
1603 | <p></p> |
1705 | <p></p> |
1604 | <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 /> |
1706 | <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 /> |
1605 | </dt> |
1707 | </dt> |
1606 | <dd> |
1708 | <dd> |
1607 | Forked rxvt-unicode, rewrote most of the display code and internal |
1709 | Forked rxvt-unicode, rewrote most of the display code and internal |
1608 | character handling to store text in unicode, improve xterm |
1710 | character handling to store text in unicode, improve xterm |
1609 | compatibility and apply numerous other bugfixes and extensions. |
1711 | compatibility and apply numerous other bugfixes and extensions. |