… | |
… | |
172 | resource B<borderColor>. |
172 | resource B<borderColor>. |
173 | |
173 | |
174 | =item B<-fn> I<fontlist> |
174 | =item B<-fn> I<fontlist> |
175 | |
175 | |
176 | Select the fonts to be used. This is a comma separated list of font names |
176 | Select the fonts to be used. This is a comma separated list of font names |
177 | that are used in turn when trying to display Unicode characters. The |
177 | that are checked in order when trying to find glyphs for characters. The |
178 | first font defines the cell size for characters; other fonts might be |
178 | first font defines the cell size for characters; other fonts might be |
179 | smaller, but not (in general) larger. A (hopefully) reasonable default |
179 | smaller, but not (in general) larger. A (hopefully) reasonable default |
180 | font list is always appended to it. See resource B<font> for more details. |
180 | font list is always appended to it. See resource B<font> for more details. |
181 | |
181 | |
182 | In short, to specify an X11 core font, just specify it's name or prefix it |
182 | In short, to specify an X11 core font, just specify it's name or prefix it |
… | |
… | |
189 | See also the question "How does rxvt-unicode choose fonts?" in the FAQ |
189 | See also the question "How does rxvt-unicode choose fonts?" in the FAQ |
190 | section of @@RXVT_NAME@@(7). |
190 | section of @@RXVT_NAME@@(7). |
191 | |
191 | |
192 | =item B<-fb> I<fontlist> |
192 | =item B<-fb> I<fontlist> |
193 | |
193 | |
194 | Compile font-styles: The bold font list to use when bold characters are to |
194 | Compile I<font-styles>: The bold font list to use when B<bold> characters |
195 | be printed. See resource B<boldFont> for details. |
195 | are to be printed. See resource B<boldFont> for details. |
196 | |
196 | |
197 | =item B<-fi> I<fontlist> |
197 | =item B<-fi> I<fontlist> |
198 | |
198 | |
199 | Compile font-styles: The italic font list to use when bold characters are to |
199 | Compile I<font-styles>: The italic font list to use when I<italic> |
200 | be printed. See resource B<italicFont> for details. |
200 | characters are to be printed. See resource B<italicFont> for details. |
201 | |
201 | |
202 | =item B<-fbi> I<fontlist> |
202 | =item B<-fbi> I<fontlist> |
203 | |
203 | |
204 | Compile font-styles: The bold italic font list to use when bold characters are to |
204 | Compile I<font-styles>: The bold italic font list to use when B<< I<bold |
205 | be printed. See resource B<boldItalicFont> for details. |
205 | italic> >> characters are to be printed. See resource B<boldItalicFont> |
|
|
206 | for details. |
|
|
207 | |
|
|
208 | =item B<-is>|B<+is> |
|
|
209 | |
|
|
210 | Compile I<font-styles>: Bold/Italic font styles imply high intensity |
|
|
211 | foreground/background (default). See resource B<intensityStyles> for |
|
|
212 | details. |
206 | |
213 | |
207 | =item B<-name> I<name> |
214 | =item B<-name> I<name> |
208 | |
215 | |
209 | Specify the application name under which resources are to be obtained, |
216 | Specify the application name under which resources are to be obtained, |
210 | rather than the default executable file name. Name should not contain |
217 | rather than the default executable file name. Name should not contain |
… | |
… | |
289 | =item B<-bl> |
296 | =item B<-bl> |
290 | |
297 | |
291 | Compile I<frills>: Set MWM hints to request a borderless window, i.e. |
298 | Compile I<frills>: Set MWM hints to request a borderless window, i.e. |
292 | if honoured by the WM, the rxvt-unicode window will not have window |
299 | if honoured by the WM, the rxvt-unicode window will not have window |
293 | decorations; resource B<borderLess>. |
300 | decorations; resource B<borderLess>. |
|
|
301 | |
|
|
302 | =item B<-override-redirect> |
|
|
303 | |
|
|
304 | Compile I<frills>: Sets override-redirect on the window; resource |
|
|
305 | B<override-redirect>. |
|
|
306 | |
|
|
307 | =item B<-sbg> |
|
|
308 | |
|
|
309 | Compile I<frills>: Disable the usage of the built-in block graphics/line |
|
|
310 | drawing characters and just rely on what the specified fonts provide. Use |
|
|
311 | this if you have a good font and want to use its block graphic glyphs; |
|
|
312 | resource B<skipBuiltinGlyphs>. |
294 | |
313 | |
295 | =item B<-lsp> I<number> |
314 | =item B<-lsp> I<number> |
296 | |
315 | |
297 | Compile I<frills>: Lines (pixel height) to insert between each row of |
316 | Compile I<frills>: Lines (pixel height) to insert between each row of |
298 | the display. Useful to work around font rendering problems; resource |
317 | the display. Useful to work around font rendering problems; resource |
… | |
… | |
313 | given on the command line. If this option is used, it must be the last |
332 | given on the command line. If this option is used, it must be the last |
314 | on the command-line. If there is no B<-e> option then the default is to |
333 | on the command-line. If there is no B<-e> option then the default is to |
315 | run the program specified by the B<SHELL> environment variable or, |
334 | run the program specified by the B<SHELL> environment variable or, |
316 | failing that, I<sh(1)>. |
335 | failing that, I<sh(1)>. |
317 | |
336 | |
|
|
337 | Please note that you must specify a program with arguments. If you want to |
|
|
338 | run shell commands, you have to specify the shell, like this: |
|
|
339 | |
|
|
340 | @@RXVT_NAME@@ -e sh -c "shell commands" |
|
|
341 | |
318 | =item B<-title> I<text> |
342 | =item B<-title> I<text> |
319 | |
343 | |
320 | Window title (B<-T> still respected); the default title is the basename |
344 | Window title (B<-T> still respected); the default title is the basename |
321 | of the program specified after the B<-e> option, if any, otherwise the |
345 | of the program specified after the B<-e> option, if any, otherwise the |
322 | application name; resource B<title>. |
346 | application name; resource B<title>. |
… | |
… | |
377 | |
401 | |
378 | =item B<-ssr>|B<+ssr> |
402 | =item B<-ssr>|B<+ssr> |
379 | |
403 | |
380 | Turn on/off secondary screen scroll (default enabled); resource |
404 | Turn on/off secondary screen scroll (default enabled); resource |
381 | B<secondaryScroll>. |
405 | B<secondaryScroll>. |
|
|
406 | |
|
|
407 | =item B<-hold>|B<+hold> |
|
|
408 | |
|
|
409 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
|
|
410 | will not immediately destroy its window when the program executed within |
|
|
411 | it exits. Instead, it will wait till it is being killed or closed by the |
|
|
412 | user; resource B<hold>. |
382 | |
413 | |
383 | =item B<-keysym.>I<sym> I<string> |
414 | =item B<-keysym.>I<sym> I<string> |
384 | |
415 | |
385 | Remap a key symbol. See resource B<keysym>. |
416 | Remap a key symbol. See resource B<keysym>. |
386 | |
417 | |
… | |
… | |
409 | $rxvt->signal_connect_after (realize => sub { |
440 | $rxvt->signal_connect_after (realize => sub { |
410 | my $xid = $_[0]->window->get_xid; |
441 | my $xid = $_[0]->window->get_xid; |
411 | system "@@RXVT_NAME@@ -embed $xid &"; |
442 | system "@@RXVT_NAME@@ -embed $xid &"; |
412 | }); |
443 | }); |
413 | |
444 | |
414 | =item B<-pty-fd> I<fileno> |
445 | =item B<-pty-fd> I<file descriptor> |
415 | |
446 | |
416 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
447 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
417 | pair but instead use the given filehandle as the tty master. This is |
448 | pair but instead use the given filehandle as the tty master. This is |
418 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
449 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
419 | without having to run a program within it. |
450 | without having to run a program within it. |
420 | |
451 | |
421 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
452 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
422 | entries and will not tinker with pty/tty permissions - you have to do that |
453 | entries and will not tinker with pty/tty permissions - you have to do that |
423 | yourself if you want that. |
454 | yourself if you want that. |
424 | |
455 | |
|
|
456 | As an extremely special case, specifying C<-1> will completely suppress |
|
|
457 | pty/tty operations. |
|
|
458 | |
425 | Here is a example in perl that illustrates how this option can be used (a |
459 | Here is a example in perl that illustrates how this option can be used (a |
426 | longer example is in F<doc/pty-fd>): |
460 | longer example is in F<doc/pty-fd>): |
427 | |
461 | |
428 | use IO::Pty; |
462 | use IO::Pty; |
429 | use Fcntl; |
463 | use Fcntl; |
… | |
… | |
435 | |
469 | |
436 | # now communicate with rxvt |
470 | # now communicate with rxvt |
437 | my $slave = $pty->slave; |
471 | my $slave = $pty->slave; |
438 | while (<$slave>) { print $slave "got <$_>\n" } |
472 | while (<$slave>) { print $slave "got <$_>\n" } |
439 | |
473 | |
|
|
474 | =item B<-pe> I<string> |
|
|
475 | |
|
|
476 | Comma-separated list of perl extension scripts to use (or not to use) in |
|
|
477 | this terminal instance. See resource B<perl-ext> for details. |
|
|
478 | |
440 | =back |
479 | =back |
441 | |
480 | |
442 | =head1 RESOURCES (available also as long-options) |
481 | =head1 RESOURCES (available also as long-options) |
443 | |
482 | |
444 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
483 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
445 | options) compiled into your version. |
484 | options) compiled into your version. |
446 | |
485 | |
447 | There are two different methods that @@RXVT_NAME@@ can use to get the |
486 | You can set and change the resources using X11 tools like B<xrdb>. Many |
448 | Xresource data: using the X libraries (Xrm*-functions) or internal |
487 | distribution do also load settings from the B<~/.Xresources> file when X |
449 | Xresources reader (B<~/.Xdefaults>). For the first method (ie. |
488 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
450 | B<@@RXVT_NAME@@ -h> lists B<XGetDefaults>), you can set and change the |
489 | with later settings overwriting earlier ones: |
451 | resources using X11 tools like B<xrdb>. Many distribution do also load |
|
|
452 | settings from the B<~/.Xresources> file when X starts. @@RXVT_NAME@@ |
|
|
453 | will consult the following files/resources in order, with later settings |
|
|
454 | overwriting earlier ones: |
|
|
455 | |
490 | |
456 | 1. system-wide app-defaults file, either locale-dependent OR global |
491 | 1. system-wide app-defaults file, either locale-dependent OR global |
457 | 2. app-defaults file in $XAPPLRESDIR |
492 | 2. app-defaults file in $XAPPLRESDIR |
458 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
493 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
459 | 4. SCREEN_RESOURCES for the current screen |
494 | 4. SCREEN_RESOURCES for the current screen |
460 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
495 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
461 | |
496 | |
462 | If compiled with internal Xresources support (i.e. B<@@RXVT_NAME@@ -h> |
|
|
463 | lists B<.Xdefaults>) then B<@@RXVT_NAME@@> accepts application defaults |
|
|
464 | set in XAPPLOADDIR/URxvt (compile-time defined: usually |
|
|
465 | B</usr/lib/X11/app-defaults/URxvt>) and resources set in |
|
|
466 | B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist. |
|
|
467 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two |
497 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
468 | class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows |
498 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
469 | resources common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be |
499 | common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily |
470 | easily configured, while the class name B<URxvt> allows resources |
500 | configured, while the class name B<URxvt> allows resources unique to |
471 | unique to B<@@RXVT_NAME@@>, notably colours and key-handling, to be |
501 | B<@@RXVT_NAME@@>, to be shared between different B<@@RXVT_NAME@@> |
472 | shared between different B<@@RXVT_NAME@@> configurations. If no |
502 | configurations. If no resources are specified, suitable defaults will |
473 | resources are specified, suitable defaults will be used. Command-line |
503 | be used. Command-line arguments can be used to override resource |
474 | arguments can be used to override resource settings. The following |
504 | settings. The following resources are supported (you might want to |
475 | resources are allowed: |
505 | check the @@RXVT_NAME@@perl(3) manpage for additional settings by perl |
|
|
506 | extensions not documented here): |
476 | |
507 | |
477 | =over 4 |
508 | =over 4 |
478 | |
509 | |
479 | =item B<geometry:> I<geom> |
510 | =item B<geometry:> I<geom> |
480 | |
511 | |
… | |
… | |
601 | of 1 displays the image without any scaling. A scale of 2 to 9 |
632 | of 1 displays the image without any scaling. A scale of 2 to 9 |
602 | specifies an integer number of images in that direction. No image will |
633 | specifies an integer number of images in that direction. No image will |
603 | be magnified beyond 10 times its original size. The maximum permitted |
634 | be magnified beyond 10 times its original size. The maximum permitted |
604 | scale is 1000. [default 0x0+50+50] |
635 | scale is 1000. [default 0x0+50+50] |
605 | |
636 | |
606 | =item B<menu:> I<file[;tag]> |
|
|
607 | |
|
|
608 | Read in the specified menu file (note the `.menu' extension is |
|
|
609 | optional) and also optionally specify a starting tag to find. See the |
|
|
610 | reference documentation for details on the syntax for the menuBar. |
|
|
611 | |
|
|
612 | =item B<path:> I<path> |
637 | =item B<path:> I<path> |
613 | |
638 | |
614 | Specify the colon-delimited search path for finding files (XPM and |
639 | Specify the colon-delimited search path for finding XPM files. |
615 | menus), in addition to the paths specified by the B<RXVTPATH> and |
|
|
616 | B<PATH> environment variables. |
|
|
617 | |
640 | |
618 | =item B<font:> I<fontlist> |
641 | =item B<font:> I<fontlist> |
619 | |
642 | |
620 | Select the fonts to be used. This is a comma separated list of font |
643 | Select the fonts to be used. This is a comma separated list of font names |
621 | names that are used in turn when trying to display Unicode characters. |
644 | that are checked in order when trying to find glyphs for characters. The |
622 | The first font defines the cell size for characters; other fonts might |
645 | first font defines the cell size for characters; other fonts might be |
623 | be smaller, but not larger. A reasonable default font list is always |
646 | smaller, but not (in general) larger. A (hopefully) reasonable default |
624 | appended to it. option B<-fn>. |
647 | font list is always appended to it; option B<-fn>. |
625 | |
648 | |
626 | Each font can either be a standard X11 core font (XLFD) name, with |
649 | Each font can either be a standard X11 core font (XLFD) name, with |
627 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
650 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
628 | |
651 | |
629 | In addition, each font can be prefixed with additional hints and |
652 | In addition, each font can be prefixed with additional hints and |
… | |
… | |
631 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
654 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
632 | fonts. |
655 | fonts. |
633 | |
656 | |
634 | For example, this font resource |
657 | For example, this font resource |
635 | |
658 | |
636 | URxvt*font: 9x15bold,\ |
659 | URxvt.font: 9x15bold,\ |
637 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
660 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
638 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
661 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
639 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
662 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
640 | xft:Code2000:antialias=false |
663 | xft:Code2000:antialias=false |
641 | |
664 | |
… | |
… | |
675 | not possible, replacement fonts of the desired shape will be tried. |
698 | not possible, replacement fonts of the desired shape will be tried. |
676 | |
699 | |
677 | If set, but empty, then this specific style is disabled and the normal |
700 | If set, but empty, then this specific style is disabled and the normal |
678 | text font will being used for the given style. |
701 | text font will being used for the given style. |
679 | |
702 | |
|
|
703 | =item B<intensityStyles:> I<boolean> |
|
|
704 | |
|
|
705 | When font styles are not enabled, or this option is enabled (B<True>, |
|
|
706 | option B<-is>, the default), bold and italic font styles imply high |
|
|
707 | intensity foreground/backround colours. Disabling this option (B<False>, |
|
|
708 | option B<+is>) disables this behaviour, the high intensity colours are not |
|
|
709 | reachable. |
|
|
710 | |
680 | =item B<selectstyle:> I<mode> |
711 | =item B<selectstyle:> I<mode> |
681 | |
712 | |
682 | Set mouse selection style to B<old> which is 2.20, B<oldword> which is |
713 | Set mouse selection style to B<old> which is 2.20, B<oldword> which is |
683 | xterm style with 2.20 old word selection, or anything else which gives |
714 | xterm style with 2.20 old word selection, or anything else which gives |
684 | xterm style selection. |
715 | xterm style selection. |
… | |
… | |
730 | |
761 | |
731 | The string will be interpreted as if typed into the shell as-is. |
762 | The string will be interpreted as if typed into the shell as-is. |
732 | |
763 | |
733 | Example: |
764 | Example: |
734 | |
765 | |
735 | URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
766 | URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
736 | |
767 | |
737 | This creates a new file in your home directory with the screen contents |
768 | This creates a new file in your home directory with the screen contents |
738 | everytime you hit C<Print>. |
769 | everytime you hit C<Print>. |
739 | |
770 | |
740 | =item B<scrollBar:> I<boolean> |
771 | =item B<scrollBar:> I<boolean> |
… | |
… | |
794 | =item B<borderLess:> I<boolean> |
825 | =item B<borderLess:> I<boolean> |
795 | |
826 | |
796 | Set MWM hints to request a borderless window, i.e. if honoured by the |
827 | Set MWM hints to request a borderless window, i.e. if honoured by the |
797 | WM, the rxvt-unicode window will not have window decorations; option B<-bl>. |
828 | WM, the rxvt-unicode window will not have window decorations; option B<-bl>. |
798 | |
829 | |
|
|
830 | =item B<skipBuiltinGlyphs:> I<boolean> |
|
|
831 | |
|
|
832 | Compile I<frills>: Disable the usage of the built-in block graphics/line |
|
|
833 | drawing characters and just rely on what the specified fonts provide. Use |
|
|
834 | this if you have a good font and want to use its block graphic glyphs; |
|
|
835 | option B<-sbg>. |
|
|
836 | |
799 | =item B<termName:> I<termname> |
837 | =item B<termName:> I<termname> |
800 | |
838 | |
801 | Specifies the terminal type name to be set in the B<TERM> environment |
839 | Specifies the terminal type name to be set in the B<TERM> environment |
802 | variable; option B<-tn>. |
840 | variable; option B<-tn>. |
803 | |
841 | |
… | |
… | |
858 | pressed. If unset it will send the sequence traditionally associated |
896 | pressed. If unset it will send the sequence traditionally associated |
859 | with the B<Execute> key. |
897 | with the B<Execute> key. |
860 | |
898 | |
861 | =item B<cutchars:> I<string> |
899 | =item B<cutchars:> I<string> |
862 | |
900 | |
863 | The characters used as delimiters for double-click word selection. The |
901 | The characters used as delimiters for double-click word selection |
864 | built-in default: |
902 | (whitespace delimiting is added automatically if resource is given). |
|
|
903 | |
|
|
904 | When the selection extension is in use (the default if compiled in, see |
|
|
905 | the @@RXVT_NAME@@perl(3) manpage), a suitable regex using these characters |
|
|
906 | will be created (if the resource exists, otherwise, no regex will be |
|
|
907 | created). In this mode, characters outside ISO-8859-1 can be used. |
|
|
908 | |
|
|
909 | When the selection extension is not used, only ISO-8859-1 characters can |
|
|
910 | be used. If not specified, the built-in default is used: |
865 | |
911 | |
866 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
912 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
867 | |
913 | |
868 | =item B<preeditType:> I<style> |
914 | =item B<preeditType:> I<style> |
869 | |
915 | |
… | |
… | |
876 | =item B<imLocale:> I<name> |
922 | =item B<imLocale:> I<name> |
877 | |
923 | |
878 | The locale to use for opening the IM. You can use an C<LC_CTYPE> of e.g. |
924 | The locale to use for opening the IM. You can use an C<LC_CTYPE> of e.g. |
879 | C<de_DE.UTF-8> for normal text processing but C<ja_JP.EUC-JP> for the |
925 | C<de_DE.UTF-8> for normal text processing but C<ja_JP.EUC-JP> for the |
880 | input extension to be able to input japanese characters while staying in |
926 | input extension to be able to input japanese characters while staying in |
881 | another locale. option B<-imlocale>. |
927 | another locale; option B<-imlocale>. |
882 | |
928 | |
883 | =item B<imFont:> I<fontset> |
929 | =item B<imFont:> I<fontset> |
884 | |
930 | |
885 | Specify the font-set used for XIM styles C<OverTheSpot> or |
931 | Specify the font-set used for XIM styles C<OverTheSpot> or |
886 | C<OffTheSpot>. It must be a standard X font set (XLFD patterns separated |
932 | C<OffTheSpot>. It must be a standard X font set (XLFD patterns separated |
… | |
… | |
891 | |
937 | |
892 | =item B<tripleclickwords:> I<boolean> |
938 | =item B<tripleclickwords:> I<boolean> |
893 | |
939 | |
894 | Change the meaning of triple-click selection with the left mouse |
940 | Change the meaning of triple-click selection with the left mouse |
895 | button. Instead of selecting a full line it will extend the selection to |
941 | button. Instead of selecting a full line it will extend the selection to |
896 | the end of the logical line only. option B<-tcw>. |
942 | the end of the logical line only; option B<-tcw>. |
897 | |
943 | |
898 | =item B<insecure:> I<boolean> |
944 | =item B<insecure:> I<boolean> |
899 | |
945 | |
900 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
946 | Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
901 | echo arbitrary strings like the icon name or the locale. This could be |
947 | echo arbitrary strings like the icon name or the locale. This could be |
… | |
… | |
905 | default. (Note that many other terminals, including xterm, have these |
951 | default. (Note that many other terminals, including xterm, have these |
906 | sequences enabled by default, which doesn't make it safer, though). |
952 | sequences enabled by default, which doesn't make it safer, though). |
907 | |
953 | |
908 | You can enable them by setting this boolean resource or specifying |
954 | You can enable them by setting this boolean resource or specifying |
909 | B<-insecure> as an option. At the moment, this enables display-answer, |
955 | B<-insecure> as an option. At the moment, this enables display-answer, |
910 | locale, findfont, icon label and window title requests as well as dynamic |
956 | locale, findfont, icon label and window title requests. |
911 | menubar dispatch. |
|
|
912 | |
957 | |
913 | =item B<modifier:> I<modifier> |
958 | =item B<modifier:> I<modifier> |
914 | |
959 | |
915 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
960 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
916 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
961 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
… | |
… | |
920 | |
965 | |
921 | Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) |
966 | Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) |
922 | character is passed through. It may contain escape values as described |
967 | character is passed through. It may contain escape values as described |
923 | in the entry on B<keysym> following. |
968 | in the entry on B<keysym> following. |
924 | |
969 | |
925 | =item B<secondaryScreen:> I<bool> |
970 | =item B<secondaryScreen:> I<boolean> |
926 | |
971 | |
927 | Turn on/off secondary screen (default enabled). |
972 | Turn on/off secondary screen (default enabled). |
928 | |
973 | |
929 | =item B<secondaryScroll:> I<bool> |
974 | =item B<secondaryScroll:> I<boolean> |
930 | |
975 | |
931 | Turn on/off secondary screen scroll (default enabled). If the this |
976 | Turn on/off secondary screen scroll (default enabled). If the this |
932 | option is enabled, scrolls on the secondary screen will change the |
977 | option is enabled, scrolls on the secondary screen will change the |
933 | scrollback buffer and switching to/from the secondary screen will |
978 | scrollback buffer and switching to/from the secondary screen will |
934 | instead scroll the screen up. |
979 | instead scroll the screen up. |
|
|
980 | |
|
|
981 | =item B<hold>: I<boolean> |
|
|
982 | |
|
|
983 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
|
|
984 | will not immediately destroy its window when the program executed within |
|
|
985 | it exits. Instead, it will wait till it is being killed or closed by the |
|
|
986 | user. |
935 | |
987 | |
936 | =item B<keysym.>I<sym>: I<string> |
988 | =item B<keysym.>I<sym>: I<string> |
937 | |
989 | |
938 | Compile I<frills>: Associate I<string> with keysym I<sym>. The |
990 | Compile I<frills>: Associate I<string> with keysym I<sym>. The |
939 | intervening resource name B<keysym.> cannot be omitted. |
991 | intervening resource name B<keysym.> cannot be omitted. |
… | |
… | |
959 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
1011 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
960 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
1012 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
961 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
1013 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
962 | can start or end with whitespace. |
1014 | can start or end with whitespace. |
963 | |
1015 | |
964 | Please note that you need to double the C<\> when using |
1016 | Please note that you need to double the C<\> in resource files, as |
965 | C<--enable-xgetdefault>, as X itself does it's own de-escaping (you can |
1017 | Xlib itself does it's own de-escaping (you can use C<\033> instead of |
966 | use C<\033> instead of C<\e> (and so on), which will work with both Xt and |
1018 | C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own |
967 | @@RXVT_NAME@@'s own processing). |
1019 | processing). |
968 | |
1020 | |
969 | You can define a range of keysyms in one shot by providing a I<string> |
1021 | You can define a range of keysyms in one shot by providing a I<string> |
970 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimeter `/' |
1022 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimeter `/' |
971 | should be a character not used by the strings. |
1023 | should be a character not used by the strings. |
972 | |
1024 | |
… | |
… | |
984 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1036 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
985 | example the following means "change the current locale to C<zh_CN.GBK> |
1037 | example the following means "change the current locale to C<zh_CN.GBK> |
986 | when Control-Meta-c is being pressed": |
1038 | when Control-Meta-c is being pressed": |
987 | |
1039 | |
988 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1040 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
|
|
1041 | |
|
|
1042 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
|
|
1043 | is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3) |
|
|
1044 | manpage. For example, the F<selection> extension (activated via |
|
|
1045 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
|
|
1046 | |
|
|
1047 | URxvt.keysym.M-C-c: perl:selection:rot13 |
989 | |
1048 | |
990 | Due the the large number of modifier combinations, a defined key mapping |
1049 | Due the the large number of modifier combinations, a defined key mapping |
991 | will match if at I<at least> the specified identifiers are being set, and |
1050 | will match if at I<at least> the specified identifiers are being set, and |
992 | no other key mappings with those and more bits are being defined. That |
1051 | no other key mappings with those and more bits are being defined. That |
993 | means that defining a key map for C<a> will automatically provide |
1052 | means that defining a key map for C<a> will automatically provide |
… | |
… | |
1017 | info): |
1076 | info): |
1018 | |
1077 | |
1019 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1078 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1020 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1079 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1021 | |
1080 | |
|
|
1081 | =item B<perl-ext-common>: I<string> |
|
|
1082 | |
|
|
1083 | =item B<perl-ext>: I<string> |
|
|
1084 | |
|
|
1085 | Comma-separated list(s) of perl extension scripts (default: C<default>) to |
|
|
1086 | use in this terminal instance; option B<-pe>. |
|
|
1087 | |
|
|
1088 | Extension names can be prefixed with a C<-> sign to prohibit using |
|
|
1089 | them. This can be useful to selectively disable some extensions loaded |
|
|
1090 | by default, or specified via the C<perl-ext-common> resource. For |
|
|
1091 | example, C<default,-selection> will use all the default extension except |
|
|
1092 | C<selection>. |
|
|
1093 | |
|
|
1094 | Extension names can also be followed by an argument in angle brackets |
|
|
1095 | (e.g. C<< searchable-scrollback<M-s> >>, which binds the hotkey for |
|
|
1096 | searchable scorllback to Alt/Meta-s). Mentioning the same extension |
|
|
1097 | multiple times with different arguments will pass multiple arguments to |
|
|
1098 | the extension. |
|
|
1099 | |
|
|
1100 | Each extension is looked up in the library directories, loaded if |
|
|
1101 | necessary, and bound to the current terminal instance. |
|
|
1102 | |
|
|
1103 | If both of these resources are the empty string, then the perl |
|
|
1104 | interpreter will not be initialized. The idea behind two options is that |
|
|
1105 | B<perl-ext-common> will be used for extensions that should be available to |
|
|
1106 | all instances, while B<perl-ext> is used for specific instances. |
|
|
1107 | |
|
|
1108 | =item B<perl-eval>: I<string> |
|
|
1109 | |
|
|
1110 | Perl code to be evaluated when all extensions have been registered. See |
|
|
1111 | the @@RXVT_NAME@@perl(3) manpage. Due to security reasons, this resource |
|
|
1112 | will be ignored when running setuid/setgid. |
|
|
1113 | |
|
|
1114 | =item B<perl-lib>: I<path> |
|
|
1115 | |
|
|
1116 | Colon-separated list of additional directories that hold extension |
|
|
1117 | scripts. When looking for extensions specified by the C<perl> resource, |
|
|
1118 | @@RXVT_NAME@@ will first look in these directories and then in |
|
|
1119 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. Due to security reasons, this resource |
|
|
1120 | will be ignored when running setuid/setgid. |
|
|
1121 | |
|
|
1122 | See the @@RXVT_NAME@@perl(3) manpage. |
|
|
1123 | |
|
|
1124 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
|
|
1125 | |
|
|
1126 | Additional selection patterns, see the @@RXVT_NAME@@perl(3) manpage for |
|
|
1127 | details. |
|
|
1128 | |
|
|
1129 | =item B<< selection-autotransform.I<idx> >>: I<perl-transform> |
|
|
1130 | |
|
|
1131 | Selection auto-transform patterns, see the @@RXVT_NAME@@perl(3) manpage |
|
|
1132 | for details. |
|
|
1133 | |
|
|
1134 | =item B<searchable-scrollback:> I<keysym> |
|
|
1135 | |
|
|
1136 | Sets the hotkey that starts the incremental scrollback buffer search |
|
|
1137 | (default: C<M-s>). |
|
|
1138 | |
|
|
1139 | =item B<urlLauncher>: I<string> |
|
|
1140 | |
|
|
1141 | Specifies the program to be started with a URL argument. Used by the |
|
|
1142 | C<selection-popup> and C<mark-urls> perl extensions. |
|
|
1143 | |
|
|
1144 | =item B<transient-for>: I<windowid> |
|
|
1145 | |
|
|
1146 | Compile I<frills>: Sets the WM_TRANSIENT_FOR property to the given window id. |
|
|
1147 | |
|
|
1148 | =item B<override-redirect>: I<boolean> |
|
|
1149 | |
|
|
1150 | Compile I<frills>: Sets override-redirect for the terminal window, making |
|
|
1151 | it almost invisible to window managers; option B<-override-redirect>. |
|
|
1152 | |
1022 | =back |
1153 | =back |
1023 | |
1154 | |
1024 | =head1 THE SCROLLBAR |
1155 | =head1 THE SCROLLBAR |
1025 | |
1156 | |
1026 | Lines of text that scroll off the top of the B<@@RXVT_NAME@@> window |
1157 | Lines of text that scroll off the top of the B<@@RXVT_NAME@@> window |
… | |
… | |
1060 | to select a word; Left triple-click to select the entire logical line |
1191 | to select a word; Left triple-click to select the entire logical line |
1061 | (which can span multiple screen lines), unless modified by resource |
1192 | (which can span multiple screen lines), unless modified by resource |
1062 | B<tripleclickwords>. |
1193 | B<tripleclickwords>. |
1063 | |
1194 | |
1064 | Starting a selection while pressing the B<Meta> key (or B<Meta+Ctrl> keys) |
1195 | Starting a selection while pressing the B<Meta> key (or B<Meta+Ctrl> keys) |
1065 | (Compile: I<frills>) will create a rectangular selection instead of a normal |
1196 | (Compile: I<frills>) will create a rectangular selection instead of a |
1066 | one. |
1197 | normal one. In this mode, every selected row becomes its own line in the |
|
|
1198 | selection, and trailing whitespace is visually underlined and removed from |
|
|
1199 | the selection. |
1067 | |
1200 | |
1068 | =item B<Insertion>: |
1201 | =item B<Insertion>: |
1069 | |
1202 | |
1070 | Pressing and releasing the Middle mouse button (or B<Shift-Insert>) in |
1203 | Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> |
1071 | an B<@@RXVT_NAME@@> window causes the current text selection to be |
1204 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1072 | inserted as if it had been typed on the keyboard. |
1205 | Meta modifier) to be inserted as if it had been typed on the keyboard. |
|
|
1206 | |
|
|
1207 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
|
|
1208 | inserted too. |
1073 | |
1209 | |
1074 | =back |
1210 | =back |
1075 | |
1211 | |
1076 | =head1 CHANGING FONTS |
1212 | =head1 CHANGING FONTS |
1077 | |
1213 | |
1078 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1214 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1079 | supported in rxvt-unicode. Bug me if you need this. |
1215 | supported in rxvt-unicode. Bug me if you need this. |
1080 | |
1216 | |
1081 | You can, however, switch fonts at runtime using escape sequences (and |
1217 | You can, however, switch fonts at runtime using escape sequences, e.g.: |
1082 | therefore using the menubar), e.g.: |
|
|
1083 | |
1218 | |
1084 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
1219 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
|
|
1220 | |
|
|
1221 | You can use keyboard shortcuts, too: |
|
|
1222 | |
|
|
1223 | URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007 |
|
|
1224 | URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007 |
1085 | |
1225 | |
1086 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1226 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1087 | |
1227 | |
1088 | =head1 ISO 14755 SUPPORT |
1228 | =head1 ISO 14755 SUPPORT |
1089 | |
1229 | |
… | |
… | |
1251 | |
1391 | |
1252 | =item B<SHELL> |
1392 | =item B<SHELL> |
1253 | |
1393 | |
1254 | The shell to be used for command execution, defaults to C</bin/sh>. |
1394 | The shell to be used for command execution, defaults to C</bin/sh>. |
1255 | |
1395 | |
1256 | =item B<RXVTPATH> |
|
|
1257 | |
|
|
1258 | The path where @@RXVT_NAME@@ looks for support files such as menu and xpm |
|
|
1259 | files. |
|
|
1260 | |
|
|
1261 | =item B<PATH> |
|
|
1262 | |
|
|
1263 | Used in the same way as C<RXVTPATH>. |
|
|
1264 | |
|
|
1265 | =item B<RXVT_SOCKET> |
1396 | =item B<RXVT_SOCKET> |
1266 | |
1397 | |
1267 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1398 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1268 | @@RXVT_NAME@@d(1). |
1399 | @@RXVT_NAME@@d(1). |
1269 | |
1400 | |
… | |
… | |
1338 | |
1469 | |
1339 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1470 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1340 | |
1471 | |
1341 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1472 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1342 | |
1473 | |
1343 | Rewrote screen display and text selection routines. Project Coordinator |
1474 | Rewrote screen display and text selection routines. |
|
|
1475 | |
1344 | (changes.txt 2.4.6 - rxvt-unicode) |
1476 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1345 | |
1477 | |
1346 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1478 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1347 | |
1479 | |
1348 | Forked rxvt-unicode, rewrote most of the display code and internal |
1480 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |
1349 | character handling to store text in unicode, improve xterm |
1481 | extension, random hacks, numerous bugfixes and extensions. |
1350 | compatibility and apply numerous other bugfixes and extensions. |
|
|
1351 | |
1482 | |
1352 | Project Coordinator (Changes 1.0 -) |
1483 | Project Coordinator (Changes 1.0 -) |
1353 | |
1484 | |
|
|
1485 | =item Emanuele Giaquinta L<< <e.giaquinta@glauco.it> >> |
|
|
1486 | |
|
|
1487 | Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing. |
|
|
1488 | |
1354 | =back |
1489 | =back |
1355 | |
1490 | |