… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 7" |
131 | .IX Title "rxvt 7" |
132 | .TH rxvt 7 "2006-01-09" "6.3" "RXVT-UNICODE" |
132 | .TH rxvt 7 "2006-01-13" "7.0" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | .Vb 2 |
137 | .Vb 2 |
… | |
… | |
156 | The newest version of this document is |
156 | The newest version of this document is |
157 | also available on the World Wide Web at |
157 | also available on the World Wide Web at |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
|
|
161 | .IP "The new selection selects pieces that are too big, how can I select single words?" 4 |
|
|
162 | .IX Item "The new selection selects pieces that are too big, how can I select single words?" |
|
|
163 | Yes. For example, if you want to select alphanumeric words, you can use |
|
|
164 | the following resource: |
|
|
165 | .Sp |
|
|
166 | .Vb 1 |
|
|
167 | \& URxvt.selection.pattern-0: ([[:word:]]+) |
|
|
168 | .Ve |
|
|
169 | .Sp |
|
|
170 | If you click more than twice, the selection will be extended |
|
|
171 | more and more. |
|
|
172 | .Sp |
|
|
173 | To get a selection that is very similar to the old code, try this pattern: |
|
|
174 | .Sp |
|
|
175 | .Vb 1 |
|
|
176 | \& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+) |
|
|
177 | .Ve |
|
|
178 | .Sp |
|
|
179 | Please also note that the \fILeftClick Shift-LeftClik\fR combination also |
|
|
180 | selects words like the old code. |
|
|
181 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
|
|
182 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
|
|
183 | You can disable the perl extension completely by setting the |
|
|
184 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
|
|
185 | rxvt-unicode from initialising perl, saving memory. |
|
|
186 | .Sp |
|
|
187 | If you only want to disable specific features, you first have to |
|
|
188 | identify which perl extension is responsible. For this, read the section |
|
|
189 | \&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For |
|
|
190 | example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify |
|
|
191 | this \fBperl-ext-common\fR resource: |
|
|
192 | .Sp |
|
|
193 | .Vb 1 |
|
|
194 | \& URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
195 | .Ve |
|
|
196 | .Sp |
|
|
197 | This will keep the default extensions, but disable the two popup |
|
|
198 | extensions. Some extensions can also be configured, for example, |
|
|
199 | scrollback search mode is triggered by \fBM\-s\fR. You can move it to any |
|
|
200 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
|
|
201 | .Sp |
|
|
202 | .Vb 1 |
|
|
203 | \& URxvt.searchable-scrollback: CM-s |
|
|
204 | .Ve |
161 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
205 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
162 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
206 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
163 | I often get asked about this, and I think, no, they didn't cause extra |
207 | I often get asked about this, and I think, no, they didn't cause extra |
164 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
208 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
165 | that the urxvt binary is larger (due to some encoding tables always being |
209 | that the urxvt binary is larger (due to some encoding tables always being |
… | |
… | |
198 | memory. |
242 | memory. |
199 | .Sp |
243 | .Sp |
200 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this |
244 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this |
201 | still fares rather well. And compared to some monsters like gnome-terminal |
245 | still fares rather well. And compared to some monsters like gnome-terminal |
202 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
246 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
203 | 43180k in daemons that stay around after exit, plus half aminute of |
247 | 43180k in daemons that stay around after exit, plus half a minute of |
204 | startup time, including the hundreds of warnings it spits out), it fares |
248 | startup time, including the hundreds of warnings it spits out), it fares |
205 | extremely well *g*. |
249 | extremely well *g*. |
206 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
250 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
207 | .IX Item "Why , isn't that unportable/bloated/uncool?" |
251 | .IX Item "Why , isn't that unportable/bloated/uncool?" |
208 | Is this a question? :) It comes up very often. The simple answer is: I had |
252 | Is this a question? :) It comes up very often. The simple answer is: I had |
… | |
… | |
288 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
332 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
289 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
333 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
290 | encodings built-in that increase download times and are rarely used). |
334 | encodings built-in that increase download times and are rarely used). |
291 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
335 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
292 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
336 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
293 | Likely not. While I honestly try to make it secure, and am probably |
337 | Likely not. While I honestly try to make it secure, and am probably not |
294 | not bad at it, I think it is simply unreasonable to expect all of |
338 | bad at it, I think it is simply unreasonable to expect all of freetype |
295 | freetype + fontconfig + xft + xlib + ... + rxvt-unicode itself to all be |
339 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
296 | secure. Also, rxvt-unicode disables some options when it detects that it |
340 | secure. Also, rxvt-unicode disables some options when it detects that it |
297 | runs setuid or setgid, which is not nice. |
341 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
342 | interpreter the possibility for security problems easily multiplies. |
298 | .Sp |
343 | .Sp |
299 | Elevated privileges are only required for utmp and pty operations on some |
344 | Elevated privileges are only required for utmp and pty operations on some |
300 | systems (for example, GNU/Linux doesn't need any extra privileges for |
345 | systems (for example, GNU/Linux doesn't need any extra privileges for |
301 | ptys, but some need it for utmp support). If rxvt-unicode doesn't support |
346 | ptys, but some need it for utmp support). It is planned to mvoe this into |
302 | the library/setuid helper that your \s-1OS\s0 needs I'll be happy to assist you |
347 | a forked handler process, but this is not yet done. |
303 | in implementing support for it. |
|
|
304 | .Sp |
348 | .Sp |
305 | So, while setuid/setgid operation is supported and not a problem on your |
349 | So, while setuid/setgid operation is supported and not a problem on your |
306 | typical single-user-no-other-logins unix desktop, always remember that |
350 | typical single-user-no-other-logins unix desktop, always remember that |
307 | its an awful lot of code, most of which isn't checked for security issues |
351 | its an awful lot of code, most of which isn't checked for security issues |
308 | regularly. |
352 | regularly. |
… | |
… | |
1774 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1818 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1775 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1819 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1776 | Ps = 12 Change colour of text cursor foreground to Pt |
1820 | Ps = 12 Change colour of text cursor foreground to Pt |
1777 | Ps = 13 Change colour of mouse foreground to Pt |
1821 | Ps = 13 Change colour of mouse foreground to Pt |
1778 | Ps = 17 Change colour of highlight characters to Pt |
1822 | Ps = 17 Change colour of highlight characters to Pt |
1779 | Ps = 18 Change colour of bold characters to Pt |
1823 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1780 | Ps = 19 Change colour of underlined characters to Pt |
1824 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1781 | Ps = 20 Change default background to Pt |
1825 | Ps = 20 Change default background to Pt |
1782 | Ps = 39 Change default foreground colour to Pt. |
1826 | Ps = 39 Change default foreground colour to Pt. |
1783 | Ps = 46 Change Log File to Pt unimplemented |
1827 | Ps = 46 Change Log File to Pt unimplemented |
1784 | Ps = 49 Change default background colour to Pt. |
1828 | Ps = 49 Change default background colour to Pt. |
1785 | Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n |
1829 | Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n |
1786 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1830 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1787 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1831 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1788 | Ps = 703 Menubar command Pt (Compile menubar). |
1832 | Ps = 703 Menubar command Pt (Compile menubar). |
1789 | Ps = 704 Change colour of italic characters to Pt |
1833 | Ps = 704 Change colour of italic characters to Pt |
1790 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1834 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
|
|
1835 | Ps = 706 Change colour of bold characters to Pt |
|
|
1836 | Ps = 707 Change colour of underlined characters to Pt |
1791 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1837 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1792 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1838 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1793 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1839 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1794 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1840 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1795 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1841 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
… | |
… | |
2487 | Removes any handling of the delete key by us \- let the X server |
2533 | Removes any handling of the delete key by us \- let the X server |
2488 | do it. |
2534 | do it. |
2489 | .IP "\-\-disable\-resources" 4 |
2535 | .IP "\-\-disable\-resources" 4 |
2490 | .IX Item "--disable-resources" |
2536 | .IX Item "--disable-resources" |
2491 | Removes any support for resource checking. |
2537 | Removes any support for resource checking. |
2492 | .IP "\-\-enable\-xgetdefault" 4 |
|
|
2493 | .IX Item "--enable-xgetdefault" |
|
|
2494 | Make resources checking via \fIXGetDefault()\fR instead of our small |
|
|
2495 | version which only checks ~/.Xdefaults, or if that doesn't exist then |
|
|
2496 | ~/.Xresources. |
|
|
2497 | .Sp |
|
|
2498 | Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and |
|
|
2499 | use the full X resource manager, so the overhead of using it might be very |
|
|
2500 | small, if nonexistant. |
|
|
2501 | .IP "\-\-enable\-strings (default: off)" 4 |
2538 | .IP "\-\-enable\-strings (default: off)" 4 |
2502 | .IX Item "--enable-strings (default: off)" |
2539 | .IX Item "--enable-strings (default: off)" |
2503 | Add support for our possibly faster \fImemset()\fR function and other |
2540 | Add support for our possibly faster \fImemset()\fR function and other |
2504 | various routines, overriding your system's versions which may |
2541 | various routines, overriding your system's versions which may |
2505 | have been hand-crafted in assembly or may require extra libraries |
2542 | have been hand-crafted in assembly or may require extra libraries |