… | |
… | |
21 | The newest version of this document is also available on the World Wide Web at |
21 | The newest version of this document is also available on the World Wide Web at |
22 | 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>. |
23 | |
23 | |
24 | =head1 FREQUENTLY ASKED QUESTIONS |
24 | =head1 FREQUENTLY ASKED QUESTIONS |
25 | |
25 | |
26 | =head2 The new selection selects pieces that are too big, how can I select |
26 | =head2 The new selection selects pieces that are too big, how can I select single words? |
27 | single words? |
|
|
28 | |
27 | |
29 | If you want to select e.g. alphanumeric words, you can use the following |
28 | If you want to select e.g. alphanumeric words, you can use the following |
30 | setting: |
29 | setting: |
31 | |
30 | |
32 | URxvt.selection.pattern-0: ([[:word:]]+) |
31 | URxvt.selection.pattern-0: ([[:word:]]+) |
… | |
… | |
39 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
38 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
40 | |
39 | |
41 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
40 | Please also note that the I<LeftClick Shift-LeftClik> combination also |
42 | selects words like the old code. |
41 | selects words like the old code. |
43 | |
42 | |
44 | =head2 I don't like the new selection/popups/hotkeys/perl, how do I |
43 | =head2 I don't like the new selection/popups/hotkeys/perl, how do I change/disable it? |
45 | change/disable it? |
|
|
46 | |
44 | |
47 | You can disable the perl extension completely by setting the |
45 | You can disable the perl extension completely by setting the |
48 | B<perl-ext-common> resource to the empty string, which also keeps |
46 | B<perl-ext-common> resource to the empty string, which also keeps |
49 | rxvt-unicode from initialising perl, saving memory. |
47 | rxvt-unicode from initialising perl, saving memory. |
50 | |
48 | |
… | |
… | |
61 | scrollback search mode is triggered by B<M-s>. You can move it to any |
59 | scrollback search mode is triggered by B<M-s>. You can move it to any |
62 | other combination either by setting the B<searchable-scrollback> resource: |
60 | other combination either by setting the B<searchable-scrollback> resource: |
63 | |
61 | |
64 | URxvt.searchable-scrollback: CM-s |
62 | URxvt.searchable-scrollback: CM-s |
65 | |
63 | |
66 | =head3 The cursor moves when selecting text in the current input line, how |
64 | =head2 The cursor moves when selecting text in the current input line, how do I switch this off? |
67 | do I switch this off? |
|
|
68 | |
65 | |
69 | See next entry. |
66 | See next entry. |
70 | |
67 | |
71 | =head2 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor |
68 | =head2 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this? |
72 | outputs strange escape sequences, how do I fix this? |
|
|
73 | |
69 | |
74 | These are caused by the C<readline> perl extension. Under normal |
70 | These are caused by the C<readline> perl extension. Under normal |
75 | circumstances, it will move your cursor around when you click into the |
71 | 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, |
72 | 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 |
73 | but when running a program that doesn't parse cursor movements or in some |
… | |
… | |
262 | For other problems that also affect the Debian package, you can and |
258 | For other problems that also affect the Debian package, you can and |
263 | probably should use the Debian BTS, too, because, after all, it's also a |
259 | probably should use the Debian BTS, too, because, after all, it's also a |
264 | bug in the Debian version and it serves as a reminder for other users that |
260 | bug in the Debian version and it serves as a reminder for other users that |
265 | might encounter the same issue. |
261 | might encounter the same issue. |
266 | |
262 | |
267 | =head2 I am maintaining rxvt-unicode for distribution/OS XXX, any |
263 | =head2 I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
268 | recommendation? |
|
|
269 | |
264 | |
270 | You should build one binary with the default options. F<configure> |
265 | You should build one binary with the default options. F<configure> |
271 | now enables most useful options, and the trend goes to making them |
266 | now enables most useful options, and the trend goes to making them |
272 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
267 | runtime-switchable, too, so there is usually no drawback to enbaling them, |
273 | except higher disk and possibly memory usage. The perl interpreter should |
268 | except higher disk and possibly memory usage. The perl interpreter should |
… | |
… | |
932 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
927 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
933 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
928 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
934 | |
929 | |
935 | See some more examples in the documentation for the B<keysym> resource. |
930 | See some more examples in the documentation for the B<keysym> resource. |
936 | |
931 | |
937 | =head2 I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
932 | =head2 I'm using keyboard model XXX that has extra Prior/Next/Insert keys. How do I make use of them? For example, the Sun Keyboard type 4 has the following mappings that rxvt-unicode doesn't recognize. |
938 | How do I make use of them? For example, the Sun Keyboard type 4 |
|
|
939 | has the following mappings that rxvt-unicode doesn't recognize. |
|
|
940 | |
933 | |
941 | KP_Insert == Insert |
934 | KP_Insert == Insert |
942 | F22 == Print |
935 | F22 == Print |
943 | F27 == Home |
936 | F27 == Home |
944 | F29 == Prior |
937 | F29 == Prior |
… | |
… | |
947 | |
940 | |
948 | Rather than have rxvt-unicode try to accommodate all the various possible |
941 | Rather than have rxvt-unicode try to accommodate all the various possible |
949 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
942 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
950 | required for your particular machine. |
943 | required for your particular machine. |
951 | |
944 | |
952 | =head2 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? |
945 | =head2 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
953 | I need this to decide about setting colors etc. |
|
|
954 | |
946 | |
955 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
947 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
956 | check and see if that is set. Note that several programs, JED, slrn, |
948 | check and see if that is set. Note that several programs, JED, slrn, |
957 | Midnight Commander automatically check this variable to decide whether or |
949 | Midnight Commander automatically check this variable to decide whether or |
958 | not to use color. |
950 | not to use color. |