1 | FREQUENTLY ASKED QUESTIONS |
1 | FREQUENTLY ASKED QUESTIONS |
2 | The new selection selects pieces that are too big, how can I select |
2 | The new selection selects pieces that are too big, how can I select single words? |
3 | single words? |
|
|
4 | If you want to select e.g. alphanumeric words, you can use the following |
3 | If you want to select e.g. alphanumeric words, you can use the following |
5 | setting: |
4 | setting: |
6 | |
5 | |
7 | URxvt.selection.pattern-0: ([[:word:]]+) |
6 | URxvt.selection.pattern-0: ([[:word:]]+) |
8 | |
7 | |
… | |
… | |
15 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
14 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
16 | |
15 | |
17 | Please also note that the *LeftClick Shift-LeftClik* combination also |
16 | Please also note that the *LeftClick Shift-LeftClik* combination also |
18 | selects words like the old code. |
17 | selects words like the old code. |
19 | |
18 | |
20 | I don't like the new selection/popups/hotkeys/perl, how do I |
19 | I don't like the new selection/popups/hotkeys/perl, how do I change/disable it? |
21 | change/disable it? |
|
|
22 | You can disable the perl extension completely by setting the |
20 | You can disable the perl extension completely by setting the |
23 | perl-ext-common resource to the empty string, which also keeps |
21 | perl-ext-common resource to the empty string, which also keeps |
24 | rxvt-unicode from initialising perl, saving memory. |
22 | rxvt-unicode from initialising perl, saving memory. |
25 | |
23 | |
26 | If you only want to disable specific features, you first have to |
24 | If you only want to disable specific features, you first have to |
… | |
… | |
36 | scrollback search mode is triggered by M-s. You can move it to any other |
34 | scrollback search mode is triggered by M-s. You can move it to any other |
37 | combination either by setting the searchable-scrollback resource: |
35 | combination either by setting the searchable-scrollback resource: |
38 | |
36 | |
39 | URxvt.searchable-scrollback: CM-s |
37 | URxvt.searchable-scrollback: CM-s |
40 | |
38 | |
41 | The cursor moves when selecting text in the current input line, how |
39 | The cursor moves when selecting text in the current input line, how do I switch this off? |
42 | do I switch this off? |
40 | See next entry. |
43 | During rlogin/ssh/telnet/etc. sessions, clicking near the cursor |
41 | |
44 | outputs strange escape sequences, how do I fix this? |
42 | During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this? |
45 | These are caused by the "readline" perl extension. Under normal |
43 | These are caused by the "readline" perl extension. Under normal |
46 | circumstances, it will move your cursor around when you click into the |
44 | circumstances, it will move your cursor around when you click into the |
47 | line that contains it. It tries hard not to do this at the wrong moment, |
45 | line that contains it. It tries hard not to do this at the wrong moment, |
48 | but when running a program that doesn't parse cursor movements or in |
46 | but when running a program that doesn't parse cursor movements or in |
49 | some cases during rlogin sessions, it fails to detect this properly. |
47 | some cases during rlogin sessions, it fails to detect this properly. |
… | |
… | |
225 | For other problems that also affect the Debian package, you can and |
223 | For other problems that also affect the Debian package, you can and |
226 | probably should use the Debian BTS, too, because, after all, it's also a |
224 | probably should use the Debian BTS, too, because, after all, it's also a |
227 | bug in the Debian version and it serves as a reminder for other users |
225 | bug in the Debian version and it serves as a reminder for other users |
228 | that might encounter the same issue. |
226 | that might encounter the same issue. |
229 | |
227 | |
230 | I am maintaining rxvt-unicode for distribution/OS XXX, any |
228 | I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
231 | recommendation? |
|
|
232 | You should build one binary with the default options. configure now |
229 | You should build one binary with the default options. configure now |
233 | enables most useful options, and the trend goes to making them |
230 | enables most useful options, and the trend goes to making them |
234 | runtime-switchable, too, so there is usually no drawback to enbaling |
231 | runtime-switchable, too, so there is usually no drawback to enbaling |
235 | them, except higher disk and possibly memory usage. The perl interpreter |
232 | them, except higher disk and possibly memory usage. The perl interpreter |
236 | should be enabled, as important functionality (menus, selection, likely |
233 | should be enabled, as important functionality (menus, selection, likely |
… | |
… | |
294 | "tic" outputs some error when compiling the terminfo entry. |
291 | "tic" outputs some error when compiling the terminfo entry. |
295 | Most likely it's the empty definition for "enacs=". Just replace it by |
292 | Most likely it's the empty definition for "enacs=". Just replace it by |
296 | "enacs=\E[0@" and try again. |
293 | "enacs=\E[0@" and try again. |
297 | |
294 | |
298 | "bash"'s readline does not work correctly under rxvt. |
295 | "bash"'s readline does not work correctly under rxvt. |
|
|
296 | See next entry. |
|
|
297 | |
299 | I need a termcap file entry. |
298 | I need a termcap file entry. |
300 | One reason you might want this is that some distributions or operating |
299 | One reason you might want this is that some distributions or operating |
301 | systems still compile some programs using the long-obsoleted termcap |
300 | systems still compile some programs using the long-obsoleted termcap |
302 | library (Fedora Core's bash is one example) and rely on a termcap entry |
301 | library (Fedora Core's bash is one example) and rely on a termcap entry |
303 | for "rxvt-unicode". |
302 | for "rxvt-unicode". |
… | |
… | |
344 | alias ls='ls --color=auto' |
343 | alias ls='ls --color=auto' |
345 | |
344 | |
346 | to your ".profile" or ".bashrc". |
345 | to your ".profile" or ".bashrc". |
347 | |
346 | |
348 | Why doesn't vim/emacs etc. use the 88 colour mode? |
347 | Why doesn't vim/emacs etc. use the 88 colour mode? |
|
|
348 | See next entry. |
|
|
349 | |
349 | Why doesn't vim/emacs etc. make use of italic? |
350 | Why doesn't vim/emacs etc. make use of italic? |
|
|
351 | See next entry. |
|
|
352 | |
350 | Why are the secondary screen-related options not working properly? |
353 | Why are the secondary screen-related options not working properly? |
351 | Make sure you are using "TERM=rxvt-unicode". Some pre-packaged |
354 | Make sure you are using "TERM=rxvt-unicode". Some pre-packaged |
352 | distributions (most notably Debian GNU/Linux) break rxvt-unicode by |
355 | distributions (most notably Debian GNU/Linux) break rxvt-unicode by |
353 | setting "TERM" to "rxvt", which doesn't have these extra features. |
356 | setting "TERM" to "rxvt", which doesn't have these extra features. |
354 | Unfortunately, some of these (most notably, again, Debian GNU/Linux) |
357 | Unfortunately, some of these (most notably, again, Debian GNU/Linux) |
… | |
… | |
364 | how this can happen are unknown, as "TERM=rxvt" should offer a |
367 | how this can happen are unknown, as "TERM=rxvt" should offer a |
365 | compatible keymap. See the answer to the previous question, and please |
368 | compatible keymap. See the answer to the previous question, and please |
366 | report if that helped. |
369 | report if that helped. |
367 | |
370 | |
368 | Rxvt-unicode does not seem to understand the selected encoding? |
371 | Rxvt-unicode does not seem to understand the selected encoding? |
|
|
372 | See next entry. |
|
|
373 | |
369 | Unicode does not seem to work? |
374 | Unicode does not seem to work? |
370 | If you encounter strange problems like typing an accented character but |
375 | If you encounter strange problems like typing an accented character but |
371 | getting two unrelated other characters or similar, or if program output |
376 | getting two unrelated other characters or similar, or if program output |
372 | is subtly garbled, then you should check your locale settings. |
377 | is subtly garbled, then you should check your locale settings. |
373 | |
378 | |
… | |
… | |
396 | If nothing works and you are sure that everything is set correctly then |
401 | If nothing works and you are sure that everything is set correctly then |
397 | you will need to remember a little known fact: Some programs just don't |
402 | you will need to remember a little known fact: Some programs just don't |
398 | support locales :( |
403 | support locales :( |
399 | |
404 | |
400 | Why do some characters look so much different than others? |
405 | Why do some characters look so much different than others? |
|
|
406 | See next entry. |
|
|
407 | |
401 | How does rxvt-unicode choose fonts? |
408 | How does rxvt-unicode choose fonts? |
402 | Most fonts do not contain the full range of Unicode, which is fine. |
409 | Most fonts do not contain the full range of Unicode, which is fine. |
403 | Chances are that the font you (or the admin/package maintainer of your |
410 | Chances are that the font you (or the admin/package maintainer of your |
404 | system/os) have specified does not cover all the characters you want to |
411 | system/os) have specified does not cover all the characters you want to |
405 | display. |
412 | display. |
… | |
… | |
562 | At the time of this writing, cygwin didn't seem to support any |
569 | At the time of this writing, cygwin didn't seem to support any |
563 | multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are |
570 | multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are |
564 | likely limited to 8-bit encodings. |
571 | likely limited to 8-bit encodings. |
565 | |
572 | |
566 | How does rxvt-unicode determine the encoding to use? |
573 | How does rxvt-unicode determine the encoding to use? |
|
|
574 | See next entry. |
|
|
575 | |
567 | Is there an option to switch encodings? |
576 | Is there an option to switch encodings? |
568 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
577 | Unlike some other terminals, rxvt-unicode has no encoding switch, and no |
569 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know |
578 | specific "utf-8" mode, such as xterm. In fact, it doesn't even know |
570 | about UTF-8 or any other encodings with respect to terminal I/O. |
579 | about UTF-8 or any other encodings with respect to terminal I/O. |
571 | |
580 | |
… | |
… | |
846 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
855 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
847 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
856 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
848 | |
857 | |
849 | See some more examples in the documentation for the keysym resource. |
858 | See some more examples in the documentation for the keysym resource. |
850 | |
859 | |
851 | I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
860 | 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. |
852 | How do I make use of them? For example, the Sun Keyboard type 4 |
|
|
853 | has the following mappings that rxvt-unicode doesn't recognize. |
|
|
854 | KP_Insert == Insert |
861 | KP_Insert == Insert |
855 | F22 == Print |
862 | F22 == Print |
856 | F27 == Home |
863 | F27 == Home |
857 | F29 == Prior |
864 | F29 == Prior |
858 | F33 == End |
865 | F33 == End |
… | |
… | |
860 | |
867 | |
861 | Rather than have rxvt-unicode try to accommodate all the various |
868 | Rather than have rxvt-unicode try to accommodate all the various |
862 | possible keyboard mappings, it is better to use `xmodmap' to remap the |
869 | possible keyboard mappings, it is better to use `xmodmap' to remap the |
863 | keys as required for your particular machine. |
870 | keys as required for your particular machine. |
864 | |
871 | |
865 | How do I distinguish wether I'm running rxvt-unicode or a regular xterm? |
872 | How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
866 | I need this to decide about setting colors etc. |
|
|
867 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
873 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
868 | check and see if that is set. Note that several programs, JED, slrn, |
874 | check and see if that is set. Note that several programs, JED, slrn, |
869 | Midnight Commander automatically check this variable to decide whether |
875 | Midnight Commander automatically check this variable to decide whether |
870 | or not to use color. |
876 | or not to use color. |
871 | |
877 | |