… | |
… | |
66 | :nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\ |
66 | :nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\ |
67 | :st=\EH:ta=^I:te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:\ |
67 | :st=\EH:ta=^I:te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:\ |
68 | :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
68 | :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
69 | :vs=\E[?25h: |
69 | :vs=\E[?25h: |
70 | |
70 | |
71 | =item How can I configure rxvt-unicode so that it looks similar to the original rxvt? |
71 | =item Why does C<ls> no longer have coloured output? |
72 | |
72 | |
73 | Felix von Leitner says that these two lines, in your F<.Xdefaults>, will make rxvt-unicode |
73 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
74 | behave similar to the original rxvt: |
74 | decide wether a terminal has colour, but uses it's own configuration |
|
|
75 | file. Needless to say, C<rxvt-unicode> is not in it's default file (among |
|
|
76 | with most other terminals supporting colour). Either add: |
75 | |
77 | |
76 | URxvt.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 |
78 | TERM rxvt-unicode |
77 | URxvt.boldFont: -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1 |
79 | |
|
|
80 | to C</etc/DIR_COLORS> or simply add: |
|
|
81 | |
|
|
82 | alias ls='ls --color=auto' |
|
|
83 | |
|
|
84 | to your C<.profile> or C<.bashrc>. |
|
|
85 | |
|
|
86 | =item Why doesn't vim/emacs etc. use the 88 colour mode? |
|
|
87 | |
|
|
88 | =item Why doesn't vim/emacs etc. make use of italic? |
|
|
89 | |
|
|
90 | =item Why are the secondary screen-related options not working properly? |
|
|
91 | |
|
|
92 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
|
|
93 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
|
|
94 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
|
|
95 | features. Unfortunately, some of these (most notably, again, Debian |
|
|
96 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
|
|
97 | file, so you will need to install it on your own (See the question B<When |
|
|
98 | I log-in to another system it tells me about missing terminfo data?> on |
|
|
99 | how to do this). |
78 | |
100 | |
79 | =item Rxvt-unicode does not seem to understand the selected encoding? |
101 | =item Rxvt-unicode does not seem to understand the selected encoding? |
80 | |
102 | |
81 | =item Unicode does not seem to work? |
103 | =item Unicode does not seem to work? |
82 | |
104 | |
… | |
… | |
170 | however: Xft fonts often draw glyphs larger than their acclaimed bounding |
192 | however: Xft fonts often draw glyphs larger than their acclaimed bounding |
171 | box, and rxvt-unicode has no way of detecting this (the correct way is to |
193 | box, and rxvt-unicode has no way of detecting this (the correct way is to |
172 | ask for the character bounding box, which unfortunately is wrong in these |
194 | ask for the character bounding box, which unfortunately is wrong in these |
173 | cases). |
195 | cases). |
174 | |
196 | |
175 | It's not clear (to me at least), wether this is a bug in Xft, freetype, or |
197 | It's not clear (to me at least), wether this is a bug in Xft, freetype, |
176 | the respective font. If you encounter this problem there is no way to work |
198 | or the respective font. If you encounter this problem you might try using |
177 | around this except by using a different font. |
199 | the C<-lsp> option to give the font more height. If that doesn't work, you |
|
|
200 | might be forced to use a different font. |
178 | |
201 | |
179 | All of this is not a problem when using X11 core fonts, as their bounding |
202 | All of this is not a problem when using X11 core fonts, as their bounding |
180 | box data is correct. |
203 | box data is correct. |
181 | |
204 | |
182 | =item My Compose (Multi_key) key is no longer working. |
205 | =item My Compose (Multi_key) key is no longer working. |
… | |
… | |
188 | does not support this (for instance because it is not visual), then |
211 | does not support this (for instance because it is not visual), then |
189 | rxvt-unicode will continue without an input method. |
212 | rxvt-unicode will continue without an input method. |
190 | |
213 | |
191 | In this case either do not specify a B<preeditStyle> or specify more than |
214 | In this case either do not specify a B<preeditStyle> or specify more than |
192 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
215 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
|
|
216 | |
|
|
217 | =item I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
|
|
218 | |
|
|
219 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
|
|
220 | international keyboards) or simply use ISO 14755 support to your |
|
|
221 | advantage, typing <Ctrl-Shift-0> to get a ASCII NUL. This works for other |
|
|
222 | codes, too, such as C<Ctrl-Shift-1-d> to type the default telnet escape |
|
|
223 | character and so on. |
193 | |
224 | |
194 | =item How can I keep rxvt-unicode from using reverse video so much? |
225 | =item How can I keep rxvt-unicode from using reverse video so much? |
195 | |
226 | |
196 | First of all, make sure you are running with the right terminfo |
227 | First of all, make sure you are running with the right terminfo |
197 | (C<urxvt>), which will get rid of most of these effects. Then make sure |
228 | (C<urxvt>), which will get rid of most of these effects. Then make sure |
… | |
… | |
391 | resources (or as long-options). |
422 | resources (or as long-options). |
392 | |
423 | |
393 | Here are values that are supposed to resemble a VGA screen, |
424 | Here are values that are supposed to resemble a VGA screen, |
394 | including the murky brown that passes for low-intensity yellow: |
425 | including the murky brown that passes for low-intensity yellow: |
395 | |
426 | |
396 | Rxvt*color0: #000000 |
427 | URxvt*color0: #000000 |
397 | Rxvt*color1: #A80000 |
428 | URxvt*color1: #A80000 |
398 | Rxvt*color2: #00A800 |
429 | URxvt*color2: #00A800 |
399 | Rxvt*color3: #A8A800 |
430 | URxvt*color3: #A8A800 |
400 | Rxvt*color4: #0000A8 |
431 | URxvt*color4: #0000A8 |
401 | Rxvt*color5: #A800A8 |
432 | URxvt*color5: #A800A8 |
402 | Rxvt*color6: #00A8A8 |
433 | URxvt*color6: #00A8A8 |
403 | Rxvt*color7: #A8A8A8 |
434 | URxvt*color7: #A8A8A8 |
404 | |
435 | |
405 | Rxvt*color8: #000054 |
436 | URxvt*color8: #000054 |
406 | Rxvt*color9: #FF0054 |
437 | URxvt*color9: #FF0054 |
407 | Rxvt*color10: #00FF54 |
438 | URxvt*color10: #00FF54 |
408 | Rxvt*color11: #FFFF54 |
439 | URxvt*color11: #FFFF54 |
409 | Rxvt*color12: #0000FF |
440 | URxvt*color12: #0000FF |
410 | Rxvt*color13: #FF00FF |
441 | URxvt*color13: #FF00FF |
411 | Rxvt*color14: #00FFFF |
442 | URxvt*color14: #00FFFF |
412 | Rxvt*color15: #FFFFFF |
443 | URxvt*color15: #FFFFFF |
|
|
444 | |
|
|
445 | And here is a more complete set of non-standard colors described as |
|
|
446 | "pretty girly": |
|
|
447 | |
|
|
448 | URxvt.cursorColor: #dc74d1 |
|
|
449 | URxvt.pointerColor: #dc74d1 |
|
|
450 | URxvt.background: #0e0e0e |
|
|
451 | URxvt.foreground: #4ad5e1 |
|
|
452 | URxvt.color0: #000000 |
|
|
453 | URxvt.color8: #8b8f93 |
|
|
454 | URxvt.color1: #dc74d1 |
|
|
455 | URxvt.color9: #dc74d1 |
|
|
456 | URxvt.color2: #0eb8c7 |
|
|
457 | URxvt.color10: #0eb8c7 |
|
|
458 | URxvt.color3: #dfe37e |
|
|
459 | URxvt.color11: #dfe37e |
|
|
460 | URxvt.color5: #9e88f0 |
|
|
461 | URxvt.color13: #9e88f0 |
|
|
462 | URxvt.color6: #73f7ff |
|
|
463 | URxvt.color14: #73f7ff |
|
|
464 | URxvt.color7: #e1dddd |
|
|
465 | URxvt.color15: #e1dddd |
413 | |
466 | |
414 | =item What's with the strange Backspace/Delete key behaviour? |
467 | =item What's with the strange Backspace/Delete key behaviour? |
415 | |
468 | |
416 | Assuming that the physical Backspace key corresponds to the |
469 | Assuming that the physical Backspace key corresponds to the |
417 | BackSpace keysym (not likely for Linux ... see the following |
470 | BackSpace keysym (not likely for Linux ... see the following |
… | |
… | |
469 | |
522 | |
470 | =item I don't like the key-bindings. How do I change them? |
523 | =item I don't like the key-bindings. How do I change them? |
471 | |
524 | |
472 | There are some compile-time selections available via configure. Unless |
525 | There are some compile-time selections available via configure. Unless |
473 | you have run "configure" with the C<--disable-resources> option you can |
526 | you have run "configure" with the C<--disable-resources> option you can |
474 | use the `keysym' resource to alter the keystrings associated with keysym |
527 | use the `keysym' resource to alter the keystrings associated with keysyms. |
475 | 0xFF00 - 0xFFFF (function, cursor keys, etc). |
|
|
476 | |
528 | |
477 | Here's an example for a tn3270 session started using `@@RXVT_NAME@@ -name tn3270' |
529 | Here's an example for a URxvt session started using `@@RXVT_NAME@@ -name URxvt' |
478 | |
530 | |
479 | !# ----- special uses ------: |
531 | URxvt.keysym.Home: \033[1~ |
480 | ! tn3270 login, remap function and arrow keys. |
532 | URxvt.keysym.End: \033[4~ |
481 | tn3270*font: *clean-bold-*-*--15-* |
533 | URxvt.keysym.C-apostrophe: \033<C-'> |
|
|
534 | URxvt.keysym.C-slash: \033<C-/> |
|
|
535 | URxvt.keysym.C-semicolon: \033<C-;> |
|
|
536 | URxvt.keysym.C-grave: \033<C-`> |
|
|
537 | URxvt.keysym.C-comma: \033<C-,> |
|
|
538 | URxvt.keysym.C-period: \033<C-.> |
|
|
539 | URxvt.keysym.C-0x60: \033<C-`> |
|
|
540 | URxvt.keysym.C-Tab: \033<C-Tab> |
|
|
541 | URxvt.keysym.C-Return: \033<C-Return> |
|
|
542 | URxvt.keysym.S-Return: \033<S-Return> |
|
|
543 | URxvt.keysym.S-space: \033<S-Space> |
|
|
544 | URxvt.keysym.M-Up: \033<M-Up> |
|
|
545 | URxvt.keysym.M-Down: \033<M-Down> |
|
|
546 | URxvt.keysym.M-Left: \033<M-Left> |
|
|
547 | URxvt.keysym.M-Right: \033<M-Right> |
|
|
548 | URxvt.keysym.M-C-0: list \033<M-C- 0123456789 > |
|
|
549 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
|
|
550 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
482 | |
551 | |
483 | ! keysym - used by rxvt only |
552 | See some more examples in the documentation for the B<keysym> resource. |
484 | ! Delete - ^D |
|
|
485 | tn3270*keysym.0xFFFF: \004 |
|
|
486 | |
|
|
487 | ! Home - ^A |
|
|
488 | tn3270*keysym.0xFF50: \001 |
|
|
489 | ! Left - ^B |
|
|
490 | tn3270*keysym.0xFF51: \002 |
|
|
491 | ! Up - ^P |
|
|
492 | tn3270*keysym.0xFF52: \020 |
|
|
493 | ! Right - ^F |
|
|
494 | tn3270*keysym.0xFF53: \006 |
|
|
495 | ! Down - ^N |
|
|
496 | tn3270*keysym.0xFF54: \016 |
|
|
497 | ! End - ^E |
|
|
498 | tn3270*keysym.0xFF57: \005 |
|
|
499 | |
|
|
500 | ! F1 - F12 |
|
|
501 | tn3270*keysym.0xFFBE: \e1 |
|
|
502 | tn3270*keysym.0xFFBF: \e2 |
|
|
503 | tn3270*keysym.0xFFC0: \e3 |
|
|
504 | tn3270*keysym.0xFFC1: \e4 |
|
|
505 | tn3270*keysym.0xFFC2: \e5 |
|
|
506 | tn3270*keysym.0xFFC3: \e6 |
|
|
507 | tn3270*keysym.0xFFC4: \e7 |
|
|
508 | tn3270*keysym.0xFFC5: \e8 |
|
|
509 | tn3270*keysym.0xFFC6: \e9 |
|
|
510 | tn3270*keysym.0xFFC7: \e0 |
|
|
511 | tn3270*keysym.0xFFC8: \e- |
|
|
512 | tn3270*keysym.0xFFC9: \e= |
|
|
513 | |
|
|
514 | ! map Prior/Next to F7/F8 |
|
|
515 | tn3270*keysym.0xFF55: \e7 |
|
|
516 | tn3270*keysym.0xFF56: \e8 |
|
|
517 | |
553 | |
518 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
554 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
519 | How do I make use of them? For example, the Sun Keyboard type 4 |
555 | How do I make use of them? For example, the Sun Keyboard type 4 |
520 | has the following mappings that rxvt-unicode doesn't recognize. |
556 | has the following mappings that rxvt-unicode doesn't recognize. |
521 | |
557 | |
… | |
… | |
524 | F27 == Home |
560 | F27 == Home |
525 | F29 == Prior |
561 | F29 == Prior |
526 | F33 == End |
562 | F33 == End |
527 | F35 == Next |
563 | F35 == Next |
528 | |
564 | |
529 | Rather than have rxvt-unicode try to accommodate all the various possible keyboard |
565 | Rather than have rxvt-unicode try to accommodate all the various possible |
530 | mappings, it is better to use `xmodmap' to remap the keys as required for |
566 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
531 | your particular machine. |
567 | required for your particular machine. |
532 | |
568 | |
533 | =item How do I distinguish if I'm running rxvt-unicode or a regular xterm? |
569 | =item How do I distinguish if I'm running rxvt-unicode or a regular xterm? |
534 | I need this to decide about setting colors etc. |
570 | I need this to decide about setting colors etc. |
535 | |
571 | |
536 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
572 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
… | |
… | |
566 | =item How do I compile the manual pages for myself? |
602 | =item How do I compile the manual pages for myself? |
567 | |
603 | |
568 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
604 | You need to have a recent version of perl installed as F</usr/bin/perl>, |
569 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
605 | one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
570 | the doc subdirectory and enter C<make alldoc>. |
606 | the doc subdirectory and enter C<make alldoc>. |
|
|
607 | |
|
|
608 | =item My question isn't answered here, can I ask a human? |
|
|
609 | |
|
|
610 | Before sending me mail, you could go to IRC: C<irc.freenode.net>, |
|
|
611 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
|
|
612 | interested in learning about new and exciting problems (but not FAQs :). |
571 | |
613 | |
572 | =back |
614 | =back |
573 | |
615 | |
574 | =head1 SYNOPSIS |
616 | =head1 SYNOPSIS |
575 | |
617 | |
… | |
… | |
1021 | |
1063 | |
1022 | =item B<< C<ESC [ s> >> |
1064 | =item B<< C<ESC [ s> >> |
1023 | |
1065 | |
1024 | Save Cursor (SC) |
1066 | Save Cursor (SC) |
1025 | |
1067 | |
|
|
1068 | =item B<< C<ESC [ Ps;Pt t> >> |
|
|
1069 | |
|
|
1070 | Window Operations |
|
|
1071 | |
|
|
1072 | =begin table |
|
|
1073 | |
|
|
1074 | B<< C<Ps = 1> >> Deiconify (map) window |
|
|
1075 | B<< C<Ps = 2> >> Iconify window |
|
|
1076 | B<< C<Ps = 3> >> B<< C<ESC [ 3 ; X ; Y t> >> Move window to (X|Y) |
|
|
1077 | B<< C<Ps = 4> >> B<< C<ESC [ 4 ; H ; W t> >> Resize to WxH pixels |
|
|
1078 | B<< C<Ps = 5> >> Raise window |
|
|
1079 | B<< C<Ps = 6> >> Lower window |
|
|
1080 | B<< C<Ps = 7> >> Refresh screen once |
|
|
1081 | B<< C<Ps = 8> >> B<< C<ESC [ 8 ; R ; C t> >> Resize to R rows and C columns |
|
|
1082 | B<< C<Ps = 11> >> Report window state (responds with C<Ps = 1> or C<Ps = 2> |
|
|
1083 | B<< C<Ps = 13> >> Report window position (responds with C<Ps = 3>) |
|
|
1084 | B<< C<Ps = 14> >> Report window pixel size (responds with C<Ps = 4>) |
|
|
1085 | B<< C<Ps = 18> >> Report window text size (responds with C<Ps = 7>) |
|
|
1086 | B<< C<Ps = 19> >> Currently the same as C<Ps = 18>, but responds with C<Ps = 9> |
|
|
1087 | B<< C<Ps = 20> >> Reports icon label (B<< C<ESC ] L NAME \234> >>) |
|
|
1088 | B<< C<Ps = 21> >> Reports window title (B<< C<ESC ] l NAME \234> >>) |
|
|
1089 | B<< C<Ps = 24..> >> Set window height to C<Ps> rows |
|
|
1090 | |
|
|
1091 | =end table |
|
|
1092 | |
|
|
1093 | =item B<< C<ESC [ u> >> |
|
|
1094 | |
|
|
1095 | Restore Cursor |
|
|
1096 | |
1026 | =item B<< C<ESC [ Ps x> >> |
1097 | =item B<< C<ESC [ Ps x> >> |
1027 | |
1098 | |
1028 | Request Terminal Parameters (DECREQTPARM) |
1099 | Request Terminal Parameters (DECREQTPARM) |
1029 | |
|
|
1030 | =item B<< C<ESC [ u> >> |
|
|
1031 | |
|
|
1032 | Restore Cursor |
|
|
1033 | |
1100 | |
1034 | =back |
1101 | =back |
1035 | |
1102 | |
1036 | X<PrivateModes> |
1103 | X<PrivateModes> |
1037 | |
1104 | |
… | |
… | |
2048 | you use an X11 font requiring one of these encodings. |
2115 | you use an X11 font requiring one of these encodings. |
2049 | |
2116 | |
2050 | =begin table |
2117 | =begin table |
2051 | |
2118 | |
2052 | all all available codeset groups |
2119 | all all available codeset groups |
2053 | cn common chinese encodings |
2120 | zh common chinese encodings |
2054 | cn_ext rarely used but very big chinese encodigs |
2121 | zh_ext rarely used but very big chinese encodigs |
2055 | jp common japanese encodings |
2122 | jp common japanese encodings |
2056 | jp_ext rarely used but big japanese encodings |
2123 | jp_ext rarely used but big japanese encodings |
2057 | kr korean encodings |
2124 | kr korean encodings |
2058 | |
2125 | |
2059 | =end table |
2126 | =end table |
… | |
… | |
2213 | |
2280 | |
2214 | Add support for many small features that are not essential but nice to |
2281 | Add support for many small features that are not essential but nice to |
2215 | have. Normally you want this, but for very small binaries you may want to |
2282 | have. Normally you want this, but for very small binaries you may want to |
2216 | disable this. |
2283 | disable this. |
2217 | |
2284 | |
|
|
2285 | A non-exhaustive list of features enabled by C<--enable-frills> (possibly |
|
|
2286 | in combination with other switches) is: |
|
|
2287 | |
|
|
2288 | MWM-hints |
|
|
2289 | seperate underline colour |
|
|
2290 | settable border widths and borderless switch |
|
|
2291 | settable extra linespacing |
|
|
2292 | extra window properties (e.g. UTF-8 window names and PID) |
|
|
2293 | iso-14755-2 and -3, and visual feedback |
|
|
2294 | backindex and forwardindex escape sequence |
|
|
2295 | window op and locale change escape sequences |
|
|
2296 | tripleclickwords |
|
|
2297 | settable insecure mode |
|
|
2298 | |
2218 | =item --enable-iso14755 |
2299 | =item --enable-iso14755 |
2219 | |
2300 | |
2220 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2301 | Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or |
2221 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2302 | F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by |
2222 | C<--enable-frills>, while support for 5.2, 5.3 and 5.4 is enabled with |
2303 | C<--enable-frills>, while support for 5.2, 5.3 and 5.4 is enabled with |
2223 | this switch. |
2304 | this switch. |
2224 | |
2305 | |
2225 | =item --enable-linespace |
|
|
2226 | |
|
|
2227 | Add support to provide user specified line spacing between text rows. |
|
|
2228 | |
|
|
2229 | =item --enable-keepscrolling |
2306 | =item --enable-keepscrolling |
2230 | |
2307 | |
2231 | Add support for continual scrolling of the display when you hold |
2308 | Add support for continual scrolling of the display when you hold |
2232 | the mouse button down on a scrollbar arrow. |
2309 | the mouse button down on a scrollbar arrow. |
2233 | |
2310 | |
… | |
… | |
2274 | |
2351 | |
2275 | Add support to have the pointer disappear when typing or inactive. |
2352 | Add support to have the pointer disappear when typing or inactive. |
2276 | |
2353 | |
2277 | =item --with-name=NAME |
2354 | =item --with-name=NAME |
2278 | |
2355 | |
2279 | Set the basename for the installed binaries (default: urxvt, resulting in |
2356 | Set the basename for the installed binaries (default: C<urxvt>, resulting |
2280 | urxvt, urxvtd etc.). Specify --with-name=rxvt to replace rxvt. |
2357 | in C<urxvt>, C<urxvtd> etc.). Specify C<--with-name=rxvt> to replace with |
|
|
2358 | C<rxvt>. |
2281 | |
2359 | |
2282 | =item --with-term=NAME |
2360 | =item --with-term=NAME |
2283 | |
2361 | |
2284 | Change the environmental variable for the terminal to NAME (default |
2362 | Change the environmental variable for the terminal to NAME (default |
2285 | "rxvt") |
2363 | C<rxvt-unicode>) |
2286 | |
2364 | |
2287 | =item --with-terminfo=PATH |
2365 | =item --with-terminfo=PATH |
2288 | |
2366 | |
2289 | Change the environmental variable for the path to the terminfo tree to |
2367 | Change the environmental variable for the path to the terminfo tree to |
2290 | PATH. |
2368 | PATH. |