… | |
… | |
16 | =head1 DESCRIPTION |
16 | =head1 DESCRIPTION |
17 | |
17 | |
18 | This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting |
18 | This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting |
19 | all escape sequences, and other background information. |
19 | all escape sequences, and other background information. |
20 | |
20 | |
21 | The newest version of this document is |
21 | The newest version of this document is also available on the World Wide Web at |
22 | also available on the World Wide Web at |
|
|
23 | L<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
22 | L<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
24 | |
23 | |
25 | =head1 FREQUENTLY ASKED QUESTIONS |
24 | =head1 FREQUENTLY ASKED QUESTIONS |
26 | |
25 | |
27 | =over 4 |
26 | =over 4 |
… | |
… | |
63 | extensions. Some extensions can also be configured, for example, |
62 | extensions. Some extensions can also be configured, for example, |
64 | scrollback search mode is triggered by B<M-s>. You can move it to any |
63 | scrollback search mode is triggered by B<M-s>. You can move it to any |
65 | other combination either by setting the B<searchable-scrollback> resource: |
64 | other combination either by setting the B<searchable-scrollback> resource: |
66 | |
65 | |
67 | URxvt.searchable-scrollback: CM-s |
66 | URxvt.searchable-scrollback: CM-s |
|
|
67 | |
|
|
68 | =item Why doesn't rxvt-unicode read my resources? |
|
|
69 | |
|
|
70 | Well, why, indeed? It does, in a way very similar to other X |
|
|
71 | applications. Most importantly, this means that if you or your OS loads |
|
|
72 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
73 | ignore any resource files in your home directory. It will only read |
|
|
74 | F<$HOME/.Xdefaults> when no resources are attached to the display. |
|
|
75 | |
|
|
76 | If you have or use an F<$HOME/.Xresources> file, chances are that |
|
|
77 | resources are loaded into your X-server. In this case, you have to |
|
|
78 | re-login after every change (or run F<xrdb -merge $HOME/.Xresources>). |
|
|
79 | |
|
|
80 | Also consider the form resources have to use: |
|
|
81 | |
|
|
82 | URxvt.resource: value |
|
|
83 | |
|
|
84 | If you want to use another form (there are lots of different ways of |
|
|
85 | specifying resources), make sure you understand wether and why it |
|
|
86 | works. If unsure, use the form above. |
|
|
87 | |
|
|
88 | =item I can't get transparency working, what am I doing wrong? |
|
|
89 | |
|
|
90 | First of all, transparency isn't officially supported in rxvt-unicode, so |
|
|
91 | you are mostly on your own. Do not bug the author about it (but you may |
|
|
92 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
93 | of passage: ... and you failed. |
|
|
94 | |
|
|
95 | Here are four ways to get transparency. B<Do> read the manpage and option |
|
|
96 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
|
|
97 | |
|
|
98 | 1. Use inheritPixmap: |
|
|
99 | |
|
|
100 | Esetroot wallpaper.jpg |
|
|
101 | @@RXVT_NAME@@ -ip -tint red -sh 40 |
|
|
102 | |
|
|
103 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
104 | support, or you are unable to read. |
|
|
105 | |
|
|
106 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
|
|
107 | to use effects other than tinting and shading: Just shade/tint/whatever |
|
|
108 | your picture with gimp: |
|
|
109 | |
|
|
110 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
|
|
111 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
|
|
112 | |
|
|
113 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
|
|
114 | are unable to read. |
|
|
115 | |
|
|
116 | 3. Use an ARGB visual: |
|
|
117 | |
|
|
118 | @@RXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
|
|
119 | |
|
|
120 | This requires XFT support, and the support of your X-server. If that |
|
|
121 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
|
|
122 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
|
|
123 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
|
|
124 | doesn't mean that your WM has the required kludges in place. |
|
|
125 | |
|
|
126 | 4. Use xcompmgr and let it do the job: |
|
|
127 | |
|
|
128 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
129 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
130 | |
|
|
131 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
|
|
132 | by other values to change the degree of opacity. If it doesn't work and |
|
|
133 | your server crashes, you got to keep the pieces. |
68 | |
134 | |
69 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
135 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
70 | |
136 | |
71 | I often get asked about this, and I think, no, they didn't cause extra |
137 | I often get asked about this, and I think, no, they didn't cause extra |
72 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
138 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
… | |
… | |
142 | No large bloated libraries (of course, none were linked in statically), |
208 | No large bloated libraries (of course, none were linked in statically), |
143 | except maybe libX11 :) |
209 | except maybe libX11 :) |
144 | |
210 | |
145 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
211 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
146 | |
212 | |
147 | rxvt-unicode does not directly support tabs. It will work fine with |
213 | Beginning with version 7.3, there is a perl extension that implements a |
148 | tabbing functionality of many window managers or similar tabbing programs, |
214 | simple tabbed terminal. It is installed by default, so any of these should |
149 | and its embedding-features allow it to be embedded into other programs, |
215 | give you tabs: |
150 | as witnessed by F<doc/rxvt-tabbed> or the upcoming C<Gtk2::URxvt> perl |
216 | |
151 | module, which features a tabbed urxvt (murxvt) terminal as an example |
217 | @@RXVT_NAME@@ -pe tabbed |
152 | embedding application. |
218 | |
|
|
219 | URxvt.perl-ext-common: default,tabbed |
|
|
220 | |
|
|
221 | It will also work fine with tabbing functionality of many window managers |
|
|
222 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
223 | embedded into other programs, as witnessed by F<doc/rxvt-tabbed> or |
|
|
224 | the upcoming C<Gtk2::URxvt> perl module, which features a tabbed urxvt |
|
|
225 | (murxvt) terminal as an example embedding application. |
153 | |
226 | |
154 | =item How do I know which rxvt-unicode version I'm using? |
227 | =item How do I know which rxvt-unicode version I'm using? |
155 | |
228 | |
156 | The version number is displayed with the usage (-h). Also the escape |
229 | The version number is displayed with the usage (-h). Also the escape |
157 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
230 | sequence C<ESC [ 8 n> sets the window title to the version number. When |
… | |
… | |
1675 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1748 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1676 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1749 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1677 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
1750 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
1678 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1751 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1679 | B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (Compile frills). |
1752 | B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (Compile frills). |
|
|
1753 | B<< C<Ps = 702> >> Request version if B<< C<Pt> >> is B<< C<?> >>, returning C<rxvt-unicode>, the resource name, the major and minor version numbers, e.g. C<ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST>. |
1680 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1754 | B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> |
1681 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1755 | B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency). |
1682 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1756 | B<< C<Ps = 706> >> Change colour of bold characters to B<< C<Pt> >> |
1683 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1757 | B<< C<Ps = 707> >> Change colour of underlined characters to B<< C<Pt> >> |
1684 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
1758 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
… | |
… | |
1947 | alternative input methods (e.g. kinput2) and will also correctly |
2021 | alternative input methods (e.g. kinput2) and will also correctly |
1948 | set up the input for people using dead keys or compose keys. |
2022 | set up the input for people using dead keys or compose keys. |
1949 | |
2023 | |
1950 | =item --enable-unicode3 (default: off) |
2024 | =item --enable-unicode3 (default: off) |
1951 | |
2025 | |
|
|
2026 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2027 | |
1952 | Enable direct support for displaying unicode codepoints above |
2028 | Enable direct support for displaying unicode codepoints above |
1953 | 65535 (the basic multilingual page). This increases storage |
2029 | 65535 (the basic multilingual page). This increases storage |
1954 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2030 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
1955 | support these extra characters, but Xft does. |
2031 | support these extra characters, but Xft does. |
1956 | |
2032 | |
… | |
… | |
1966 | composite characters. This is required for proper viewing of text |
2042 | composite characters. This is required for proper viewing of text |
1967 | where accents are encoded as seperate unicode characters. This is |
2043 | where accents are encoded as seperate unicode characters. This is |
1968 | done by using precomposited characters when available or creating |
2044 | done by using precomposited characters when available or creating |
1969 | new pseudo-characters when no precomposed form exists. |
2045 | new pseudo-characters when no precomposed form exists. |
1970 | |
2046 | |
1971 | Without --enable-unicode3, the number of additional precomposed characters |
2047 | Without --enable-unicode3, the number of additional precomposed |
1972 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2048 | characters is somewhat limited (the 6400 private use characters will be |
1973 | private use area, extending the number of combinations to 8448). With |
|
|
1974 | --enable-unicode3, no practical limit exists. |
2049 | (ab-)used). With --enable-unicode3, no practical limit exists. |
1975 | |
2050 | |
1976 | This option will also enable storage (but not display) of characters |
2051 | This option will also enable storage (but not display) of characters |
1977 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
2052 | beyond plane 0 (>65535) when --enable-unicode3 was not specified. |
1978 | |
2053 | |
1979 | The combining table also contains entries for arabic presentation forms, |
2054 | The combining table also contains entries for arabic presentation forms, |
1980 | but these are not currently used. Bug me if you want these to be used (and |
2055 | but these are not currently used. Bug me if you want these to be used (and |
1981 | tell me how these are to be used...). |
2056 | tell me how these are to be used...). |
1982 | |
2057 | |
1983 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2058 | =item --enable-fallback(=CLASS) (default: Rxvt) |
1984 | |
2059 | |
1985 | When reading resource settings, also read settings for class CLASS. To disable resource fallback use --disable-fallback. |
2060 | When reading resource settings, also read settings for class CLASS. To |
|
|
2061 | disable resource fallback use --disable-fallback. |
1986 | |
2062 | |
1987 | =item --with-res-name=NAME (default: urxvt) |
2063 | =item --with-res-name=NAME (default: urxvt) |
1988 | |
2064 | |
1989 | Use the given name as default application name when |
2065 | Use the given name as default application name when |
1990 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
2066 | reading resources. Specify --with-res-name=rxvt to replace rxvt. |
… | |
… | |
2080 | |
2156 | |
2081 | MWM-hints |
2157 | MWM-hints |
2082 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2158 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2083 | seperate underline colour (-underlineColor) |
2159 | seperate underline colour (-underlineColor) |
2084 | settable border widths and borderless switch (-w, -b, -bl) |
2160 | settable border widths and borderless switch (-w, -b, -bl) |
|
|
2161 | visual depth selection (-depth) |
2085 | settable extra linespacing /-lsp) |
2162 | settable extra linespacing /-lsp) |
2086 | iso-14755-2 and -3, and visual feedback |
2163 | iso-14755-2 and -3, and visual feedback |
2087 | backindex and forwardindex escape sequence |
|
|
2088 | window op and some xterm/OSC escape sequences |
|
|
2089 | tripleclickwords (-tcw) |
2164 | tripleclickwords (-tcw) |
2090 | settable insecure mode (-insecure) |
2165 | settable insecure mode (-insecure) |
2091 | keysym remapping support |
2166 | keysym remapping support |
2092 | cursor blinking and underline cursor (-cb, -uc) |
2167 | cursor blinking and underline cursor (-cb, -uc) |
2093 | XEmbed support (-embed) |
2168 | XEmbed support (-embed) |
2094 | user-pty (-pty-fd) |
2169 | user-pty (-pty-fd) |
2095 | hold on exit (-hold) |
2170 | hold on exit (-hold) |
2096 | skip builtin block graphics (-sbg) |
2171 | skip builtin block graphics (-sbg) |
|
|
2172 | |
|
|
2173 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2174 | |
|
|
2175 | some round-trip time optimisations |
|
|
2176 | nearest color allocation on pseudocolor screens |
|
|
2177 | UTF8_STRING supporr for selection |
2097 | sgr modes 90..97 and 100..107 |
2178 | sgr modes 90..97 and 100..107 |
|
|
2179 | backindex and forwardindex escape sequences |
|
|
2180 | view change/zero scorllback esacpe sequences |
|
|
2181 | locale switching escape sequence |
|
|
2182 | window op and some xterm/OSC escape sequences |
|
|
2183 | rectangular selections |
|
|
2184 | trailing space removal for selections |
|
|
2185 | verbose X error handling |
2098 | |
2186 | |
2099 | =item --enable-iso14755 (default: on) |
2187 | =item --enable-iso14755 (default: on) |
2100 | |
2188 | |
2101 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2189 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2102 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2190 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
… | |
… | |
2145 | |
2233 | |
2146 | =item --enable-pointer-blank (default: on) |
2234 | =item --enable-pointer-blank (default: on) |
2147 | |
2235 | |
2148 | Add support to have the pointer disappear when typing or inactive. |
2236 | Add support to have the pointer disappear when typing or inactive. |
2149 | |
2237 | |
2150 | =item --enable-perl (default: off) |
2238 | =item --enable-perl (default: on) |
2151 | |
2239 | |
2152 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2240 | Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> |
2153 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2241 | manpage (F<doc/rxvtperl.txt>) for more info on this feature, or the files |
2154 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2242 | in F<src/perl-ext/> for the extensions that are installed by default. The |
2155 | perl interpreter that is used can be specified via the C<PERL> environment |
2243 | perl interpreter that is used can be specified via the C<PERL> environment |