… | |
… | |
84 | far greater than those listed. For example: `@@RXVT_NAME@@ --loginShell --color1 |
84 | far greater than those listed. For example: `@@RXVT_NAME@@ --loginShell --color1 |
85 | Orange'. |
85 | Orange'. |
86 | |
86 | |
87 | The following options are available: |
87 | The following options are available: |
88 | |
88 | |
89 | =over 4 |
89 | =over |
90 | |
90 | |
91 | =item B<-help>, B<--help> |
91 | =item B<-help>, B<--help> |
92 | |
92 | |
93 | Print out a message describing available options. |
93 | Print out a message describing available options. |
94 | |
94 | |
… | |
… | |
108 | of graphical corruption. This is harmless, but we can't do anything about |
108 | of graphical corruption. This is harmless, but we can't do anything about |
109 | this, so watch out] |
109 | this, so watch out] |
110 | |
110 | |
111 | =item B<-visual> I<visualID> |
111 | =item B<-visual> I<visualID> |
112 | |
112 | |
113 | Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for possible |
113 | Compile I<frills>: Use the given visual (see e.g. C<xdpyinfo> for |
114 | visual ids). |
114 | possible visual ids) instead of the default, and also allocate a private |
|
|
115 | colormap. All visual types except for DirectColor are supported. |
115 | |
116 | |
116 | =item B<-geometry> I<geom> |
117 | =item B<-geometry> I<geom> |
117 | |
118 | |
118 | Window geometry (B<-g> still respected); resource B<geometry>. |
119 | Window geometry (B<-g> still respected); resource B<geometry>. |
119 | |
120 | |
… | |
… | |
218 | `.' or `*' characters. Also sets the icon and title name. |
219 | `.' or `*' characters. Also sets the icon and title name. |
219 | |
220 | |
220 | =item B<-ls>|B<+ls> |
221 | =item B<-ls>|B<+ls> |
221 | |
222 | |
222 | Start as a login-shell/sub-shell; resource B<loginShell>. |
223 | Start as a login-shell/sub-shell; resource B<loginShell>. |
|
|
224 | |
|
|
225 | =item B<-mc> I<milliseconds> |
|
|
226 | |
|
|
227 | Specify the maximum time between multi-click selections. |
223 | |
228 | |
224 | =item B<-ut>|B<+ut> |
229 | =item B<-ut>|B<+ut> |
225 | |
230 | |
226 | Compile I<utmp>: Inhibit/enable writing a utmp entry; resource |
231 | Compile I<utmp>: Inhibit/enable writing a utmp entry; resource |
227 | B<utmpInhibit>. |
232 | B<utmpInhibit>. |
… | |
… | |
375 | =item B<-pt> I<style> |
380 | =item B<-pt> I<style> |
376 | |
381 | |
377 | Compile I<XIM>: input style for input method; B<OverTheSpot>, |
382 | Compile I<XIM>: input style for input method; B<OverTheSpot>, |
378 | B<OffTheSpot>, B<Root>; resource B<preeditType>. |
383 | B<OffTheSpot>, B<Root>; resource B<preeditType>. |
379 | |
384 | |
|
|
385 | If the perl extension C<xim-onthespot> is used (which is the default), |
|
|
386 | then additionally the C<OnTheSpot> preedit type is available. |
|
|
387 | |
380 | =item B<-im> I<text> |
388 | =item B<-im> I<text> |
381 | |
389 | |
382 | Compile I<XIM>: input method name. resource B<inputMethod>. |
390 | Compile I<XIM>: input method name. resource B<inputMethod>. |
383 | |
391 | |
384 | =item B<-imlocale> I<string> |
392 | =item B<-imlocale> I<string> |
… | |
… | |
398 | Change the meaning of triple-click selection with the left mouse |
406 | Change the meaning of triple-click selection with the left mouse |
399 | button. Only effective when the original (non-perl) selection code is |
407 | button. Only effective when the original (non-perl) selection code is |
400 | in-use. Instead of selecting a full line it will extend the selection to |
408 | in-use. Instead of selecting a full line it will extend the selection to |
401 | the end of the logical line only. resource B<tripleclickwords>. |
409 | the end of the logical line only. resource B<tripleclickwords>. |
402 | |
410 | |
|
|
411 | =item B<-dpb>|B<+dpb> |
|
|
412 | |
|
|
413 | Compile frills: Disable (or enable) emitting bracketed paste mode |
|
|
414 | sequences (default enabled). Bracketed paste mode allows programs |
|
|
415 | to detect when something is pasted. Since more and more programs |
|
|
416 | abuse this, these sequences can be disabled. The command sequences to |
|
|
417 | enable and query paste mode will still work, but the actual bracket |
|
|
418 | sequences will no longer be emitted. You can also toggle this from the |
|
|
419 | ctrl-middle-mouse-button menu; resource B<disablePasteBrackets>. |
|
|
420 | |
403 | =item B<-insecure> |
421 | =item B<-insecure> |
404 | |
422 | |
405 | Enable "insecure" mode, which currently enables most of the escape |
423 | Enable "insecure" mode, which currently enables most of the escape |
406 | sequences that echo strings. See the resource B<insecure> for more |
424 | sequences that echo strings. See the resource B<insecure> for more |
407 | info. |
425 | info. |
… | |
… | |
419 | |
437 | |
420 | =item B<-ssr>|B<+ssr> |
438 | =item B<-ssr>|B<+ssr> |
421 | |
439 | |
422 | Turn on/off secondary screen scroll (default enabled); resource |
440 | Turn on/off secondary screen scroll (default enabled); resource |
423 | B<secondaryScroll>. |
441 | B<secondaryScroll>. |
|
|
442 | |
|
|
443 | =item B<-rm> I<mode> |
|
|
444 | |
|
|
445 | Compile I<frills>: Sets long line rewrapping behaviour on window resizes |
|
|
446 | to one of B<auto> (the default), B<always> or B<never>. The latter two |
|
|
447 | modes do the obvious, B<auto> rewraps (acts like B<always>) if scrollback |
|
|
448 | is non-empty, and wings lines (acts like B<never>) otherwise; resource |
|
|
449 | B<rewrapMode>. |
424 | |
450 | |
425 | =item B<-hold>|B<+hold> |
451 | =item B<-hold>|B<+hold> |
426 | |
452 | |
427 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
453 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
428 | will not immediately destroy its window when the program executed within |
454 | will not immediately destroy its window when the program executed within |
… | |
… | |
506 | close $pty; |
532 | close $pty; |
507 | |
533 | |
508 | # now communicate with rxvt |
534 | # now communicate with rxvt |
509 | my $slave = $pty->slave; |
535 | my $slave = $pty->slave; |
510 | while (<$slave>) { print $slave "got <$_>\n" } |
536 | while (<$slave>) { print $slave "got <$_>\n" } |
|
|
537 | |
|
|
538 | Note that, despite what the name might imply, the file descriptor does not |
|
|
539 | need to be a pty, it can be a bi-directional pipe as well (e.g. a unix |
|
|
540 | domain or tcp socket). While tty operations cannot be done in this case, |
|
|
541 | B<@@RXVT_NAME@@> can still be remote controlled with it: |
|
|
542 | |
|
|
543 | use Socket; |
|
|
544 | use Fcntl; |
|
|
545 | |
|
|
546 | socketpair my $URXVT, my $slave, Socket::AF_UNIX, Socket::SOCK_STREAM, Socket::PF_UNSPEC; |
|
|
547 | fcntl $slave, Fcntl::F_SETFD, 0; |
|
|
548 | system "exec @@RXVT_NAME|| -pty-fd " . (fileno $slave) . " &"; |
|
|
549 | close $slave; |
|
|
550 | |
|
|
551 | syswrite $URXVT, "Type a secret password: "; |
|
|
552 | my $secret = do { local $/ = "\r"; <$URXVT> }; |
|
|
553 | print "Not so secret anymore: $secret\n"; |
511 | |
554 | |
512 | =item B<-pe> I<string> |
555 | =item B<-pe> I<string> |
513 | |
556 | |
514 | Comma-separated list of perl extension scripts to use (or not to use) in |
557 | Comma-separated list of perl extension scripts to use (or not to use) in |
515 | this terminal instance. See resource B<perl-ext> for details. |
558 | this terminal instance. See resource B<perl-ext> for details. |
… | |
… | |
543 | be used. Command-line arguments can be used to override resource |
586 | be used. Command-line arguments can be used to override resource |
544 | settings. The following resources are supported (you might want to |
587 | settings. The following resources are supported (you might want to |
545 | check the @@RXVT_NAME@@perl(3) manpage for additional settings by perl |
588 | check the @@RXVT_NAME@@perl(3) manpage for additional settings by perl |
546 | extensions not documented here): |
589 | extensions not documented here): |
547 | |
590 | |
548 | =over 4 |
591 | =over |
549 | |
592 | |
550 | =item B<depth:> I<bitdepth> |
593 | =item B<depth:> I<bitdepth> |
551 | |
594 | |
552 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
595 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
553 | option B<-depth>. |
596 | option B<-depth>. |
… | |
… | |
786 | |
829 | |
787 | B<True>: start as a login shell by prepending a `-' to B<argv[0]> of |
830 | B<True>: start as a login shell by prepending a `-' to B<argv[0]> of |
788 | the shell; option B<-ls>. B<False>: start as a normal sub-shell |
831 | the shell; option B<-ls>. B<False>: start as a normal sub-shell |
789 | [default]; option B<+ls>. |
832 | [default]; option B<+ls>. |
790 | |
833 | |
|
|
834 | =item B<multiClickTime:> I<number> |
|
|
835 | |
|
|
836 | Specify the maximum time in milliseconds between multi-click select |
|
|
837 | events. The default is 500 milliseconds; option B<-mc>. |
|
|
838 | |
791 | =item B<utmpInhibit:> I<boolean> |
839 | =item B<utmpInhibit:> I<boolean> |
792 | |
840 | |
793 | B<True>: inhibit writing record into the system log file B<utmp>; |
841 | B<True>: inhibit writing record into the system log file B<utmp>; |
794 | option B<-ut>. B<False>: write record into the system log file B<utmp> |
842 | option B<-ut>. B<False>: write record into the system log file B<utmp> |
795 | [default]; option B<+ut>. |
843 | [default]; option B<+ut>. |
… | |
… | |
858 | are not passed onto the shell; option B<-sk>. B<False>: do not scroll to |
906 | are not passed onto the shell; option B<-sk>. B<False>: do not scroll to |
859 | bottom when a non-special key is pressed; option B<+sk>. |
907 | bottom when a non-special key is pressed; option B<+sk>. |
860 | |
908 | |
861 | =item B<saveLines:> I<number> |
909 | =item B<saveLines:> I<number> |
862 | |
910 | |
863 | Save I<number> lines in the scrollback buffer [default 64]. This |
911 | Save I<number> lines in the scrollback buffer [default 1000]; option B<-sl>. |
864 | resource is limited on most machines to 65535; option B<-sl>. |
|
|
865 | |
912 | |
866 | =item B<internalBorder:> I<number> |
913 | =item B<internalBorder:> I<number> |
867 | |
914 | |
868 | Internal border of I<number> pixels. This resource is limited to 100; |
915 | Internal border of I<number> pixels. This resource is limited to 100; |
869 | option B<-b>. |
916 | option B<-b>. |
… | |
… | |
932 | |
979 | |
933 | =item B<pointerColor2:> I<colour> |
980 | =item B<pointerColor2:> I<colour> |
934 | |
981 | |
935 | Mouse pointer background colour. |
982 | Mouse pointer background colour. |
936 | |
983 | |
|
|
984 | =item B<pointerShape:> I<string> |
|
|
985 | |
|
|
986 | Compile I<frills>: Specifies the name of the mouse pointer shape |
|
|
987 | [default B<xterm>]. See the macros in the B<X11/cursorfont.h> include |
|
|
988 | file for possible values (omit the C<XC_> prefix). |
|
|
989 | |
937 | =item B<pointerBlankDelay:> I<number> |
990 | =item B<pointerBlankDelay:> I<number> |
938 | |
991 | |
939 | Specifies number of seconds before blanking the pointer [default 2]. Use a |
992 | Specifies number of seconds before blanking the pointer [default 2]. Use a |
940 | large number (e.g. C<987654321>) to effectively disable the timeout. |
993 | large number (e.g. C<987654321>) to effectively disable the timeout. |
941 | |
994 | |
… | |
… | |
967 | |
1020 | |
968 | B<< BACKSLASH `"'&()*,;<=>?@[]^{|} >> |
1021 | B<< BACKSLASH `"'&()*,;<=>?@[]^{|} >> |
969 | |
1022 | |
970 | =item B<preeditType:> I<style> |
1023 | =item B<preeditType:> I<style> |
971 | |
1024 | |
972 | B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. |
1025 | B<OnTheSpot>, B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. |
973 | |
1026 | |
974 | =item B<inputMethod:> I<name> |
1027 | =item B<inputMethod:> I<name> |
975 | |
1028 | |
976 | I<name> of inputMethod to use; option B<-im>. |
1029 | I<name> of inputMethod to use; option B<-im>. |
977 | |
1030 | |
… | |
… | |
995 | |
1048 | |
996 | Change the meaning of triple-click selection with the left mouse |
1049 | Change the meaning of triple-click selection with the left mouse |
997 | button. Instead of selecting a full line it will extend the selection to |
1050 | button. Instead of selecting a full line it will extend the selection to |
998 | the end of the logical line only; option B<-tcw>. |
1051 | the end of the logical line only; option B<-tcw>. |
999 | |
1052 | |
|
|
1053 | =item B<disablePasteBrackets:> I<boolean> |
|
|
1054 | |
|
|
1055 | Prevent emission of paste bracket sequences; option B<-dpb>. |
|
|
1056 | |
1000 | =item B<insecure:> I<boolean> |
1057 | =item B<insecure:> I<boolean> |
1001 | |
1058 | |
1002 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
1059 | Enable "insecure" mode. Rxvt-unicode offers some escape sequences that |
1003 | echo arbitrary strings like the icon name or the locale. This could be |
1060 | echo arbitrary strings like the icon name or the locale. This could be |
1004 | abused if somebody gets 8-bit-clean access to your display, whether |
1061 | abused if somebody gets 8-bit-clean access to your display, whether |
1005 | through a mail client displaying mail bodies unfiltered or through |
1062 | through a mail client displaying mail bodies unfiltered or through |
1006 | write(1) or any other means. Therefore, these sequences are disabled by |
1063 | write(1) or any other means. Therefore, these sequences are disabled by |
1007 | default. (Note that many other terminals, including xterm, have these |
1064 | default. (Note that many other terminals, including xterm, have these |
… | |
… | |
1025 | |
1082 | |
1026 | =item B<secondaryScreen:> I<boolean> |
1083 | =item B<secondaryScreen:> I<boolean> |
1027 | |
1084 | |
1028 | Turn on/off secondary screen (default enabled). |
1085 | Turn on/off secondary screen (default enabled). |
1029 | |
1086 | |
|
|
1087 | =item B<rewrapMode:> I<mode> |
|
|
1088 | |
|
|
1089 | Sets long line rewrap behaviour on window resize to one of B<auto> |
|
|
1090 | (default), B<always> or B<never>. |
|
|
1091 | |
1030 | =item B<secondaryScroll:> I<boolean> |
1092 | =item B<secondaryScroll:> I<boolean> |
1031 | |
1093 | |
1032 | Turn on/off secondary screen scroll (default enabled). If this |
1094 | Turn on/off secondary screen scroll (default enabled). If this |
1033 | option is enabled, scrolls on the secondary screen will change the |
1095 | option is enabled, scrolls on the secondary screen will change the |
1034 | scrollback buffer and, when secondaryScreen is off, switching |
1096 | scrollback buffer and, when secondaryScreen is off, switching |
… | |
… | |
1061 | |
1123 | |
1062 | The key combination that triggers the action, I<sym>, has the following format: |
1124 | The key combination that triggers the action, I<sym>, has the following format: |
1063 | |
1125 | |
1064 | (modifiers-)key |
1126 | (modifiers-)key |
1065 | |
1127 | |
1066 | Where I<modifiers> can be any combination of B<ISOLevel3>, B<AppKeypad>, |
1128 | Where I<modifiers> can be any combination of the following full or |
1067 | B<Control>, B<NumLock>, B<Shift>, B<Meta>, B<Lock>, B<Mod1>, B<Mod2>, |
1129 | abbreviated modifier names: |
1068 | B<Mod3>, B<Mod4>, B<Mod5>, and the abbreviated B<I>, B<K>, B<C>, B<N>, |
1130 | |
1069 | B<S>, B<M>, B<A>, B<L>, B<1>, B<2>, B<3>, B<4>, B<5>. |
1131 | =begin table |
|
|
1132 | |
|
|
1133 | B<ISOLevel3> B<I> |
|
|
1134 | B<AppKeypad> B<K> |
|
|
1135 | B<Control> B<C> |
|
|
1136 | B<NumLock> B<N> |
|
|
1137 | B<Shift> B<S> |
|
|
1138 | B<Meta> B<M> I<or> B<A> |
|
|
1139 | B<Lock> B<L> |
|
|
1140 | B<Mod1> B<1> |
|
|
1141 | B<Mod2> B<2> |
|
|
1142 | B<Mod3> B<3> |
|
|
1143 | B<Mod4> B<4> |
|
|
1144 | B<Mod5> B<5> |
|
|
1145 | |
|
|
1146 | =end table |
1070 | |
1147 | |
1071 | The B<NumLock>, B<Meta> and B<ISOLevel3> modifiers are usually aliased to |
1148 | The B<NumLock>, B<Meta> and B<ISOLevel3> modifiers are usually aliased to |
1072 | whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr |
1149 | whatever modifier the NumLock key, Meta/Alt keys or ISO Level3 Shift/AltGr |
1073 | keys are being mapped. B<AppKeypad> is a synthetic modifier mapped to the |
1150 | keys are being mapped. B<AppKeypad> is a synthetic modifier mapped to the |
1074 | current application keymap mode state. |
1151 | current application keymap mode state. |
… | |
… | |
1097 | prefixed with C<string:>). |
1174 | prefixed with C<string:>). |
1098 | |
1175 | |
1099 | The following action prefixes are known - extensions can provide |
1176 | The following action prefixes are known - extensions can provide |
1100 | additional prefixes: |
1177 | additional prefixes: |
1101 | |
1178 | |
1102 | =over 4 |
1179 | =over |
1103 | |
1180 | |
1104 | =item string:STRING |
1181 | =item string:STRING |
1105 | |
1182 | |
1106 | If the I<action> starts with C<string:> (or otherwise contains no colons), |
1183 | If the I<action> starts with C<string:> (or otherwise contains no colons), |
1107 | then the remaining C<STRING> will be passed to the program running in the |
1184 | then the remaining C<STRING> will be passed to the program running in the |
… | |
… | |
1109 | string C<echo rm -rf /> followed by a newline: |
1186 | string C<echo rm -rf /> followed by a newline: |
1110 | |
1187 | |
1111 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1188 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1112 | |
1189 | |
1113 | This could in theory be used to completely redefine your keymap. |
1190 | This could in theory be used to completely redefine your keymap. |
|
|
1191 | |
|
|
1192 | In addition, for actions of this type, you can define a range of |
|
|
1193 | keysyms in one shot by loading the C<keysym-list> perl extension and |
|
|
1194 | providing an I<action> with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where |
|
|
1195 | the delimiter `/' should be a character not used by the strings. |
|
|
1196 | |
|
|
1197 | Its usage can be demonstrated by an example: |
|
|
1198 | |
|
|
1199 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
|
|
1200 | |
|
|
1201 | The above line is equivalent to the following three lines: |
|
|
1202 | |
|
|
1203 | URxvt.keysym.Meta-Control-0x61: string:\033<a> |
|
|
1204 | URxvt.keysym.Meta-Control-0x62: string:\033<b> |
|
|
1205 | URxvt.keysym.Meta-Control-0x63: string:\033<c> |
1114 | |
1206 | |
1115 | =item command:STRING |
1207 | =item command:STRING |
1116 | |
1208 | |
1117 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1209 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1118 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
1210 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
… | |
… | |
1178 | |
1270 | |
1179 | Similarly, to let applications gain access to the C<C-M-c> (copy to |
1271 | Similarly, to let applications gain access to the C<C-M-c> (copy to |
1180 | clipboard) and C<C-M-v> (paste clipboard) key combination, you can do |
1272 | clipboard) and C<C-M-v> (paste clipboard) key combination, you can do |
1181 | this: |
1273 | this: |
1182 | |
1274 | |
1183 | URxvt.keysym.C-S-c: builtin-string: |
1275 | URxvt.keysym.C-M-c: builtin-string: |
1184 | URxvt.keysym.C-S-v: builtin-string: |
1276 | URxvt.keysym.C-M-v: builtin-string: |
1185 | |
1277 | |
1186 | =item EXTENSION:STRING |
1278 | =item EXTENSION:STRING |
1187 | |
1279 | |
1188 | An action of this form passes the B<STRING> to the @@RXVT_NAME@@perl(3) |
1280 | An action of this form invokes the action B<STRING>, if any, provided |
1189 | extension of the same name. The extension will be loaded automatically if |
1281 | by the @@RXVT_NAME@@perl(3) extension B<EXTENSION>. The extension will |
1190 | necessary. |
1282 | be loaded automatically if necessary. |
1191 | |
1283 | |
1192 | Not all extensions define key actions, but popular extensions that do |
1284 | Not all extensions define actions, but popular extensions that do |
1193 | include the I<selection> and I<matcher> extensions (documented in their |
1285 | include the I<selection> and I<matcher> extensions (documented in their |
1194 | own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), |
1286 | own manpages, @@RXVT_NAME@@-selection(1) and @@RXVT_NAME@@-matcher(1), |
1195 | respectively). |
1287 | respectively). |
1196 | |
1288 | |
1197 | From the silly examples department, this will rot13-"encrypt" |
1289 | From the silly examples department, this will rot13-"encrypt" |
… | |
… | |
1200 | |
1292 | |
1201 | URxvt.keysym.M-C-c: selection:rot13 |
1293 | URxvt.keysym.M-C-c: selection:rot13 |
1202 | |
1294 | |
1203 | =item perl:STRING *DEPRECATED* |
1295 | =item perl:STRING *DEPRECATED* |
1204 | |
1296 | |
1205 | This is a deprecated way of passing key mappings to perl extensions. It is |
1297 | This is a deprecated way of invoking commands provided by perl |
1206 | still supported, but should not be used anymore. |
1298 | extensions. It is still supported, but should not be used anymore. |
1207 | |
1299 | |
1208 | =back |
1300 | =back |
1209 | |
1301 | |
1210 | =item B<perl-ext-common>: I<string> |
1302 | =item B<perl-ext-common>: I<string> |
1211 | |
1303 | |
1212 | =item B<perl-ext>: I<string> |
1304 | =item B<perl-ext>: I<string> |
1213 | |
1305 | |
1214 | Comma-separated list(s) of perl extension scripts (default: C<default>) to |
1306 | Comma-separated list(s) of perl extension scripts (default: C<default>) to |
1215 | use in this terminal instance; option B<-pe>. |
1307 | use in this terminal instance; option B<-pe>. |
1216 | |
1308 | |
1217 | Extension names can be prefixed with a C<-> sign to prohibit using |
1309 | Extension names can be prefixed with a C<-> sign to remove them again, in |
1218 | them. This can be useful to selectively disable some extensions loaded |
1310 | case they had been specified earlier. This can be useful to selectively |
1219 | by default, or specified via the C<perl-ext-common> resource. For |
1311 | disable some extensions loaded by default, or specified via the |
1220 | example, C<default,-selection> will use all the default extensions except |
1312 | C<perl-ext-common> resource. For example, C<default,-selection> will use |
1221 | C<selection>. |
1313 | all the default extensions except C<selection>. |
|
|
1314 | |
|
|
1315 | To prohibit autoloading of extensions, you can prefix them with C</>, |
|
|
1316 | which will make urxvt refuse to automatically load them (this can be |
|
|
1317 | overriden, however, by specifying the extension name again without a |
|
|
1318 | prefix, though). This does not prohibit extensions themselves loading |
|
|
1319 | other extensions. For example, C<default,/background> will keep the |
|
|
1320 | C<background> extension from being loaded when a background OSC sequence |
|
|
1321 | is received. |
1222 | |
1322 | |
1223 | The default set includes the C<selection>, C<option-popup>, |
1323 | The default set includes the C<selection>, C<option-popup>, |
1224 | C<selection-popup> and C<readline> extensions, any extensions that define |
1324 | C<selection-popup>, C<readline>, C<searchable-scrollback> and |
1225 | keybindings via C<BINDING> meta comments, extensions loaded because |
1325 | C<confirm-paste> extensions, as well as any extensions which are mentioned |
1226 | their resources/commandline switches were used, and extensions which are |
|
|
1227 | mentioned in B<keysym> resources. |
1326 | in B<keysym> resources. |
|
|
1327 | |
|
|
1328 | Any extension such that a corresponding resource is given on the |
|
|
1329 | command line is automatically appended to B<perl-ext>. |
1228 | |
1330 | |
1229 | Each extension is looked up in the library directories, loaded if |
1331 | Each extension is looked up in the library directories, loaded if |
1230 | necessary, and bound to the current terminal instance. When the library |
1332 | necessary, and bound to the current terminal instance. When the library |
1231 | search path contains multiple extension files of the same name, then the |
1333 | search path contains multiple extension files of the same name, then the |
1232 | first one found will be used. |
1334 | first one found will be used. |
… | |
… | |
1286 | Turn on/off ISO 14755 (default enabled). |
1388 | Turn on/off ISO 14755 (default enabled). |
1287 | |
1389 | |
1288 | =item B<iso14755_52:> I<boolean> |
1390 | =item B<iso14755_52:> I<boolean> |
1289 | |
1391 | |
1290 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1392 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1291 | |
|
|
1292 | =back |
|
|
1293 | |
|
|
1294 | =head1 BACKGROUND IMAGE OPTIONS AND RESOURCES |
|
|
1295 | |
|
|
1296 | =over 4 |
|
|
1297 | |
|
|
1298 | =item B<-pixmap> I<file[;oplist]> |
|
|
1299 | |
|
|
1300 | =item B<backgroundPixmap:> I<file[;oplist]> |
|
|
1301 | |
|
|
1302 | Compile I<pixbuf>: Use the specified image file as the window's |
|
|
1303 | background and also optionally specify a colon separated list of |
|
|
1304 | operations to modify it. Note that you may need to quote the C<;> |
|
|
1305 | character when using the command line option, as C<;> is usually a |
|
|
1306 | metacharacter in shells. Supported operations are: |
|
|
1307 | |
|
|
1308 | =over 4 |
|
|
1309 | |
|
|
1310 | =item B<WxH+X+Y> |
|
|
1311 | |
|
|
1312 | sets scale and position. B<"W" / "H"> specify the horizontal/vertical |
|
|
1313 | scale (percent), and B<"X" / "Y"> locate the image centre (percent). A |
|
|
1314 | scale of 0 disables scaling. |
|
|
1315 | |
|
|
1316 | =item B<op=tile> |
|
|
1317 | |
|
|
1318 | enables tiling |
|
|
1319 | |
|
|
1320 | =item B<op=keep-aspect> |
|
|
1321 | |
|
|
1322 | maintain the image aspect ratio when scaling |
|
|
1323 | |
|
|
1324 | =item B<op=root-align> |
|
|
1325 | |
|
|
1326 | use the position of the terminal window relative to the root window as |
|
|
1327 | the image offset, simulating a root window background |
|
|
1328 | |
|
|
1329 | =back |
|
|
1330 | |
|
|
1331 | The default scale and position setting is C<100x100+50+50>. |
|
|
1332 | Alternatively, a predefined set of templates can be used to achieve |
|
|
1333 | the most common setups: |
|
|
1334 | |
|
|
1335 | =over 4 |
|
|
1336 | |
|
|
1337 | =item B<style=tiled> |
|
|
1338 | |
|
|
1339 | the image is tiled with no scaling. Equivalent to 0x0+0+0:op=tile |
|
|
1340 | |
|
|
1341 | =item B<style=aspect-stretched> |
|
|
1342 | |
|
|
1343 | the image is scaled to fill the whole window maintaining the aspect |
|
|
1344 | ratio and centered. Equivalent to 100x100+50+50:op=keep-aspect |
|
|
1345 | |
|
|
1346 | =item B<style=stretched> |
|
|
1347 | |
|
|
1348 | the image is scaled to fill the whole window. Equivalent to 100x100 |
|
|
1349 | |
|
|
1350 | =item B<style=centered> |
|
|
1351 | |
|
|
1352 | the image is centered with no scaling. Equivalent to 0x0+50+50 |
|
|
1353 | |
|
|
1354 | =item B<style=root-tiled> |
|
|
1355 | |
|
|
1356 | the image is tiled with no scaling and using 'root' positioning. |
|
|
1357 | Equivalent to 0x0:op=tile:op=root-align |
|
|
1358 | |
|
|
1359 | =back |
|
|
1360 | |
|
|
1361 | If multiple templates are specified the last one wins. Note that a |
|
|
1362 | template overrides all the scale, position and operations settings. |
|
|
1363 | |
|
|
1364 | If used in conjunction with pseudo-transparency, the specified pixmap |
|
|
1365 | will be blended over the transparent background using alpha-blending. |
|
|
1366 | |
|
|
1367 | =item B<-tr>|B<+tr> |
|
|
1368 | |
|
|
1369 | =item B<transparent:> I<boolean> |
|
|
1370 | |
|
|
1371 | Turn on/off pseudo-transparency by using the root pixmap as background. |
|
|
1372 | |
|
|
1373 | B<-ip> (B<inheritPixmap>) is still accepted as an obsolete alias but |
|
|
1374 | will be removed in future versions. |
|
|
1375 | |
|
|
1376 | =item B<-tint> I<colour> |
|
|
1377 | |
|
|
1378 | =item B<tintColor:> I<colour> |
|
|
1379 | |
|
|
1380 | Tint the transparent background with the given colour. Note that a |
|
|
1381 | black tint yields a completely black image while a white tint yields |
|
|
1382 | the image unchanged. |
|
|
1383 | |
|
|
1384 | =item B<-sh> I<number> |
|
|
1385 | |
|
|
1386 | =item B<shading:> I<number> |
|
|
1387 | |
|
|
1388 | Darken (0 .. 99) or lighten (101 .. 200) the transparent background. |
|
|
1389 | A value of 100 means no shading. |
|
|
1390 | |
|
|
1391 | =item B<-blr> I<HxV> |
|
|
1392 | |
|
|
1393 | =item B<blurRadius:> I<HxV> |
|
|
1394 | |
|
|
1395 | Apply gaussian blur with the specified radius to the transparent |
|
|
1396 | background. If a single number is specified, the vertical and |
|
|
1397 | horizontal radii are considered to be the same. Setting one of the |
|
|
1398 | radii to 1 and the other to a large number creates interesting effects |
|
|
1399 | on some backgrounds. The maximum radius value is 128. An horizontal or |
|
|
1400 | vertical radius of 0 disables blurring. |
|
|
1401 | |
|
|
1402 | =item B<path:> I<path> |
|
|
1403 | |
|
|
1404 | Specify the colon-delimited search path for finding background image files. |
|
|
1405 | |
1393 | |
1406 | =back |
1394 | =back |
1407 | |
1395 | |
1408 | =head1 THE SCROLLBAR |
1396 | =head1 THE SCROLLBAR |
1409 | |
1397 | |
… | |
… | |
1433 | =head1 THE SELECTION: SELECTING AND PASTING TEXT |
1421 | =head1 THE SELECTION: SELECTING AND PASTING TEXT |
1434 | |
1422 | |
1435 | The behaviour of text selection and insertion/pasting mechanism is similar |
1423 | The behaviour of text selection and insertion/pasting mechanism is similar |
1436 | to I<xterm>(1). |
1424 | to I<xterm>(1). |
1437 | |
1425 | |
1438 | =over 4 |
1426 | =over |
1439 | |
1427 | |
1440 | =item B<Selecting>: |
1428 | =item B<Selecting>: |
1441 | |
1429 | |
1442 | Left click at the beginning of the region, drag to the end of the region |
1430 | Left click at the beginning of the region, drag to the end of the region |
1443 | and release; Right click to extend the marked region; Left double-click |
1431 | and release; Right click to extend the marked region; Left double-click |
… | |
… | |
1490 | and character codes using the keyboard. It consists of 4 parts. The |
1478 | and character codes using the keyboard. It consists of 4 parts. The |
1491 | first part is available if rxvt-unicode has been compiled with |
1479 | first part is available if rxvt-unicode has been compiled with |
1492 | C<--enable-frills>, the rest is available when rxvt-unicode was compiled |
1480 | C<--enable-frills>, the rest is available when rxvt-unicode was compiled |
1493 | with C<--enable-iso14755>. |
1481 | with C<--enable-iso14755>. |
1494 | |
1482 | |
1495 | =over 4 |
1483 | =over |
1496 | |
1484 | |
1497 | =item * 5.1: Basic method |
1485 | =item * 5.1: Basic method |
1498 | |
1486 | |
1499 | This allows you to enter unicode characters using their hexcode. |
1487 | This allows you to enter unicode characters using their hexcode. |
1500 | |
1488 | |
… | |
… | |
1561 | In addition to the default foreground and background colours, |
1549 | In addition to the default foreground and background colours, |
1562 | B<@@RXVT_NAME@@> can display up to 88/256 colours: 8 ANSI colours plus |
1550 | B<@@RXVT_NAME@@> can display up to 88/256 colours: 8 ANSI colours plus |
1563 | high-intensity (potentially bold/blink) versions of the same, and 72 (or |
1551 | high-intensity (potentially bold/blink) versions of the same, and 72 (or |
1564 | 240 in 256 colour mode) colours arranged in an 4x4x4 (or 6x6x6) colour RGB |
1552 | 240 in 256 colour mode) colours arranged in an 4x4x4 (or 6x6x6) colour RGB |
1565 | cube plus a 8 (24) colour greyscale ramp. |
1553 | cube plus a 8 (24) colour greyscale ramp. |
|
|
1554 | |
|
|
1555 | B<@@RXVT_NAME@@> supports direct 24-bit fg/bg RGB colour escapes |
|
|
1556 | C< ESC [ 38 ; 2 ; R ; G ; Bm > / C< ESC [ 48 ; 2; R ; G ; Bm >. However the |
|
|
1557 | number of 24-bit colours that can be used is limited: an internal 7x7x5 (256 |
|
|
1558 | colour mode) or 6x6x4 (88 colour mode) colour cube is used to index into the |
|
|
1559 | 24-bit colour space. When indexing collisions happen, the nearest old colour in |
|
|
1560 | the cube will be adapted to the new 24-bit RGB colour. That means one cannot |
|
|
1561 | use many similar 24-bit colours. It's typically not a problem in common |
|
|
1562 | scenarios. |
1566 | |
1563 | |
1567 | Here is a list of the ANSI colours with their names. |
1564 | Here is a list of the ANSI colours with their names. |
1568 | |
1565 | |
1569 | =begin table |
1566 | =begin table |
1570 | |
1567 | |
… | |
… | |
1671 | |
1668 | |
1672 | =head1 ENVIRONMENT |
1669 | =head1 ENVIRONMENT |
1673 | |
1670 | |
1674 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1671 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1675 | |
1672 | |
1676 | =over 4 |
1673 | =over |
1677 | |
1674 | |
1678 | =item B<TERM> |
1675 | =item B<TERM> |
1679 | |
1676 | |
1680 | Normally set to C<rxvt-unicode>, unless overwritten at configure time, via |
1677 | Normally set to C<rxvt-unicode>, unless overwritten at configure time, via |
1681 | resources or on the command line. |
1678 | resources or on the command line. |
… | |
… | |
1752 | |
1749 | |
1753 | =back |
1750 | =back |
1754 | |
1751 | |
1755 | =head1 FILES |
1752 | =head1 FILES |
1756 | |
1753 | |
1757 | =over 4 |
1754 | =over |
1758 | |
1755 | |
1759 | =item B</usr/lib/X11/rgb.txt> |
1756 | =item B</usr/lib/X11/rgb.txt> |
1760 | |
1757 | |
1761 | Colour names. |
1758 | Colour names. |
1762 | |
1759 | |
… | |
… | |
1767 | @@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), @@RXVT_NAME@@-extensions(1), |
1764 | @@RXVT_NAME@@(7), @@RXVT_NAME@@c(1), @@RXVT_NAME@@d(1), @@RXVT_NAME@@-extensions(1), |
1768 | @@RXVT_NAME@@perl(3), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) |
1765 | @@RXVT_NAME@@perl(3), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) |
1769 | |
1766 | |
1770 | =head1 CURRENT PROJECT COORDINATOR |
1767 | =head1 CURRENT PROJECT COORDINATOR |
1771 | |
1768 | |
1772 | =over 4 |
1769 | =over |
1773 | |
1770 | |
1774 | =item Project Coordinator |
1771 | =item Project Coordinator |
1775 | |
1772 | |
1776 | Marc A. Lehmann <rxvt-unicode@schmorp.de>. |
1773 | Marc A. Lehmann <rxvt-unicode@schmorp.de>. |
1777 | |
1774 | |
… | |
… | |
1779 | |
1776 | |
1780 | =back |
1777 | =back |
1781 | |
1778 | |
1782 | =head1 AUTHORS |
1779 | =head1 AUTHORS |
1783 | |
1780 | |
1784 | =over 4 |
1781 | =over |
1785 | |
1782 | |
1786 | =item John Bovey |
1783 | =item John Bovey |
1787 | |
1784 | |
1788 | University of Kent, 1992, wrote the original Xvt. |
1785 | University of Kent, 1992, wrote the original Xvt. |
1789 | |
1786 | |