… | |
… | |
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 The cursor moves when selecting text in the current input line, how |
|
|
69 | do I switch this off? |
|
|
70 | |
|
|
71 | =item During rlogin/ssh/telnet/etc. sessions, clicking near the cursor |
|
|
72 | outputs strange escape sequences, how do I fix this? |
|
|
73 | |
|
|
74 | These are caused by the C<readline> perl extension. Under normal |
|
|
75 | circumstances, it will move your cursor around when you click into the |
|
|
76 | line that contains it. It tries hard not to do this at the wrong moment, |
|
|
77 | but when running a program that doesn't parse cursor movements or in some |
|
|
78 | cases during rlogin sessions, it fails to detect this properly. |
|
|
79 | |
|
|
80 | You can permamently switch this feature off by disabling the C<readline> |
|
|
81 | extension: |
|
|
82 | |
|
|
83 | URxvt.perl-ext-common: default,-readline |
|
|
84 | |
|
|
85 | =item Why doesn't rxvt-unicode read my resources? |
|
|
86 | |
|
|
87 | Well, why, indeed? It does, in a way very similar to other X |
|
|
88 | applications. Most importantly, this means that if you or your OS loads |
|
|
89 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
90 | ignore any resource files in your home directory. It will only read |
|
|
91 | F<$HOME/.Xdefaults> when no resources are attached to the display. |
|
|
92 | |
|
|
93 | If you have or use an F<$HOME/.Xresources> file, chances are that |
|
|
94 | resources are loaded into your X-server. In this case, you have to |
|
|
95 | re-login after every change (or run F<xrdb -merge $HOME/.Xresources>). |
|
|
96 | |
|
|
97 | Also consider the form resources have to use: |
|
|
98 | |
|
|
99 | URxvt.resource: value |
|
|
100 | |
|
|
101 | If you want to use another form (there are lots of different ways of |
|
|
102 | specifying resources), make sure you understand wether and why it |
|
|
103 | works. If unsure, use the form above. |
|
|
104 | |
|
|
105 | =item I can't get transparency working, what am I doing wrong? |
|
|
106 | |
|
|
107 | First of all, transparency isn't officially supported in rxvt-unicode, so |
|
|
108 | you are mostly on your own. Do not bug the author about it (but you may |
|
|
109 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
110 | of passage: ... and you failed. |
|
|
111 | |
|
|
112 | Here are four ways to get transparency. B<Do> read the manpage and option |
|
|
113 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
|
|
114 | |
|
|
115 | 1. Use inheritPixmap: |
|
|
116 | |
|
|
117 | Esetroot wallpaper.jpg |
|
|
118 | @@RXVT_NAME@@ -ip -tint red -sh 40 |
|
|
119 | |
|
|
120 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
121 | support, or you are unable to read. |
|
|
122 | |
|
|
123 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
|
|
124 | to use effects other than tinting and shading: Just shade/tint/whatever |
|
|
125 | your picture with gimp: |
|
|
126 | |
|
|
127 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
|
|
128 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
|
|
129 | |
|
|
130 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
|
|
131 | are unable to read. |
|
|
132 | |
|
|
133 | 3. Use an ARGB visual: |
|
|
134 | |
|
|
135 | @@RXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
|
|
136 | |
|
|
137 | This requires XFT support, and the support of your X-server. If that |
|
|
138 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't |
|
|
139 | there yet, no matter what they claim. Rxvt-Unicode contains the neccessary |
|
|
140 | bugfixes and workarounds for Xft and Xlib to make it work, but that |
|
|
141 | doesn't mean that your WM has the required kludges in place. |
|
|
142 | |
|
|
143 | 4. Use xcompmgr and let it do the job: |
|
|
144 | |
|
|
145 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
146 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
147 | |
|
|
148 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
|
|
149 | by other values to change the degree of opacity. If it doesn't work and |
|
|
150 | your server crashes, you got to keep the pieces. |
68 | |
151 | |
69 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
152 | =item Isn't rxvt supposed to be small? Don't all those features bloat? |
70 | |
153 | |
71 | I often get asked about this, and I think, no, they didn't cause extra |
154 | 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 |
155 | 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), |
225 | No large bloated libraries (of course, none were linked in statically), |
143 | except maybe libX11 :) |
226 | except maybe libX11 :) |
144 | |
227 | |
145 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
228 | =item Does it support tabs, can I have a tabbed rxvt-unicode? |
146 | |
229 | |
147 | rxvt-unicode does not directly support tabs. It will work fine with |
230 | Beginning with version 7.3, there is a perl extension that implements a |
148 | tabbing functionality of many window managers or similar tabbing programs, |
231 | 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, |
232 | give you tabs: |
150 | as witnessed by F<doc/rxvt-tabbed> or the upcoming C<Gtk2::URxvt> perl |
233 | |
151 | module, which features a tabbed urxvt (murxvt) terminal as an example |
234 | @@RXVT_NAME@@ -pe tabbed |
152 | embedding application. |
235 | |
|
|
236 | URxvt.perl-ext-common: default,tabbed |
|
|
237 | |
|
|
238 | It will also work fine with tabbing functionality of many window managers |
|
|
239 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
240 | embedded into other programs, as witnessed by F<doc/rxvt-tabbed> or |
|
|
241 | the upcoming C<Gtk2::URxvt> perl module, which features a tabbed urxvt |
|
|
242 | (murxvt) terminal as an example embedding application. |
153 | |
243 | |
154 | =item How do I know which rxvt-unicode version I'm using? |
244 | =item How do I know which rxvt-unicode version I'm using? |
155 | |
245 | |
156 | The version number is displayed with the usage (-h). Also the escape |
246 | 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 |
247 | 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> |
1765 | 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> >>. |
1766 | 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> >> |
1767 | 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> >> |
1768 | 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). |
1769 | 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). |
|
|
1770 | 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> >> |
1771 | 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). |
1772 | 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> >> |
1773 | 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> >> |
1774 | 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>. |
1775 | B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. |
… | |
… | |
2082 | |
2173 | |
2083 | MWM-hints |
2174 | MWM-hints |
2084 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2175 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2085 | seperate underline colour (-underlineColor) |
2176 | seperate underline colour (-underlineColor) |
2086 | settable border widths and borderless switch (-w, -b, -bl) |
2177 | settable border widths and borderless switch (-w, -b, -bl) |
|
|
2178 | visual depth selection (-depth) |
2087 | settable extra linespacing /-lsp) |
2179 | settable extra linespacing /-lsp) |
2088 | iso-14755-2 and -3, and visual feedback |
2180 | iso-14755-2 and -3, and visual feedback |
2089 | backindex and forwardindex escape sequence |
|
|
2090 | window op and some xterm/OSC escape sequences |
|
|
2091 | tripleclickwords (-tcw) |
2181 | tripleclickwords (-tcw) |
2092 | settable insecure mode (-insecure) |
2182 | settable insecure mode (-insecure) |
2093 | keysym remapping support |
2183 | keysym remapping support |
2094 | cursor blinking and underline cursor (-cb, -uc) |
2184 | cursor blinking and underline cursor (-cb, -uc) |
2095 | XEmbed support (-embed) |
2185 | XEmbed support (-embed) |
2096 | user-pty (-pty-fd) |
2186 | user-pty (-pty-fd) |
2097 | hold on exit (-hold) |
2187 | hold on exit (-hold) |
2098 | skip builtin block graphics (-sbg) |
2188 | skip builtin block graphics (-sbg) |
|
|
2189 | |
|
|
2190 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2191 | |
|
|
2192 | some round-trip time optimisations |
|
|
2193 | nearest color allocation on pseudocolor screens |
|
|
2194 | UTF8_STRING supporr for selection |
2099 | sgr modes 90..97 and 100..107 |
2195 | sgr modes 90..97 and 100..107 |
|
|
2196 | backindex and forwardindex escape sequences |
|
|
2197 | view change/zero scorllback esacpe sequences |
|
|
2198 | locale switching escape sequence |
|
|
2199 | window op and some xterm/OSC escape sequences |
|
|
2200 | rectangular selections |
|
|
2201 | trailing space removal for selections |
|
|
2202 | verbose X error handling |
2100 | |
2203 | |
2101 | =item --enable-iso14755 (default: on) |
2204 | =item --enable-iso14755 (default: on) |
2102 | |
2205 | |
2103 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2206 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2104 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2207 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |