… | |
… | |
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, 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 |
… | |
… | |
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. |
… | |
… | |
783 | .IX Item "Mouse cut/paste suddenly no longer works." |
827 | .IX Item "Mouse cut/paste suddenly no longer works." |
784 | Make sure that mouse reporting is actually turned off since killing |
828 | Make sure that mouse reporting is actually turned off since killing |
785 | some editors prematurely may leave the mouse in mouse report mode. I've |
829 | some editors prematurely may leave the mouse in mouse report mode. I've |
786 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
830 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
787 | quick check is to see if cut/paste works when the Alt or Shift keys are |
831 | quick check is to see if cut/paste works when the Alt or Shift keys are |
788 | depressed. See @@RXVT_NAME@@(7) |
832 | depressed. |
789 | .IP "What's with this bold/blink stuff?" 4 |
833 | .IP "What's with this bold/blink stuff?" 4 |
790 | .IX Item "What's with this bold/blink stuff?" |
834 | .IX Item "What's with this bold/blink stuff?" |
791 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
835 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
792 | standard foreground colour. |
836 | standard foreground colour. |
793 | .Sp |
837 | .Sp |
… | |
… | |
888 | \& # use Backspace = ^? |
932 | \& # use Backspace = ^? |
889 | \& $ stty erase ^? |
933 | \& $ stty erase ^? |
890 | \& $ @@RXVT_NAME@@ |
934 | \& $ @@RXVT_NAME@@ |
891 | .Ve |
935 | .Ve |
892 | .Sp |
936 | .Sp |
893 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR as documented in @@RXVT_NAME@@(7). |
937 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR. |
894 | .Sp |
938 | .Sp |
895 | For an existing rxvt\-unicode: |
939 | For an existing rxvt\-unicode: |
896 | .Sp |
940 | .Sp |
897 | .Vb 3 |
941 | .Vb 3 |
898 | \& # use Backspace = ^H |
942 | \& # use Backspace = ^H |
… | |
… | |
2489 | 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 |
2490 | do it. |
2534 | do it. |
2491 | .IP "\-\-disable\-resources" 4 |
2535 | .IP "\-\-disable\-resources" 4 |
2492 | .IX Item "--disable-resources" |
2536 | .IX Item "--disable-resources" |
2493 | Removes any support for resource checking. |
2537 | 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 |
2538 | .IP "\-\-enable\-strings (default: off)" 4 |
2504 | .IX Item "--enable-strings (default: off)" |
2539 | .IX Item "--enable-strings (default: off)" |
2505 | Add support for our possibly faster \fImemset()\fR function and other |
2540 | Add support for our possibly faster \fImemset()\fR function and other |
2506 | various routines, overriding your system's versions which may |
2541 | various routines, overriding your system's versions which may |
2507 | have been hand-crafted in assembly or may require extra libraries |
2542 | have been hand-crafted in assembly or may require extra libraries |