… | |
… | |
4 | |
4 | |
5 | SYNOPSIS |
5 | SYNOPSIS |
6 | rxvt [options] [-e command [ args ]] |
6 | rxvt [options] [-e command [ args ]] |
7 | |
7 | |
8 | DESCRIPTION |
8 | DESCRIPTION |
9 | rxvt-unicode, version 6.3, is a colour vt102 terminal emulator intended |
9 | rxvt-unicode, version 7.0, is a colour vt102 terminal emulator intended |
10 | as an *xterm*(1) replacement for users who do not require features such |
10 | as an *xterm*(1) replacement for users who do not require features such |
11 | as Tektronix 4014 emulation and toolkit-style configurability. As a |
11 | as Tektronix 4014 emulation and toolkit-style configurability. As a |
12 | result, rxvt-unicode uses much less swap space -- a significant |
12 | result, rxvt-unicode uses much less swap space -- a significant |
13 | advantage on a machine serving many X sessions. |
13 | advantage on a machine serving many X sessions. |
14 | |
14 | |
… | |
… | |
407 | |
407 | |
408 | RESOURCES (available also as long-options) |
408 | RESOURCES (available also as long-options) |
409 | Note: `rxvt --help' gives a list of all resources (long options) |
409 | Note: `rxvt --help' gives a list of all resources (long options) |
410 | compiled into your version. |
410 | compiled into your version. |
411 | |
411 | |
412 | There are two different methods that rxvt can use to get the Xresource |
|
|
413 | data: using the X libraries (Xrm*-functions) or internal Xresources |
|
|
414 | reader (~/.Xdefaults). For the first method (ie. rxvt -h lists |
|
|
415 | XGetDefaults), you can set and change the resources using X11 tools like |
412 | You can set and change the resources using X11 tools like xrdb. Many |
416 | xrdb. Many distribution do also load settings from the ~/.Xresources |
413 | distribution do also load settings from the ~/.Xresources file when X |
417 | file when X starts. rxvt will consult the following files/resources in |
414 | starts. rxvt will consult the following files/resources in order, with |
418 | order, with later settings overwriting earlier ones: |
415 | later settings overwriting earlier ones: |
419 | |
416 | |
420 | 1. system-wide app-defaults file, either locale-dependent OR global |
417 | 1. system-wide app-defaults file, either locale-dependent OR global |
421 | 2. app-defaults file in $XAPPLRESDIR |
418 | 2. app-defaults file in $XAPPLRESDIR |
422 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
419 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
423 | 4. SCREEN_RESOURCES for the current screen |
420 | 4. SCREEN_RESOURCES for the current screen |
424 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
421 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
425 | |
422 | |
426 | If compiled with internal Xresources support (i.e. rxvt -h lists |
423 | Note that when reading X resources, rxvt recognizes two class names: |
427 | .Xdefaults) then rxvt accepts application defaults set in |
424 | Rxvt and URxvt. The class name Rxvt allows resources common to both rxvt |
428 | XAPPLOADDIR/URxvt (compile-time defined: usually |
425 | and the original *rxvt* to be easily configured, while the class name |
429 | /usr/lib/X11/app-defaults/URxvt) and resources set in ~/.Xdefaults, or |
426 | URxvt allows resources unique to rxvt, to be shared between different |
430 | ~/.Xresources if ~/.Xdefaults does not exist. Note that when reading X |
|
|
431 | resources, rxvt recognizes two class names: XTerm and URxvt. The class |
|
|
432 | name Rxvt allows resources common to both rxvt and the original *rxvt* |
|
|
433 | to be easily configured, while the class name URxvt allows resources |
|
|
434 | unique to rxvt, notably colours and key-handling, to be shared between |
|
|
435 | different rxvt configurations. If no resources are specified, suitable |
427 | rxvt configurations. If no resources are specified, suitable defaults |
436 | defaults will be used. Command-line arguments can be used to override |
428 | will be used. Command-line arguments can be used to override resource |
437 | resource settings. The following resources are allowed: |
429 | settings. The following resources are supported (you might want to check |
|
|
430 | the rxvtperl(3) manpage for additional settings by perl extensions not |
|
|
431 | documented here): |
438 | |
432 | |
439 | geometry: *geom* |
433 | geometry: *geom* |
440 | Create the window with the specified X window geometry [default |
434 | Create the window with the specified X window geometry [default |
441 | 80x24]; option -geometry. |
435 | 80x24]; option -geometry. |
442 | |
436 | |
… | |
… | |
874 | "\e", "\E": escape, "\n": newline, "\r": carriage return, "\t": tab, |
868 | "\e", "\E": escape, "\n": newline, "\r": carriage return, "\t": tab, |
875 | "\000": octal number) or verbatim control characters ("^?": delete, |
869 | "\000": octal number) or verbatim control characters ("^?": delete, |
876 | "^@": null, "^A" ...) and may be enclosed with double quotes so that |
870 | "^@": null, "^A" ...) and may be enclosed with double quotes so that |
877 | it can start or end with whitespace. |
871 | it can start or end with whitespace. |
878 | |
872 | |
879 | Please note that you need to double the "\" when using |
873 | Please note that you need to double the "\" in resource files, as |
880 | "--enable-xgetdefault", as X itself does it's own de-escaping (you |
874 | Xlib itself does it's own de-escaping (you can use "\033" instead of |
881 | can use "\033" instead of "\e" (and so on), which will work with |
875 | "\e" (and so on), which will work with both Xt and rxvt's own |
882 | both Xt and rxvt's own processing). |
876 | processing). |
883 | |
877 | |
884 | You can define a range of keysyms in one shot by providing a |
878 | You can define a range of keysyms in one shot by providing a |
885 | *string* with pattern list/PREFIX/MIDDLE/SUFFIX, where the delimeter |
879 | *string* with pattern list/PREFIX/MIDDLE/SUFFIX, where the delimeter |
886 | `/' should be a character not used by the strings. |
880 | `/' should be a character not used by the strings. |
887 | |
881 | |
… | |
… | |
945 | perl-ext: *string* |
939 | perl-ext: *string* |
946 | Comma-separated list(s) of perl extension scripts (default: |
940 | Comma-separated list(s) of perl extension scripts (default: |
947 | "default") to use in this terminal instance; option -pe. |
941 | "default") to use in this terminal instance; option -pe. |
948 | |
942 | |
949 | Extension names can be prefixed with a "-" sign to prohibit using |
943 | Extension names can be prefixed with a "-" sign to prohibit using |
950 | it. This can be useful to selectively disable some extensions loaded |
944 | them. This can be useful to selectively disable some extensions |
951 | by default, or specified via the "perl-ext-common" resource. For |
945 | loaded by default, or specified via the "perl-ext-common" resource. |
952 | example, "default,-selection" will use all the default extension |
946 | For example, "default,-selection" will use all the default extension |
953 | except "selection". |
947 | except "selection". |
|
|
948 | |
|
|
949 | Extension names can also be followed by an argument in angle |
|
|
950 | brackets (e.g. "searchable-scrollback<M-s>", which binds the hotkey |
|
|
951 | for searchable scorllback to Alt/Meta-s). Mentioning the same |
|
|
952 | extension multiple times with different arguments will pass multiple |
|
|
953 | arguments to the extension. |
954 | |
954 | |
955 | Each extension is looked up in the library directories, loaded if |
955 | Each extension is looked up in the library directories, loaded if |
956 | necessary, and bound to the current terminal instance. |
956 | necessary, and bound to the current terminal instance. |
957 | |
957 | |
958 | If both of these resources are the empty string, then the perl |
958 | If both of these resources are the empty string, then the perl |
… | |
… | |
961 | available to all instances, while perl-ext is used for specific |
961 | available to all instances, while perl-ext is used for specific |
962 | instances. |
962 | instances. |
963 | |
963 | |
964 | perl-eval: *string* |
964 | perl-eval: *string* |
965 | Perl code to be evaluated when all extensions have been registered. |
965 | Perl code to be evaluated when all extensions have been registered. |
966 | See the rxvtperl(3) manpage. |
966 | See the rxvtperl(3) manpage. Due to security reasons, this resource |
|
|
967 | will be ignored when running setuid/setgid. |
967 | |
968 | |
968 | perl-lib: *path* |
969 | perl-lib: *path* |
969 | Colon-separated list of additional directories that hold extension |
970 | Colon-separated list of additional directories that hold extension |
970 | scripts. When looking for extensions specified by the "perl" |
971 | scripts. When looking for extensions specified by the "perl" |
971 | resource, rxvt will first look in these directories and then in |
972 | resource, rxvt will first look in these directories and then in |
972 | /opt/rxvt/lib/urxvt/perl/. |
973 | /opt/rxvt/lib/urxvt/perl/. Due to security reasons, this resource |
|
|
974 | will be ignored when running setuid/setgid. |
973 | |
975 | |
974 | See the rxvtperl(3) manpage. |
976 | See the rxvtperl(3) manpage. |
|
|
977 | |
|
|
978 | selection.pattern-*idx*: *perl-regex* |
|
|
979 | Additional selection patterns, see the rxvtperl(3) manpage for |
|
|
980 | details. |
|
|
981 | |
|
|
982 | selection-autotransform.*idx*: *perl-transform* |
|
|
983 | Selection auto-transform patterns, see the rxvtperl(3) manpage for |
|
|
984 | details. |
|
|
985 | |
|
|
986 | searchable-scrollback: *keysym* |
|
|
987 | Sets the hotkey that starts the incremental scrollback buffer search |
|
|
988 | (default: "M-s"). |
|
|
989 | |
|
|
990 | urlLauncher: *string* |
|
|
991 | Specifies the program to be started with a URL argument. Used by the |
|
|
992 | "selection-popup" and "mark-urls" perl extensions. |
|
|
993 | |
|
|
994 | transient-for: *windowid* |
|
|
995 | Sets the WM_TRANSIENT_FOR property to the given window iw. |
975 | |
996 | |
976 | THE SCROLLBAR |
997 | THE SCROLLBAR |
977 | Lines of text that scroll off the top of the rxvt window (resource: |
998 | Lines of text that scroll off the top of the rxvt window (resource: |
978 | saveLines) and can be scrolled back using the scrollbar or by |
999 | saveLines) and can be scrolled back using the scrollbar or by |
979 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |
1000 | keystrokes. The normal rxvt scrollbar has arrows and its behaviour is |