… | |
… | |
390 | |
390 | |
391 | # now communicate with rxvt |
391 | # now communicate with rxvt |
392 | my $slave = $pty->slave; |
392 | my $slave = $pty->slave; |
393 | while (<$slave>) { print $slave "got <$_>\n" } |
393 | while (<$slave>) { print $slave "got <$_>\n" } |
394 | |
394 | |
|
|
395 | -pe *string* |
|
|
396 | Colon-separated list of perl extension scripts to use in this |
|
|
397 | terminal instance. See resource perl-ext. |
|
|
398 | |
395 | RESOURCES (available also as long-options) |
399 | RESOURCES (available also as long-options) |
396 | Note: `rxvt --help' gives a list of all resources (long options) |
400 | Note: `rxvt --help' gives a list of all resources (long options) |
397 | compiled into your version. |
401 | compiled into your version. |
398 | |
402 | |
399 | There are two different methods that rxvt can use to get the Xresource |
403 | There are two different methods that rxvt can use to get the Xresource |
… | |
… | |
545 | font: *fontlist* |
549 | font: *fontlist* |
546 | Select the fonts to be used. This is a comma separated list of font |
550 | Select the fonts to be used. This is a comma separated list of font |
547 | names that are used in turn when trying to display Unicode |
551 | names that are used in turn when trying to display Unicode |
548 | characters. The first font defines the cell size for characters; |
552 | characters. The first font defines the cell size for characters; |
549 | other fonts might be smaller, but not larger. A reasonable default |
553 | other fonts might be smaller, but not larger. A reasonable default |
550 | font list is always appended to it. option -fn. |
554 | font list is always appended to it; option -fn. |
551 | |
555 | |
552 | Each font can either be a standard X11 core font (XLFD) name, with |
556 | Each font can either be a standard X11 core font (XLFD) name, with |
553 | optional prefix "x:" or a Xft font (Compile *xft*), prefixed with |
557 | optional prefix "x:" or a Xft font (Compile *xft*), prefixed with |
554 | "xft:". |
558 | "xft:". |
555 | |
559 | |
… | |
… | |
774 | |
778 | |
775 | imLocale: *name* |
779 | imLocale: *name* |
776 | The locale to use for opening the IM. You can use an "LC_CTYPE" of |
780 | The locale to use for opening the IM. You can use an "LC_CTYPE" of |
777 | e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for |
781 | e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for |
778 | the input extension to be able to input japanese characters while |
782 | the input extension to be able to input japanese characters while |
779 | staying in another locale. option -imlocale. |
783 | staying in another locale; option -imlocale. |
780 | |
784 | |
781 | imFont: *fontset* |
785 | imFont: *fontset* |
782 | Specify the font-set used for XIM styles "OverTheSpot" or |
786 | Specify the font-set used for XIM styles "OverTheSpot" or |
783 | "OffTheSpot". It must be a standard X font set (XLFD patterns |
787 | "OffTheSpot". It must be a standard X font set (XLFD patterns |
784 | separated by commas), i.e. it's not in the same format as the other |
788 | separated by commas), i.e. it's not in the same format as the other |
… | |
… | |
787 | to the base font. option -imfont. |
791 | to the base font. option -imfont. |
788 | |
792 | |
789 | tripleclickwords: *boolean* |
793 | tripleclickwords: *boolean* |
790 | Change the meaning of triple-click selection with the left mouse |
794 | Change the meaning of triple-click selection with the left mouse |
791 | button. Instead of selecting a full line it will extend the |
795 | button. Instead of selecting a full line it will extend the |
792 | selection to the end of the logical line only. option -tcw. |
796 | selection to the end of the logical line only; option -tcw. |
793 | |
797 | |
794 | insecure: *boolean* |
798 | insecure: *boolean* |
795 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences |
799 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences |
796 | that echo arbitrary strings like the icon name or the locale. This |
800 | that echo arbitrary strings like the icon name or the locale. This |
797 | could be abused if somebody gets 8-bit-clean access to your display, |
801 | could be abused if somebody gets 8-bit-clean access to your display, |
… | |
… | |
881 | the following means "change the current locale to "zh_CN.GBK" when |
885 | the following means "change the current locale to "zh_CN.GBK" when |
882 | Control-Meta-c is being pressed": |
886 | Control-Meta-c is being pressed": |
883 | |
887 | |
884 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
888 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
885 | |
889 | |
|
|
890 | If *string* takes the form "perl:STRING", then the specified STRING |
|
|
891 | is passed to the "on_keyboard_command" perl handler. See the |
|
|
892 | rxvtperl(3) manpage. For example, the selection extension (activated |
|
|
893 | via "rxvt -pe selection") listens for "selection:rot13" events: |
|
|
894 | |
|
|
895 | URxvt.keysym.M-C-c: perl:selection:rot13 |
|
|
896 | |
886 | Due the the large number of modifier combinations, a defined key |
897 | Due the the large number of modifier combinations, a defined key |
887 | mapping will match if at *at least* the specified identifiers are |
898 | mapping will match if at *at least* the specified identifiers are |
888 | being set, and no other key mappings with those and more bits are |
899 | being set, and no other key mappings with those and more bits are |
889 | being defined. That means that defining a key map for "a" will |
900 | being defined. That means that defining a key map for "a" will |
890 | automatically provide definitions for "Meta-a", "Shift-a" and so on, |
901 | automatically provide definitions for "Meta-a", "Shift-a" and so on, |
… | |
… | |
912 | Other things are possible, e.g. resizing (see rxvt(7) for more |
923 | Other things are possible, e.g. resizing (see rxvt(7) for more |
913 | info): |
924 | info): |
914 | |
925 | |
915 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
926 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
916 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
927 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
|
|
928 | |
|
|
929 | perl-ext: *string* |
|
|
930 | Colon-separated list of perl extension scripts to use in this |
|
|
931 | terminal instance. Each extension is looked up in the library |
|
|
932 | directories, loaded if necessary, and bound to the current terminal |
|
|
933 | instance; option -pe. |
|
|
934 | |
|
|
935 | perl-eval: *string* |
|
|
936 | Perl code to be evaluated when all extensions have been registered. |
|
|
937 | See the rxvtperl(3) manpage. |
|
|
938 | |
|
|
939 | perl-lib: *path* |
|
|
940 | Colon-separated list of additional directories that hold extension |
|
|
941 | scripts. When looking for extensions specified by the "perl" |
|
|
942 | resource, rxvt will first look in these directories and then in |
|
|
943 | /opt/rxvt/lib/urxvt/perl/. |
|
|
944 | |
|
|
945 | See the rxvtperl(3) manpage. |
917 | |
946 | |
918 | THE SCROLLBAR |
947 | THE SCROLLBAR |
919 | Lines of text that scroll off the top of the rxvt window (resource: |
948 | Lines of text that scroll off the top of the rxvt window (resource: |
920 | saveLines) and can be scrolled back using the scrollbar or by |
949 | saveLines) and can be scrolled back using the scrollbar or by |
921 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |
950 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |