… | |
… | |
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-11" "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/too small, can I change this?" 4 |
|
|
162 | .IX Item "The new selection selects pieces that are too big/too small, can I change this?" |
|
|
163 | Yes. For example, if you want to select smaller pieces (\*(L"words\*(R") you can |
|
|
164 | use 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 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
|
|
179 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
|
|
180 | You can disable the perl extension completely by setting the |
|
|
181 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
|
|
182 | rxvt-unicode from initialising perl, saving memory. |
|
|
183 | .Sp |
|
|
184 | If you only want to disable specific features, you first have to |
|
|
185 | identify which perl extension is responsible. For this, read the section |
|
|
186 | \&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For |
|
|
187 | example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify |
|
|
188 | this \fBperl-ext-common\fR resource: |
|
|
189 | .Sp |
|
|
190 | .Vb 1 |
|
|
191 | \& URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
192 | .Ve |
|
|
193 | .Sp |
|
|
194 | This will keep the default extensions, but disable the two popup |
|
|
195 | extensions. Some extensions can also be configured, for example, |
|
|
196 | scrollback search mode is triggered by \fBM\-s\fR. You can move it to any |
|
|
197 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
|
|
198 | .Sp |
|
|
199 | .Vb 1 |
|
|
200 | \& URxvt.searchable-scrollback: CM-s |
|
|
201 | .Ve |
161 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
202 | .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?" |
203 | .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 |
204 | 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 |
205 | 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 |
206 | that the urxvt binary is larger (due to some encoding tables always being |
… | |
… | |
288 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
329 | 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 |
330 | \&\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). |
331 | 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 |
332 | .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?" |
333 | .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 |
334 | 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 |
335 | 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 |
336 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
296 | secure. Also, rxvt-unicode disables some options when it detects that it |
337 | secure. Also, rxvt-unicode disables some options when it detects that it |
297 | runs setuid or setgid, which is not nice. |
338 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
339 | interpreter the possibility for security problems easily multiplies. |
298 | .Sp |
340 | .Sp |
299 | Elevated privileges are only required for utmp and pty operations on some |
341 | 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 |
342 | 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 |
343 | 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 |
344 | a forked handler process, but this is not yet done. |
303 | in implementing support for it. |
|
|
304 | .Sp |
345 | .Sp |
305 | So, while setuid/setgid operation is supported and not a problem on your |
346 | 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 |
347 | 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 |
348 | its an awful lot of code, most of which isn't checked for security issues |
308 | regularly. |
349 | regularly. |
… | |
… | |
2489 | Removes any handling of the delete key by us \- let the X server |
2530 | Removes any handling of the delete key by us \- let the X server |
2490 | do it. |
2531 | do it. |
2491 | .IP "\-\-disable\-resources" 4 |
2532 | .IP "\-\-disable\-resources" 4 |
2492 | .IX Item "--disable-resources" |
2533 | .IX Item "--disable-resources" |
2493 | Removes any support for resource checking. |
2534 | Removes any support for resource checking. |
2494 | .IP "\-\-enable\-xgetdefault" 4 |
|
|
2495 | .IX Item "--enable-xgetdefault" |
|
|
2496 | Make resources checking via \fIXGetDefault()\fR instead of our small |
|
|
2497 | version which only checks ~/.Xdefaults, or if that doesn't exist then |
|
|
2498 | ~/.Xresources. |
|
|
2499 | .Sp |
|
|
2500 | Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and |
|
|
2501 | use the full X resource manager, so the overhead of using it might be very |
|
|
2502 | small, if nonexistant. |
|
|
2503 | .IP "\-\-enable\-strings (default: off)" 4 |
2535 | .IP "\-\-enable\-strings (default: off)" 4 |
2504 | .IX Item "--enable-strings (default: off)" |
2536 | .IX Item "--enable-strings (default: off)" |
2505 | Add support for our possibly faster \fImemset()\fR function and other |
2537 | Add support for our possibly faster \fImemset()\fR function and other |
2506 | various routines, overriding your system's versions which may |
2538 | various routines, overriding your system's versions which may |
2507 | have been hand-crafted in assembly or may require extra libraries |
2539 | have been hand-crafted in assembly or may require extra libraries |