… | |
… | |
452 | close $pty; |
452 | close $pty; |
453 | |
453 | |
454 | # now communicate with rxvt |
454 | # now communicate with rxvt |
455 | my $slave = $pty->slave; |
455 | my $slave = $pty->slave; |
456 | while (<$slave>) { print $slave "got <$_>\n" } |
456 | while (<$slave>) { print $slave "got <$_>\n" } |
|
|
457 | |
|
|
458 | =item B<-pe> I<string> |
|
|
459 | |
|
|
460 | Colon-separated list of perl extension scripts to use in this terminal instance. See resource B<perl-ext>. |
457 | |
461 | |
458 | =back |
462 | =back |
459 | |
463 | |
460 | =head1 RESOURCES (available also as long-options) |
464 | =head1 RESOURCES (available also as long-options) |
461 | |
465 | |
… | |
… | |
637 | |
641 | |
638 | Select the fonts to be used. This is a comma separated list of font |
642 | Select the fonts to be used. This is a comma separated list of font |
639 | names that are used in turn when trying to display Unicode characters. |
643 | names that are used in turn when trying to display Unicode characters. |
640 | The first font defines the cell size for characters; other fonts might |
644 | The first font defines the cell size for characters; other fonts might |
641 | be smaller, but not larger. A reasonable default font list is always |
645 | be smaller, but not larger. A reasonable default font list is always |
642 | appended to it. option B<-fn>. |
646 | appended to it; option B<-fn>. |
643 | |
647 | |
644 | Each font can either be a standard X11 core font (XLFD) name, with |
648 | Each font can either be a standard X11 core font (XLFD) name, with |
645 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
649 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
646 | |
650 | |
647 | In addition, each font can be prefixed with additional hints and |
651 | In addition, each font can be prefixed with additional hints and |
… | |
… | |
902 | =item B<imLocale:> I<name> |
906 | =item B<imLocale:> I<name> |
903 | |
907 | |
904 | The locale to use for opening the IM. You can use an C<LC_CTYPE> of e.g. |
908 | The locale to use for opening the IM. You can use an C<LC_CTYPE> of e.g. |
905 | C<de_DE.UTF-8> for normal text processing but C<ja_JP.EUC-JP> for the |
909 | C<de_DE.UTF-8> for normal text processing but C<ja_JP.EUC-JP> for the |
906 | input extension to be able to input japanese characters while staying in |
910 | input extension to be able to input japanese characters while staying in |
907 | another locale. option B<-imlocale>. |
911 | another locale; option B<-imlocale>. |
908 | |
912 | |
909 | =item B<imFont:> I<fontset> |
913 | =item B<imFont:> I<fontset> |
910 | |
914 | |
911 | Specify the font-set used for XIM styles C<OverTheSpot> or |
915 | Specify the font-set used for XIM styles C<OverTheSpot> or |
912 | C<OffTheSpot>. It must be a standard X font set (XLFD patterns separated |
916 | C<OffTheSpot>. It must be a standard X font set (XLFD patterns separated |
… | |
… | |
917 | |
921 | |
918 | =item B<tripleclickwords:> I<boolean> |
922 | =item B<tripleclickwords:> I<boolean> |
919 | |
923 | |
920 | Change the meaning of triple-click selection with the left mouse |
924 | Change the meaning of triple-click selection with the left mouse |
921 | button. Instead of selecting a full line it will extend the selection to |
925 | button. Instead of selecting a full line it will extend the selection to |
922 | the end of the logical line only. option B<-tcw>. |
926 | the end of the logical line only; option B<-tcw>. |
923 | |
927 | |
924 | =item B<insecure:> I<boolean> |
928 | =item B<insecure:> I<boolean> |
925 | |
929 | |
926 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
930 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
927 | echo arbitrary strings like the icon name or the locale. This could be |
931 | echo arbitrary strings like the icon name or the locale. This could be |
… | |
… | |
1018 | example the following means "change the current locale to C<zh_CN.GBK> |
1022 | example the following means "change the current locale to C<zh_CN.GBK> |
1019 | when Control-Meta-c is being pressed": |
1023 | when Control-Meta-c is being pressed": |
1020 | |
1024 | |
1021 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1025 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1022 | |
1026 | |
|
|
1027 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
|
|
1028 | is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3) |
|
|
1029 | manpage. For example, the F<selection> extension (activated via |
|
|
1030 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
|
|
1031 | |
|
|
1032 | URxvt.keysym.M-C-c: perl:selection:rot13 |
|
|
1033 | |
1023 | Due the the large number of modifier combinations, a defined key mapping |
1034 | Due the the large number of modifier combinations, a defined key mapping |
1024 | will match if at I<at least> the specified identifiers are being set, and |
1035 | will match if at I<at least> the specified identifiers are being set, and |
1025 | no other key mappings with those and more bits are being defined. That |
1036 | no other key mappings with those and more bits are being defined. That |
1026 | means that defining a key map for C<a> will automatically provide |
1037 | means that defining a key map for C<a> will automatically provide |
1027 | definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined |
1038 | definitions for C<Meta-a>, C<Shift-a> and so on, unless some of those are defined |
… | |
… | |
1049 | Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more |
1060 | Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more |
1050 | info): |
1061 | info): |
1051 | |
1062 | |
1052 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1063 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1053 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1064 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
|
|
1065 | |
|
|
1066 | =item B<perl-ext>: I<string> |
|
|
1067 | |
|
|
1068 | Colon-separated list of perl extension scripts to use in this terminal |
|
|
1069 | instance. Each extension is looked up in the library directories, loaded |
|
|
1070 | if necessary, and bound to the current terminal instance; option B<-pe>. |
|
|
1071 | |
|
|
1072 | =item B<perl-eval>: I<string> |
|
|
1073 | |
|
|
1074 | Perl code to be evaluated when all extensions have been registered. See the |
|
|
1075 | @@RXVT_NAME@@perl(3) manpage. |
|
|
1076 | |
|
|
1077 | =item B<perl-lib>: I<path> |
|
|
1078 | |
|
|
1079 | Colon-separated list of additional directories that hold extension |
|
|
1080 | scripts. When looking for extensions specified by the C<perl> resource, |
|
|
1081 | @@RXVT_NAME@@ will first look in these directories and then in |
|
|
1082 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
|
|
1083 | |
|
|
1084 | See the @@RXVT_NAME@@perl(3) manpage. |
1054 | |
1085 | |
1055 | =back |
1086 | =back |
1056 | |
1087 | |
1057 | =head1 THE SCROLLBAR |
1088 | =head1 THE SCROLLBAR |
1058 | |
1089 | |