… | |
… | |
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-12" "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 "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
|
|
162 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
|
|
163 | You can disable the perl extension completely by setting the |
|
|
164 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
|
|
165 | rxvt-unicode from initialising perl, saving memory. |
|
|
166 | .Sp |
|
|
167 | If you only want to disable specific features, you first have to |
|
|
168 | identify which perl extension is responsible. For this, read the section |
|
|
169 | \&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For |
|
|
170 | example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify |
|
|
171 | this \fBperl-ext-common\fR resource: |
|
|
172 | .Sp |
|
|
173 | .Vb 1 |
|
|
174 | \& URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
175 | .Ve |
|
|
176 | .Sp |
|
|
177 | This will keep the default extensions, but disable the two popup |
|
|
178 | extensions. Some extensions can also be configured, for example, |
|
|
179 | scrollback search mode is triggered by \fBM\-s\fR. You can move it to any |
|
|
180 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
|
|
181 | .Sp |
|
|
182 | .Vb 1 |
|
|
183 | \& URxvt.searchable-scrollback: CM-s |
|
|
184 | .Ve |
161 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
185 | .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?" |
186 | .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 |
187 | 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 |
188 | 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 |
189 | that the urxvt binary is larger (due to some encoding tables always being |
… | |
… | |
198 | memory. |
222 | memory. |
199 | .Sp |
223 | .Sp |
200 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this |
224 | 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 |
225 | still fares rather well. And compared to some monsters like gnome-terminal |
202 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
226 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
203 | 43180k in daemons that stay around after exit, plus half aminute of |
227 | 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 |
228 | startup time, including the hundreds of warnings it spits out), it fares |
205 | extremely well *g*. |
229 | extremely well *g*. |
206 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
230 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
207 | .IX Item "Why , isn't that unportable/bloated/uncool?" |
231 | .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 |
232 | 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 |
312 | 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 |
313 | \&\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). |
314 | 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 |
315 | .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?" |
316 | .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 |
317 | 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 |
318 | 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 |
319 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
296 | secure. Also, rxvt-unicode disables some options when it detects that it |
320 | secure. Also, rxvt-unicode disables some options when it detects that it |
297 | runs setuid or setgid, which is not nice. |
321 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
322 | interpreter the possibility for security problems easily multiplies. |
298 | .Sp |
323 | .Sp |
299 | Elevated privileges are only required for utmp and pty operations on some |
324 | 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 |
325 | 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 |
326 | 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 |
327 | a forked handler process, but this is not yet done. |
303 | in implementing support for it. |
|
|
304 | .Sp |
328 | .Sp |
305 | So, while setuid/setgid operation is supported and not a problem on your |
329 | 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 |
330 | 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 |
331 | its an awful lot of code, most of which isn't checked for security issues |
308 | regularly. |
332 | regularly. |
… | |
… | |
1774 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1798 | 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) |
1799 | 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 |
1800 | Ps = 12 Change colour of text cursor foreground to Pt |
1777 | Ps = 13 Change colour of mouse foreground to Pt |
1801 | Ps = 13 Change colour of mouse foreground to Pt |
1778 | Ps = 17 Change colour of highlight characters to Pt |
1802 | Ps = 17 Change colour of highlight characters to Pt |
1779 | Ps = 18 Change colour of bold characters to Pt |
1803 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1780 | Ps = 19 Change colour of underlined characters to Pt |
1804 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1781 | Ps = 20 Change default background to Pt |
1805 | Ps = 20 Change default background to Pt |
1782 | Ps = 39 Change default foreground colour to Pt. |
1806 | Ps = 39 Change default foreground colour to Pt. |
1783 | Ps = 46 Change Log File to Pt unimplemented |
1807 | Ps = 46 Change Log File to Pt unimplemented |
1784 | Ps = 49 Change default background colour to Pt. |
1808 | 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 |
1809 | 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 |
1810 | 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). |
1811 | 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). |
1812 | Ps = 703 Menubar command Pt (Compile menubar). |
1789 | Ps = 704 Change colour of italic characters to Pt |
1813 | Ps = 704 Change colour of italic characters to Pt |
1790 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1814 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
|
|
1815 | Ps = 706 Change colour of bold characters to Pt |
|
|
1816 | Ps = 707 Change colour of underlined characters to Pt |
1791 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1817 | 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). |
1818 | 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). |
1819 | 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). |
1820 | 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). |
1821 | 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 |
2513 | Removes any handling of the delete key by us \- let the X server |
2488 | do it. |
2514 | do it. |
2489 | .IP "\-\-disable\-resources" 4 |
2515 | .IP "\-\-disable\-resources" 4 |
2490 | .IX Item "--disable-resources" |
2516 | .IX Item "--disable-resources" |
2491 | Removes any support for resource checking. |
2517 | 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 |
2518 | .IP "\-\-enable\-strings (default: off)" 4 |
2502 | .IX Item "--enable-strings (default: off)" |
2519 | .IX Item "--enable-strings (default: off)" |
2503 | Add support for our possibly faster \fImemset()\fR function and other |
2520 | Add support for our possibly faster \fImemset()\fR function and other |
2504 | various routines, overriding your system's versions which may |
2521 | various routines, overriding your system's versions which may |
2505 | have been hand-crafted in assembly or may require extra libraries |
2522 | have been hand-crafted in assembly or may require extra libraries |