… | |
… | |
35 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
35 | channel C<#rxvt-unicode> has some rxvt-unicode enthusiasts that might be |
36 | interested in learning about new and exciting problems (but not FAQs :). |
36 | interested in learning about new and exciting problems (but not FAQs :). |
37 | |
37 | |
38 | =head3 I use Gentoo, and I have a problem... |
38 | =head3 I use Gentoo, and I have a problem... |
39 | |
39 | |
40 | There are three big problems with Gentoo Linux: first of all, most if not |
40 | There are two big problems with Gentoo Linux: first, most if not all |
41 | all Gentoo systems are completely broken (missing or mismatched header |
41 | Gentoo systems are completely broken (missing or mismatched header |
42 | files, broken compiler etc. are just the tip of the iceberg); secondly, |
42 | files, broken compiler etc. are just the tip of the iceberg); |
43 | the Gentoo maintainer thinks it is a good idea to add broken patches to |
|
|
44 | the code; and lastly, it should be called Gentoo GNU/Linux. |
43 | secondly, it should be called Gentoo GNU/Linux. |
45 | |
44 | |
46 | For these reasons, it is impossible to support rxvt-unicode on |
45 | For these reasons, it is impossible to support rxvt-unicode on |
47 | Gentoo. Problems appearing on Gentoo systems will usually simply be |
46 | Gentoo. Problems appearing on Gentoo systems will usually simply be |
48 | ignored unless they can be reproduced on non-Gentoo systems. |
47 | ignored unless they can be reproduced on non-Gentoo systems. |
49 | |
48 | |
… | |
… | |
105 | This tries to create a new terminal, and if fails with exit status 2, |
104 | This tries to create a new terminal, and if fails with exit status 2, |
106 | meaning it couldn't connect to the daemon, it will start the daemon and |
105 | meaning it couldn't connect to the daemon, it will start the daemon and |
107 | re-run the command. Subsequent invocations of the script will re-use the |
106 | re-run the command. Subsequent invocations of the script will re-use the |
108 | existing daemon. |
107 | existing daemon. |
109 | |
108 | |
110 | =head3 How do I distinguish whether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
109 | =head3 How do I distinguish whether I'm running rxvt-unicode or a regular |
|
|
110 | xterm? I need this to decide about setting colours etc. |
111 | |
111 | |
112 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
112 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
113 | so you can check and see if that is set. Note that several programs, JED, |
113 | so you can check and see if that is set. Note that several programs, JED, |
114 | slrn, Midnight Commander automatically check this variable to decide |
114 | slrn, Midnight Commander automatically check this variable to decide |
115 | whether or not to use color. |
115 | whether or not to use colour. |
116 | |
116 | |
117 | =head3 How do I set the correct, full IP address for the DISPLAY variable? |
117 | =head3 How do I set the correct, full IP address for the DISPLAY variable? |
118 | |
118 | |
119 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
119 | If you've compiled rxvt-unicode with DISPLAY_IS_IP and have enabled |
120 | insecure mode then it is possible to use the following shell script |
120 | insecure mode then it is possible to use the following shell script |
… | |
… | |
128 | |
128 | |
129 | # Bourne/Korn/POSIX family of shells: |
129 | # Bourne/Korn/POSIX family of shells: |
130 | [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know |
130 | [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know |
131 | if [ ${TERM:-foo} = xterm ]; then |
131 | if [ ${TERM:-foo} = xterm ]; then |
132 | stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not |
132 | stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not |
133 | echo -n '^[Z' |
133 | printf "\eZ" |
134 | read term_id |
134 | read term_id |
135 | stty icanon echo |
135 | stty icanon echo |
136 | if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then |
136 | if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then |
137 | echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
137 | printf '\e[7n' # query the rxvt we are in for the DISPLAY string |
138 | read DISPLAY # set it in our local shell |
138 | read DISPLAY # set it in our local shell |
139 | fi |
139 | fi |
140 | fi |
140 | fi |
141 | |
141 | |
142 | =head3 How do I compile the manual pages on my own? |
142 | =head3 How do I compile the manual pages on my own? |
143 | |
143 | |
… | |
… | |
198 | the case of rxvt-unicode this hardly matters, as its portability limits |
198 | the case of rxvt-unicode this hardly matters, as its portability limits |
199 | are defined by things like X11, pseudo terminals, locale support and unix |
199 | are defined by things like X11, pseudo terminals, locale support and unix |
200 | domain sockets, which are all less portable than C++ itself. |
200 | domain sockets, which are all less portable than C++ itself. |
201 | |
201 | |
202 | Regarding the bloat, see the above question: It's easy to write programs |
202 | Regarding the bloat, see the above question: It's easy to write programs |
203 | in C that use gobs of memory, an certainly possible to write programs in |
203 | in C that use gobs of memory, and certainly possible to write programs in |
204 | C++ that don't. C++ also often comes with large libraries, but this is |
204 | C++ that don't. C++ also often comes with large libraries, but this is |
205 | not necessarily the case with GCC. Here is what rxvt links against on my |
205 | not necessarily the case with GCC. Here is what rxvt links against on my |
206 | system with a minimal config: |
206 | system with a minimal config: |
207 | |
207 | |
208 | libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000) |
208 | libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000) |
… | |
… | |
224 | |
224 | |
225 | =head2 Rendering, Font & Look and Feel Issues |
225 | =head2 Rendering, Font & Look and Feel Issues |
226 | |
226 | |
227 | =head3 I can't get transparency working, what am I doing wrong? |
227 | =head3 I can't get transparency working, what am I doing wrong? |
228 | |
228 | |
229 | First of all, please address all transparency related issues to Sasha Vasko at |
229 | First of all, transparency isn't officially supported in rxvt-unicode, so |
230 | sasha@aftercode.net and do not bug the author about it. Also, if you can't |
230 | you are mostly on your own. Do not bug the author about it (but you may |
231 | get it working consider it a rite of passage: ... and you failed. |
231 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
232 | of passage: ... and you failed. |
232 | |
233 | |
233 | Here are four ways to get transparency. B<Do> read the manpage and option |
234 | Here are four ways to get transparency. B<Do> read the manpage and option |
234 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
235 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
235 | |
236 | |
236 | 1. Use transparent mode: |
237 | 1. Use transparent mode: |
… | |
… | |
238 | Esetroot wallpaper.jpg |
239 | Esetroot wallpaper.jpg |
239 | @@URXVT_NAME@@ -tr -tint red -sh 40 |
240 | @@URXVT_NAME@@ -tr -tint red -sh 40 |
240 | |
241 | |
241 | That works. If you think it doesn't, you lack transparency and tinting |
242 | That works. If you think it doesn't, you lack transparency and tinting |
242 | support, or you are unable to read. |
243 | support, or you are unable to read. |
|
|
244 | This method requires that the background-setting program sets the |
|
|
245 | _XROOTPMAP_ID or ESETROOT_PMAP_ID property. Compatible programs |
|
|
246 | are Esetroot, hsetroot and feh. |
243 | |
247 | |
244 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
248 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
245 | to use effects other than tinting and shading: Just shade/tint/whatever |
249 | to use effects other than tinting and shading: Just shade/tint/whatever |
246 | your picture with gimp or any other tool: |
250 | your picture with gimp or any other tool: |
247 | |
251 | |
248 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg |
252 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg |
249 | @@URXVT_NAME@@ -pixmap "background.jpg;:root" |
253 | @@URXVT_NAME@@ -pixmap "background.jpg;:root" |
250 | |
254 | |
251 | That works. If you think it doesn't, you lack AfterImage support, or you |
255 | That works. If you think it doesn't, you lack GDK-PixBuf support, or you |
252 | are unable to read. |
256 | are unable to read. |
253 | |
257 | |
254 | 3. Use an ARGB visual: |
258 | 3. Use an ARGB visual: |
255 | |
259 | |
256 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
260 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
… | |
… | |
361 | For the standard background colour, blinking will actually make |
365 | For the standard background colour, blinking will actually make |
362 | the text blink when compiled with C<--enable-text-blink>. Without |
366 | the text blink when compiled with C<--enable-text-blink>. Without |
363 | C<--enable-text-blink>, the blink attribute will be ignored. |
367 | C<--enable-text-blink>, the blink attribute will be ignored. |
364 | |
368 | |
365 | On ANSI colours, bold/blink attributes are used to set high-intensity |
369 | On ANSI colours, bold/blink attributes are used to set high-intensity |
366 | foreground/background colors. |
370 | foreground/background colours. |
367 | |
371 | |
368 | color0-7 are the low-intensity colors. |
372 | color0-7 are the low-intensity colours. |
369 | |
373 | |
370 | color8-15 are the corresponding high-intensity colors. |
374 | color8-15 are the corresponding high-intensity colours. |
371 | |
375 | |
372 | =head3 I don't like the screen colors. How do I change them? |
376 | =head3 I don't like the screen colours. How do I change them? |
373 | |
377 | |
374 | You can change the screen colors at run-time using F<~/.Xdefaults> |
378 | You can change the screen colours at run-time using F<~/.Xdefaults> |
375 | resources (or as long-options). |
379 | resources (or as long-options). |
376 | |
380 | |
377 | Here are values that are supposed to resemble a VGA screen, |
381 | Here are values that are supposed to resemble a VGA screen, |
378 | including the murky brown that passes for low-intensity yellow: |
382 | including the murky brown that passes for low-intensity yellow: |
379 | |
383 | |
… | |
… | |
393 | URxvt.color12: #0000FF |
397 | URxvt.color12: #0000FF |
394 | URxvt.color13: #FF00FF |
398 | URxvt.color13: #FF00FF |
395 | URxvt.color14: #00FFFF |
399 | URxvt.color14: #00FFFF |
396 | URxvt.color15: #FFFFFF |
400 | URxvt.color15: #FFFFFF |
397 | |
401 | |
398 | And here is a more complete set of non-standard colors. |
402 | And here is a more complete set of non-standard colours. |
399 | |
403 | |
400 | URxvt.cursorColor: #dc74d1 |
404 | URxvt.cursorColor: #dc74d1 |
401 | URxvt.pointerColor: #dc74d1 |
405 | URxvt.pointerColor: #dc74d1 |
402 | URxvt.background: #0e0e0e |
406 | URxvt.background: #0e0e0e |
403 | URxvt.foreground: #4ad5e1 |
407 | URxvt.foreground: #4ad5e1 |
… | |
… | |
479 | |
483 | |
480 | We are working on it, in the meantime, as a workaround, use something like: |
484 | We are working on it, in the meantime, as a workaround, use something like: |
481 | |
485 | |
482 | @@URXVT_NAME@@ -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' |
486 | @@URXVT_NAME@@ -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' |
483 | |
487 | |
|
|
488 | =head3 Why is the cursor now blinking in emacs/vi/...? |
|
|
489 | |
|
|
490 | This is likely caused by your editor/program's use of the C<cvvis> |
|
|
491 | terminfo capability. Emacs uses it by default, as well as some versions of |
|
|
492 | vi and possibly other programs. |
|
|
493 | |
|
|
494 | In emacs, you can switch that off by adding this to your C<.emacs> file: |
|
|
495 | |
|
|
496 | (setq visible-cursor nil) |
|
|
497 | |
|
|
498 | For other programs, if they do not have an option, your have to remove the |
|
|
499 | C<cvvis> capability from the terminfo description. |
|
|
500 | |
|
|
501 | When @@URXVT_NAME@@ first added the blinking cursor option, it didn't |
|
|
502 | add a C<cvvis> capability, which served no purpose before. Version 9.21 |
|
|
503 | introduced C<cvvis> (and the ability to control blinking independent of |
|
|
504 | cursor shape) for compatibility with other terminals, which traditionally |
|
|
505 | use a blinking cursor for C<cvvis>. This also reflects the intent of |
|
|
506 | programs such as emacs, who expect C<cvvis> to enable a blinking cursor. |
484 | |
507 | |
485 | =head2 Keyboard, Mouse & User Interaction |
508 | =head2 Keyboard, Mouse & User Interaction |
486 | |
509 | |
487 | =head3 The new selection selects pieces that are too big, how can I select single words? |
510 | =head3 The new selection selects pieces that are too big, how can I select single words? |
488 | |
511 | |
… | |
… | |
516 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
539 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
517 | |
540 | |
518 | This will keep the default extensions, but disable the two popup |
541 | This will keep the default extensions, but disable the two popup |
519 | extensions. Some extensions can also be configured, for example, |
542 | extensions. Some extensions can also be configured, for example, |
520 | scrollback search mode is triggered by B<M-s>. You can move it to any |
543 | scrollback search mode is triggered by B<M-s>. You can move it to any |
521 | other combination either by setting the B<searchable-scrollback> resource: |
544 | other combination by adding a B<keysym> resource that binds the desired |
|
|
545 | combination to the C<start> action of C<searchable-scrollback> and another |
|
|
546 | one that binds B<M-s> to the C<builtin:> action: |
522 | |
547 | |
523 | URxvt.searchable-scrollback: CM-s |
548 | URxvt.keysym.CM-s: searchable-scrollback:start |
|
|
549 | URxvt.keysym.M-s: builtin: |
524 | |
550 | |
525 | =head3 The cursor moves when selecting text in the current input line, how do I switch this off? |
551 | =head3 The cursor moves when selecting text in the current input line, how do I switch this off? |
526 | |
552 | |
527 | See next entry. |
553 | See next entry. |
528 | |
554 | |
… | |
… | |
537 | You can permanently switch this feature off by disabling the C<readline> |
563 | You can permanently switch this feature off by disabling the C<readline> |
538 | extension: |
564 | extension: |
539 | |
565 | |
540 | URxvt.perl-ext-common: default,-readline |
566 | URxvt.perl-ext-common: default,-readline |
541 | |
567 | |
542 | =head3 My numerical keypad acts weird and generates differing output? |
568 | =head3 My numeric keypad acts weird and generates differing output? |
543 | |
569 | |
544 | Some Debian GNUL/Linux users seem to have this problem, although no |
570 | Some Debian GNU/Linux users seem to have this problem, although no |
545 | specific details were reported so far. It is possible that this is caused |
571 | specific details were reported so far. It is possible that this is caused |
546 | by the wrong C<TERM> setting, although the details of whether and how |
572 | by the wrong C<TERM> setting, although the details of whether and how |
547 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
573 | this can happen are unknown, as C<TERM=rxvt> should offer a compatible |
548 | keymap. See the answer to the previous question, and please report if that |
574 | keymap. See the answer to the previous question, and please report if that |
549 | helped. |
575 | helped. |
550 | |
576 | |
551 | =head3 My Compose (Multi_key) key is no longer working. |
577 | =head3 My Compose (Multi_key) key is no longer working. |
552 | |
578 | |
553 | The most common causes for this are that either your locale is not set |
579 | The most common causes for this are that either your locale is not set |
554 | correctly, or you specified a B<preeditStyle> that is not supported by |
580 | correctly, or you specified a B<preeditType> that is not supported by |
555 | your input method. For example, if you specified B<OverTheSpot> and |
581 | your input method. For example, if you specified B<OverTheSpot> and |
556 | your input method (e.g. the default input method handling Compose keys) |
582 | your input method (e.g. the default input method handling Compose keys) |
557 | does not support this (for instance because it is not visual), then |
583 | does not support this (for instance because it is not visual), then |
558 | rxvt-unicode will continue without an input method. |
584 | rxvt-unicode will continue without an input method. |
559 | |
585 | |
560 | In this case either do not specify a B<preeditStyle> or specify more than |
586 | In this case either do not specify a B<preeditType> or specify more than |
561 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
587 | one pre-edit style, such as B<OverTheSpot,Root,None>. |
|
|
588 | |
|
|
589 | If it still doesn't work, then maybe your input method doesn't support |
|
|
590 | compose sequences - to fall back to the built-in one, make sure you don't |
|
|
591 | specify an input method via C<-im> or C<XMODIFIERS>. |
562 | |
592 | |
563 | =head3 I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
593 | =head3 I cannot type C<Ctrl-Shift-2> to get an ASCII NUL character due to ISO 14755 |
564 | |
594 | |
565 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
595 | Either try C<Ctrl-2> alone (it often is mapped to ASCII NUL even on |
566 | international keyboards) or simply use ISO 14755 support to your |
596 | international keyboards) or simply use ISO 14755 support to your |
… | |
… | |
569 | character and so on. |
599 | character and so on. |
570 | |
600 | |
571 | =head3 Mouse cut/paste suddenly no longer works. |
601 | =head3 Mouse cut/paste suddenly no longer works. |
572 | |
602 | |
573 | Make sure that mouse reporting is actually turned off since killing |
603 | Make sure that mouse reporting is actually turned off since killing |
574 | some editors prematurely may leave the mouse in mouse report mode. I've |
604 | some editors prematurely may leave it active. I've |
575 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
605 | heard that tcsh may use mouse reporting unless it is otherwise specified. A |
576 | quick check is to see if cut/paste works when the Alt or Shift keys are |
606 | quick check is to see if cut/paste works when the Alt or Shift keys are |
577 | depressed. |
607 | pressed. |
578 | |
608 | |
579 | =head3 What's with the strange Backspace/Delete key behaviour? |
609 | =head3 What's with the strange Backspace/Delete key behaviour? |
580 | |
610 | |
581 | Assuming that the physical Backspace key corresponds to the |
611 | Assuming that the physical Backspace key corresponds to the |
582 | Backspace keysym (not likely for Linux ... see the following |
612 | Backspace keysym (not likely for Linux ... see the following |
… | |
… | |
585 | |
615 | |
586 | Historically, either value is correct, but rxvt-unicode adopts the debian |
616 | Historically, either value is correct, but rxvt-unicode adopts the debian |
587 | policy of using C<^?> when unsure, because it's the one and only correct |
617 | policy of using C<^?> when unsure, because it's the one and only correct |
588 | choice :). |
618 | choice :). |
589 | |
619 | |
590 | Rxvt-unicode tries to inherit the current stty settings and uses the value |
620 | It is possible to toggle between C<^H> and C<^?> with the DECBKM |
591 | of `erase' to guess the value for backspace. If rxvt-unicode wasn't |
621 | private mode: |
592 | started from a terminal (say, from a menu or by remote shell), then the |
|
|
593 | system value of `erase', which corresponds to CERASE in <termios.h>, will |
|
|
594 | be used (which may not be the same as your stty setting). |
|
|
595 | |
|
|
596 | For starting a new rxvt-unicode: |
|
|
597 | |
622 | |
598 | # use Backspace = ^H |
623 | # use Backspace = ^H |
599 | $ stty erase ^H |
624 | $ stty erase ^H |
600 | $ @@URXVT_NAME@@ |
625 | $ printf "\e[?67h" |
601 | |
626 | |
602 | # use Backspace = ^? |
627 | # use Backspace = ^? |
603 | $ stty erase ^? |
628 | $ stty erase ^? |
604 | $ @@URXVT_NAME@@ |
629 | $ printf "\e[?67l" |
605 | |
|
|
606 | Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>. |
|
|
607 | |
|
|
608 | For an existing rxvt-unicode: |
|
|
609 | |
|
|
610 | # use Backspace = ^H |
|
|
611 | $ stty erase ^H |
|
|
612 | $ echo -n "^[[36h" |
|
|
613 | |
|
|
614 | # use Backspace = ^? |
|
|
615 | $ stty erase ^? |
|
|
616 | $ echo -n "^[[36l" |
|
|
617 | |
630 | |
618 | This helps satisfy some of the Backspace discrepancies that occur, but |
631 | This helps satisfy some of the Backspace discrepancies that occur, but |
619 | if you use Backspace = C<^H>, make sure that the termcap/terminfo value |
632 | if you use Backspace = C<^H>, make sure that the termcap/terminfo value |
620 | properly reflects that. |
633 | properly reflects that. |
621 | |
634 | |
… | |
… | |
638 | you have run "configure" with the C<--disable-resources> option you can |
651 | you have run "configure" with the C<--disable-resources> option you can |
639 | use the `keysym' resource to alter the keystrings associated with keysyms. |
652 | use the `keysym' resource to alter the keystrings associated with keysyms. |
640 | |
653 | |
641 | Here's an example for a URxvt session started using C<@@URXVT_NAME@@ -name URxvt> |
654 | Here's an example for a URxvt session started using C<@@URXVT_NAME@@ -name URxvt> |
642 | |
655 | |
|
|
656 | URxvt.keysym.Prior: \033[5~ |
|
|
657 | URxvt.keysym.Next: \033[6~ |
643 | URxvt.keysym.Home: \033[1~ |
658 | URxvt.keysym.Home: \033[7~ |
644 | URxvt.keysym.End: \033[4~ |
659 | URxvt.keysym.End: \033[8~ |
645 | URxvt.keysym.C-apostrophe: \033<C-'> |
|
|
646 | URxvt.keysym.C-slash: \033<C-/> |
|
|
647 | URxvt.keysym.C-semicolon: \033<C-;> |
|
|
648 | URxvt.keysym.C-grave: \033<C-`> |
|
|
649 | URxvt.keysym.C-comma: \033<C-,> |
|
|
650 | URxvt.keysym.C-period: \033<C-.> |
|
|
651 | URxvt.keysym.C-0x60: \033<C-`> |
|
|
652 | URxvt.keysym.C-Tab: \033<C-Tab> |
|
|
653 | URxvt.keysym.C-Return: \033<C-Return> |
|
|
654 | URxvt.keysym.S-Return: \033<S-Return> |
|
|
655 | URxvt.keysym.S-space: \033<S-Space> |
|
|
656 | URxvt.keysym.M-Up: \033<M-Up> |
660 | URxvt.keysym.Up: \033[A |
657 | URxvt.keysym.M-Down: \033<M-Down> |
661 | URxvt.keysym.Down: \033[B |
|
|
662 | URxvt.keysym.Right: \033[C |
658 | URxvt.keysym.M-Left: \033<M-Left> |
663 | URxvt.keysym.Left: \033[D |
659 | URxvt.keysym.M-Right: \033<M-Right> |
|
|
660 | URxvt.keysym.M-C-0: list \033<M-C- 0123456789 > |
|
|
661 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
|
|
662 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
|
|
663 | |
664 | |
664 | See some more examples in the documentation for the B<keysym> resource. |
665 | See some more examples in the documentation for the B<keysym> resource. |
665 | |
666 | |
666 | =head3 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 map |
667 | =head3 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 map |
667 | |
668 | |
… | |
… | |
714 | develop for myself mostly, so I actually use most of the extensions I |
715 | develop for myself mostly, so I actually use most of the extensions I |
715 | write. |
716 | write. |
716 | |
717 | |
717 | The selection stuff mainly makes the selection perl-error-message aware |
718 | The selection stuff mainly makes the selection perl-error-message aware |
718 | and tells it to convert perl error messages into vi-commands to load the |
719 | and tells it to convert perl error messages into vi-commands to load the |
719 | relevant file and go tot he error line number. |
720 | relevant file and go to the error line number. |
720 | |
721 | |
721 | URxvt.scrollstyle: plain |
722 | URxvt.scrollstyle: plain |
722 | URxvt.secondaryScroll: true |
723 | URxvt.secondaryScroll: true |
723 | |
724 | |
724 | As the documentation says: plain is the preferred scrollbar for the |
725 | As the documentation says: plain is the preferred scrollbar for the |
… | |
… | |
796 | purposes, it works, and gives a different look, as my normal (Non-bold) |
797 | purposes, it works, and gives a different look, as my normal (Non-bold) |
797 | font is already bold, and I want to see a difference between bold and |
798 | font is already bold, and I want to see a difference between bold and |
798 | normal fonts. |
799 | normal fonts. |
799 | |
800 | |
800 | Please note that I used the C<urxvt> instance name and not the C<URxvt> |
801 | Please note that I used the C<urxvt> instance name and not the C<URxvt> |
801 | class name. Thats because I use different configs for different purposes, |
802 | class name. That is because I use different configs for different purposes, |
802 | for example, my IRC window is started with C<-name IRC>, and uses these |
803 | for example, my IRC window is started with C<-name IRC>, and uses these |
803 | defaults: |
804 | defaults: |
804 | |
805 | |
805 | IRC*title: IRC |
806 | IRC*title: IRC |
806 | IRC*geometry: 87x12+535+542 |
807 | IRC*geometry: 87x12+535+542 |
… | |
… | |
817 | stuff while keeping a very small window. If somebody pastes something |
818 | stuff while keeping a very small window. If somebody pastes something |
818 | complicated (e.g. japanese), I temporarily switch to a larger font. |
819 | complicated (e.g. japanese), I temporarily switch to a larger font. |
819 | |
820 | |
820 | The above is all in my C<.Xdefaults> (I don't use C<.Xresources> nor |
821 | The above is all in my C<.Xdefaults> (I don't use C<.Xresources> nor |
821 | C<xrdb>). I also have some resources in a separate C<.Xdefaults-hostname> |
822 | C<xrdb>). I also have some resources in a separate C<.Xdefaults-hostname> |
822 | file for different hosts, for example, on ym main desktop, I use: |
823 | file for different hosts, for example, on my main desktop, I use: |
823 | |
824 | |
824 | URxvt.keysym.C-M-q: command:\033[3;5;5t |
825 | URxvt.keysym.C-M-q: command:\033[3;5;5t |
825 | URxvt.keysym.C-M-y: command:\033[3;5;606t |
826 | URxvt.keysym.C-M-y: command:\033[3;5;606t |
826 | URxvt.keysym.C-M-e: command:\033[3;1605;5t |
827 | URxvt.keysym.C-M-e: command:\033[3;1605;5t |
827 | URxvt.keysym.C-M-c: command:\033[3;1605;606t |
828 | URxvt.keysym.C-M-c: command:\033[3;1605;606t |
… | |
… | |
902 | |
903 | |
903 | =head3 I need a termcap file entry. |
904 | =head3 I need a termcap file entry. |
904 | |
905 | |
905 | One reason you might want this is that some distributions or operating |
906 | One reason you might want this is that some distributions or operating |
906 | systems still compile some programs using the long-obsoleted termcap |
907 | systems still compile some programs using the long-obsoleted termcap |
907 | library (Fedora Core's bash is one example) and rely on a termcap entry |
908 | library (Fedora's bash is one example) and rely on a termcap entry |
908 | for C<rxvt-unicode>. |
909 | for C<rxvt-unicode>. |
909 | |
910 | |
910 | You could use rxvt's termcap entry with reasonable results in many cases. |
911 | You could use rxvt's termcap entry with reasonable results in many cases. |
911 | You can also create a termcap entry by using terminfo's infocmp program |
912 | You can also create a termcap entry by using terminfo's infocmp program |
912 | like this: |
913 | like this: |
… | |
… | |
940 | See next entry. |
941 | See next entry. |
941 | |
942 | |
942 | =head3 Why are the secondary screen-related options not working properly? |
943 | =head3 Why are the secondary screen-related options not working properly? |
943 | |
944 | |
944 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
945 | Make sure you are using C<TERM=rxvt-unicode>. Some pre-packaged |
945 | distributions (most notably Debian GNU/Linux) break rxvt-unicode |
946 | distributions break rxvt-unicode by setting C<TERM> to C<rxvt>, which |
946 | by setting C<TERM> to C<rxvt>, which doesn't have these extra |
947 | doesn't have these extra features. Unfortunately, some of these |
947 | features. Unfortunately, some of these (most notably, again, Debian |
|
|
948 | GNU/Linux) furthermore fail to even install the C<rxvt-unicode> terminfo |
948 | furthermore fail to even install the C<rxvt-unicode> terminfo file, so |
949 | file, so you will need to install it on your own (See the question B<When |
949 | you will need to install it on your own (See the question B<When I |
950 | I log-in to another system it tells me about missing terminfo data?> on |
950 | log-in to another system it tells me about missing terminfo data?> on |
951 | how to do this). |
951 | how to do this). |
952 | |
952 | |
953 | |
953 | |
954 | =head2 Encoding / Locale / Input Method Issues |
954 | =head2 Encoding / Locale / Input Method Issues |
955 | |
955 | |
… | |
… | |
1074 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. You can see what input |
1074 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. You can see what input |
1075 | method servers are running with this command: |
1075 | method servers are running with this command: |
1076 | |
1076 | |
1077 | xprop -root XIM_SERVERS |
1077 | xprop -root XIM_SERVERS |
1078 | |
1078 | |
1079 | =item |
|
|
1080 | |
|
|
1081 | =back |
1079 | =back |
1082 | |
1080 | |
1083 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
1081 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
1084 | |
1082 | |
1085 | You can specify separate locales for the input method and the rest of the |
1083 | You can specify separate locales for the input method and the rest of the |
… | |
… | |
1104 | So the only workaround is not to kill your Input Method Servers. |
1102 | So the only workaround is not to kill your Input Method Servers. |
1105 | |
1103 | |
1106 | |
1104 | |
1107 | =head2 Operating Systems / Package Maintaining |
1105 | =head2 Operating Systems / Package Maintaining |
1108 | |
1106 | |
1109 | =head3 I am using Debian GNU/Linux and have a problem... |
|
|
1110 | |
|
|
1111 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
|
|
1112 | patches that considerably change the behaviour of rxvt-unicode (but |
|
|
1113 | unfortunately this notice has been removed). Before reporting a bug to |
|
|
1114 | the original rxvt-unicode author please download and install the genuine |
|
|
1115 | version (L<http://software.schmorp.de#rxvt-unicode>) and try to reproduce |
|
|
1116 | the problem. If you cannot, chances are that the problems are specific to |
|
|
1117 | Debian GNU/Linux, in which case it should be reported via the Debian Bug |
|
|
1118 | Tracking System (use C<reportbug> to report the bug). |
|
|
1119 | |
|
|
1120 | For other problems that also affect the Debian package, you can and |
|
|
1121 | probably should use the Debian BTS, too, because, after all, it's also a |
|
|
1122 | bug in the Debian version and it serves as a reminder for other users that |
|
|
1123 | might encounter the same issue. |
|
|
1124 | |
|
|
1125 | =head3 I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
1107 | =head3 I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation? |
1126 | |
1108 | |
1127 | You should build one binary with the default options. F<configure> |
1109 | You should build one binary with the default options. F<configure> |
1128 | now enables most useful options, and the trend goes to making them |
1110 | now enables most useful options, and the trend goes to making them |
1129 | runtime-switchable, too, so there is usually no drawback to enabling them, |
1111 | runtime-switchable, too, so there is usually no drawback to enabling them, |
1130 | except higher disk and possibly memory usage. The perl interpreter should |
1112 | except higher disk and possibly memory usage. The perl interpreter should |
1131 | be enabled, as important functionality (menus, selection, likely more in |
1113 | be enabled, as important functionality (menus, selection, likely more in |
1132 | the future) depends on it. |
1114 | the future) depends on it. |
1133 | |
1115 | |
1134 | You should not overwrite the C<perl-ext-common> snd C<perl-ext> resources |
1116 | You should not overwrite the C<perl-ext-common> and C<perl-ext> resources |
1135 | system-wide (except maybe with C<defaults>). This will result in useful |
1117 | system-wide (except maybe with C<defaults>). This will result in useful |
1136 | behaviour. If your distribution aims at low memory, add an empty |
1118 | behaviour. If your distribution aims at low memory, add an empty |
1137 | C<perl-ext-common> resource to the app-defaults file. This will keep the |
1119 | C<perl-ext-common> resource to the app-defaults file. This will keep the |
1138 | perl interpreter disabled until the user enables it. |
1120 | perl interpreter disabled until the user enables it. |
1139 | |
1121 | |
… | |
… | |
1215 | The solution is to upgrade your system or switch to a better one. A |
1197 | The solution is to upgrade your system or switch to a better one. A |
1216 | possibly working workaround is to use a wcwidth implementation like |
1198 | possibly working workaround is to use a wcwidth implementation like |
1217 | |
1199 | |
1218 | http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c |
1200 | http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c |
1219 | |
1201 | |
1220 | =head3 I want 256 colors |
|
|
1221 | |
|
|
1222 | Are you sure you need 256 colors? 88 colors should be enough for most |
|
|
1223 | purposes. If you really need more, there is an unsupported patch for |
|
|
1224 | it in the doc directory, but please do not ask for it to be applied. |
|
|
1225 | |
|
|
1226 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1202 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1227 | |
1203 | |
1228 | The rest of this document describes various technical aspects of |
1204 | The rest of this document describes various technical aspects of |
1229 | B<rxvt-unicode>. First the description of supported command sequences, |
1205 | B<rxvt-unicode>. First the description of supported command sequences, |
1230 | followed by pixmap support and last by a description of all features |
1206 | followed by pixmap support and last by a description of all features |
… | |
… | |
1234 | |
1210 | |
1235 | =over 4 |
1211 | =over 4 |
1236 | |
1212 | |
1237 | =item B<< C<c> >> |
1213 | =item B<< C<c> >> |
1238 | |
1214 | |
1239 | The literal character c. |
1215 | The literal character c (potentially a multi-byte character). |
1240 | |
1216 | |
1241 | =item B<< C<C> >> |
1217 | =item B<< C<C> >> |
1242 | |
1218 | |
1243 | A single (required) character. |
1219 | A single (required) character. |
1244 | |
1220 | |
… | |
… | |
1303 | =item B<< C<SI> >> |
1279 | =item B<< C<SI> >> |
1304 | |
1280 | |
1305 | Shift In (Ctrl-O), invokes the G0 character set (the default). |
1281 | Shift In (Ctrl-O), invokes the G0 character set (the default). |
1306 | Switch to Standard Character Set |
1282 | Switch to Standard Character Set |
1307 | |
1283 | |
1308 | =item B<< C<SPC> >> |
1284 | =item B<< C<SP> >> |
1309 | |
1285 | |
1310 | Space Character |
1286 | Space Character |
1311 | |
1287 | |
1312 | =back |
1288 | =back |
1313 | |
1289 | |
… | |
… | |
1329 | |
1305 | |
1330 | =item B<< C<ESC => >> |
1306 | =item B<< C<ESC => >> |
1331 | |
1307 | |
1332 | Application Keypad (SMKX). See also next sequence. |
1308 | Application Keypad (SMKX). See also next sequence. |
1333 | |
1309 | |
1334 | =item B<<< C<< ESC >> >>> |
1310 | =item B<<< C<< ESC > >> >>> |
1335 | |
1311 | |
1336 | Normal Keypad (RMKX) |
1312 | Normal Keypad (RMKX) |
1337 | |
1313 | |
1338 | B<Note:> If the numeric keypad is activated, eg, B<Num_Lock> has been |
|
|
1339 | pressed, numbers or control functions are generated by the numeric keypad |
1314 | B<Note:> numbers or control functions are generated by the numeric |
1340 | (see Key Codes). |
1315 | keypad in normal or application mode, respectively (see Key Codes). |
|
|
1316 | |
1341 | |
1317 | |
1342 | =item B<< C<ESC D> >> |
1318 | =item B<< C<ESC D> >> |
1343 | |
1319 | |
1344 | Index (IND) |
1320 | Index (IND) |
1345 | |
1321 | |
… | |
… | |
1403 | |
1379 | |
1404 | Where B<< C<C> >> is one of: |
1380 | Where B<< C<C> >> is one of: |
1405 | |
1381 | |
1406 | =begin table |
1382 | =begin table |
1407 | |
1383 | |
1408 | C = C<0> DEC Special Character and Line Drawing Set |
1384 | C = C<0> DEC Special Character and Line Drawing Set |
1409 | C = C<A> United Kingdom (UK) |
1385 | C = C<A> United Kingdom (UK) |
1410 | C = C<B> United States (USASCII) |
1386 | C = C<B> United States (USASCII) |
1411 | C = C<< < >> Multinational character set I<unimplemented> |
1387 | C = C<< < >> Multinational character set I<unimplemented> |
1412 | C = C<5> Finnish character set I<unimplemented> |
1388 | C = C<5> Finnish character set I<unimplemented> |
1413 | C = C<C> Finnish character set I<unimplemented> |
1389 | C = C<C> Finnish character set I<unimplemented> |
1414 | C = C<K> German character set I<unimplemented> |
1390 | C = C<K> German character set I<unimplemented> |
1415 | |
1391 | |
1416 | =end table |
1392 | =end table |
1417 | |
1393 | |
1418 | =back |
1394 | =back |
1419 | |
1395 | |
… | |
… | |
1467 | |
1443 | |
1468 | Erase in Display (ED) |
1444 | Erase in Display (ED) |
1469 | |
1445 | |
1470 | =begin table |
1446 | =begin table |
1471 | |
1447 | |
1472 | B<< C<Ps = 0> >> Clear Below (default) |
1448 | B<< C<Ps = 0> >> Clear Right and Below (default) |
1473 | B<< C<Ps = 1> >> Clear Above |
1449 | B<< C<Ps = 1> >> Clear Left and Above |
1474 | B<< C<Ps = 2> >> Clear All |
1450 | B<< C<Ps = 2> >> Clear All |
1475 | |
1451 | |
1476 | =end table |
1452 | =end table |
1477 | |
1453 | |
1478 | =item B<< C<ESC [ Ps K> >> |
1454 | =item B<< C<ESC [ Ps K> >> |
… | |
… | |
1483 | |
1459 | |
1484 | B<< C<Ps = 0> >> Clear to Right (default) |
1460 | B<< C<Ps = 0> >> Clear to Right (default) |
1485 | B<< C<Ps = 1> >> Clear to Left |
1461 | B<< C<Ps = 1> >> Clear to Left |
1486 | B<< C<Ps = 2> >> Clear All |
1462 | B<< C<Ps = 2> >> Clear All |
1487 | B<< C<Ps = 3> >> Like Ps = 0, but is ignored when wrapped |
1463 | B<< C<Ps = 3> >> Like Ps = 0, but is ignored when wrapped |
1488 | (@@RXVT_NAME@@ extension) |
1464 | (@@RXVT_NAME@@ extension) |
1489 | |
1465 | |
1490 | =end table |
1466 | =end table |
1491 | |
1467 | |
1492 | =item B<< C<ESC [ Ps L> >> |
1468 | =item B<< C<ESC [ Ps L> >> |
1493 | |
1469 | |
… | |
… | |
1610 | |
1586 | |
1611 | Character Attributes (SGR) |
1587 | Character Attributes (SGR) |
1612 | |
1588 | |
1613 | =begin table |
1589 | =begin table |
1614 | |
1590 | |
1615 | B<< C<Ps = 0> >> Normal (default) |
1591 | B<< C<Pm = 0> >> Normal (default) |
1616 | B<< C<Ps = 1 / 21> >> On / Off Bold (bright fg) |
1592 | B<< C<Pm = 1 / 21> >> On / Off Bold (bright fg) |
1617 | B<< C<Ps = 3 / 23> >> On / Off Italic |
1593 | B<< C<Pm = 3 / 23> >> On / Off Italic |
1618 | B<< C<Ps = 4 / 24> >> On / Off Underline |
1594 | B<< C<Pm = 4 / 24> >> On / Off Underline |
1619 | B<< C<Ps = 5 / 25> >> On / Off Slow Blink (bright bg) |
1595 | B<< C<Pm = 5 / 25> >> On / Off Slow Blink (bright bg) |
1620 | B<< C<Ps = 6 / 26> >> On / Off Rapid Blink (bright bg) |
1596 | B<< C<Pm = 6 / 26> >> On / Off Rapid Blink (bright bg) |
1621 | B<< C<Ps = 7 / 27> >> On / Off Inverse |
1597 | B<< C<Pm = 7 / 27> >> On / Off Inverse |
1622 | B<< C<Ps = 8 / 27> >> On / Off Invisible (NYI) |
1598 | B<< C<Pm = 8 / 27> >> On / Off Invisible (NYI) |
1623 | B<< C<Ps = 30 / 40> >> fg/bg Black |
1599 | B<< C<Pm = 30 / 40> >> fg/bg Black |
1624 | B<< C<Ps = 31 / 41> >> fg/bg Red |
1600 | B<< C<Pm = 31 / 41> >> fg/bg Red |
1625 | B<< C<Ps = 32 / 42> >> fg/bg Green |
1601 | B<< C<Pm = 32 / 42> >> fg/bg Green |
1626 | B<< C<Ps = 33 / 43> >> fg/bg Yellow |
1602 | B<< C<Pm = 33 / 43> >> fg/bg Yellow |
1627 | B<< C<Ps = 34 / 44> >> fg/bg Blue |
1603 | B<< C<Pm = 34 / 44> >> fg/bg Blue |
1628 | B<< C<Ps = 35 / 45> >> fg/bg Magenta |
1604 | B<< C<Pm = 35 / 45> >> fg/bg Magenta |
1629 | B<< C<Ps = 36 / 46> >> fg/bg Cyan |
1605 | B<< C<Pm = 36 / 46> >> fg/bg Cyan |
|
|
1606 | B<< C<Pm = 37 / 47> >> fg/bg White |
1630 | B<< C<Ps = 38;5 / 48;5> >> set fg/bg to color #m (ISO 8613-6) |
1607 | B<< C<Pm = 38;5 / 48;5> >> set fg/bg to colour #m (ISO 8613-6) |
1631 | B<< C<Ps = 37 / 47> >> fg/bg White |
1608 | B<< C<Pm = 38;2;R;G;B> >> set fg to 24-bit colour #RGB (ISO 8613-3) |
|
|
1609 | B<< C<Pm = 48;2;R;G;B> >> set bg to 24-bit colour #RGB (ISO 8613-3) |
1632 | B<< C<Ps = 39 / 49> >> fg/bg Default |
1610 | B<< C<Pm = 39 / 49> >> fg/bg Default |
1633 | B<< C<Ps = 90 / 100> >> fg/bg Bright Black |
1611 | B<< C<Pm = 90 / 100> >> fg/bg Bright Black |
1634 | B<< C<Ps = 91 / 101> >> fg/bg Bright Red |
1612 | B<< C<Pm = 91 / 101> >> fg/bg Bright Red |
1635 | B<< C<Ps = 92 / 102> >> fg/bg Bright Green |
1613 | B<< C<Pm = 92 / 102> >> fg/bg Bright Green |
1636 | B<< C<Ps = 93 / 103> >> fg/bg Bright Yellow |
1614 | B<< C<Pm = 93 / 103> >> fg/bg Bright Yellow |
1637 | B<< C<Ps = 94 / 104> >> fg/bg Bright Blue |
1615 | B<< C<Pm = 94 / 104> >> fg/bg Bright Blue |
1638 | B<< C<Ps = 95 / 105> >> fg/bg Bright Magenta |
1616 | B<< C<Pm = 95 / 105> >> fg/bg Bright Magenta |
1639 | B<< C<Ps = 96 / 106> >> fg/bg Bright Cyan |
1617 | B<< C<Pm = 96 / 106> >> fg/bg Bright Cyan |
1640 | B<< C<Ps = 97 / 107> >> fg/bg Bright White |
1618 | B<< C<Pm = 97 / 107> >> fg/bg Bright White |
1641 | B<< C<Ps = 99 / 109> >> fg/bg Bright Default |
1619 | B<< C<Pm = 99 / 109> >> fg/bg Bright Default |
1642 | |
1620 | |
1643 | =end table |
1621 | =end table |
1644 | |
1622 | |
1645 | =item B<< C<ESC [ Ps n> >> |
1623 | =item B<< C<ESC [ Ps n> >> |
1646 | |
1624 | |
… | |
… | |
1650 | |
1628 | |
1651 | B<< C<Ps = 5> >> Status Report B<< C<ESC [ 0 n> >> (``OK'') |
1629 | B<< C<Ps = 5> >> Status Report B<< C<ESC [ 0 n> >> (``OK'') |
1652 | B<< C<Ps = 6> >> Report Cursor Position (CPR) [row;column] as B<< C<ESC [ r ; c R> >> |
1630 | B<< C<Ps = 6> >> Report Cursor Position (CPR) [row;column] as B<< C<ESC [ r ; c R> >> |
1653 | B<< C<Ps = 7> >> Request Display Name |
1631 | B<< C<Ps = 7> >> Request Display Name |
1654 | B<< C<Ps = 8> >> Request Version Number (place in window title) |
1632 | B<< C<Ps = 8> >> Request Version Number (place in window title) |
|
|
1633 | |
|
|
1634 | =end table |
|
|
1635 | |
|
|
1636 | =item B<< C<ESC [ Ps SP q> >> |
|
|
1637 | |
|
|
1638 | Set Cursor Style (DECSCUSR) |
|
|
1639 | |
|
|
1640 | =begin table |
|
|
1641 | |
|
|
1642 | B<< C<Ps = 0> >> Blink Block |
|
|
1643 | B<< C<Ps = 1> >> Blink Block |
|
|
1644 | B<< C<Ps = 2> >> Steady Block |
|
|
1645 | B<< C<Ps = 3> >> Blink Underline |
|
|
1646 | B<< C<Ps = 4> >> Steady Underline |
|
|
1647 | B<< C<Ps = 5> >> Blink Bar (XTerm) |
|
|
1648 | B<< C<Ps = 6> >> Steady Bar (XTerm) |
1655 | |
1649 | |
1656 | =end table |
1650 | =end table |
1657 | |
1651 | |
1658 | =item B<< C<ESC [ Ps;Ps r> >> |
1652 | =item B<< C<ESC [ Ps;Ps r> >> |
1659 | |
1653 | |
… | |
… | |
1734 | B<< C<h> >> Application Cursor Keys |
1728 | B<< C<h> >> Application Cursor Keys |
1735 | B<< C<l> >> Normal Cursor Keys |
1729 | B<< C<l> >> Normal Cursor Keys |
1736 | |
1730 | |
1737 | =end table |
1731 | =end table |
1738 | |
1732 | |
1739 | =item B<< C<Pm = 2> >> (ANSI/VT52 mode) |
1733 | =item B<< C<Pm = 2> >> (DECANM) |
1740 | |
1734 | |
1741 | =begin table |
1735 | =begin table |
1742 | |
1736 | |
1743 | B<< C<h> >> Enter VT52 mode |
1737 | B<< C<h> >> Enter VT52 mode |
1744 | B<< C<l> >> Enter VT52 mode |
1738 | B<< C<l> >> Enter VT52 mode |
1745 | |
1739 | |
1746 | =end table |
1740 | =end table |
1747 | |
1741 | |
1748 | =item B<< C<Pm = 3> >> |
1742 | =item B<< C<Pm = 3> >> (DECCOLM) |
1749 | |
1743 | |
1750 | =begin table |
1744 | =begin table |
1751 | |
1745 | |
1752 | B<< C<h> >> 132 Column Mode (DECCOLM) |
1746 | B<< C<h> >> 132 Column Mode |
1753 | B<< C<l> >> 80 Column Mode (DECCOLM) |
1747 | B<< C<l> >> 80 Column Mode |
1754 | |
1748 | |
1755 | =end table |
|
|
1756 | |
|
|
1757 | =item B<< C<Pm = 4> >> |
|
|
1758 | |
|
|
1759 | =begin table |
1749 | =end table |
1760 | |
1750 | |
|
|
1751 | =item B<< C<Pm = 4> >> (DECSCLM) |
|
|
1752 | |
|
|
1753 | =begin table |
|
|
1754 | |
1761 | B<< C<h> >> Smooth (Slow) Scroll (DECSCLM) |
1755 | B<< C<h> >> Smooth (Slow) Scroll |
1762 | B<< C<l> >> Jump (Fast) Scroll (DECSCLM) |
1756 | B<< C<l> >> Jump (Fast) Scroll |
1763 | |
1757 | |
1764 | =end table |
|
|
1765 | |
|
|
1766 | =item B<< C<Pm = 5> >> |
|
|
1767 | |
|
|
1768 | =begin table |
1758 | =end table |
1769 | |
1759 | |
|
|
1760 | =item B<< C<Pm = 5> >> (DECSCNM) |
|
|
1761 | |
|
|
1762 | =begin table |
|
|
1763 | |
1770 | B<< C<h> >> Reverse Video (DECSCNM) |
1764 | B<< C<h> >> Reverse Video |
1771 | B<< C<l> >> Normal Video (DECSCNM) |
1765 | B<< C<l> >> Normal Video |
1772 | |
1766 | |
1773 | =end table |
1767 | =end table |
1774 | |
1768 | |
1775 | =item B<< C<Pm = 6> >> |
1769 | =item B<< C<Pm = 6> >> (DECOM) |
1776 | |
1770 | |
1777 | =begin table |
1771 | =begin table |
1778 | |
1772 | |
1779 | B<< C<h> >> Origin Mode (DECOM) |
1773 | B<< C<h> >> Origin Mode |
1780 | B<< C<l> >> Normal Cursor Mode (DECOM) |
1774 | B<< C<l> >> Normal Cursor Mode |
1781 | |
1775 | |
1782 | =end table |
1776 | =end table |
1783 | |
1777 | |
1784 | =item B<< C<Pm = 7> >> |
1778 | =item B<< C<Pm = 7> >> (DECAWM) |
1785 | |
1779 | |
1786 | =begin table |
1780 | =begin table |
1787 | |
1781 | |
1788 | B<< C<h> >> Wraparound Mode (DECAWM) |
1782 | B<< C<h> >> Wraparound Mode |
1789 | B<< C<l> >> No Wraparound Mode (DECAWM) |
1783 | B<< C<l> >> No Wraparound Mode |
1790 | |
1784 | |
1791 | =end table |
1785 | =end table |
1792 | |
1786 | |
1793 | =item B<< C<Pm = 8> >> I<unimplemented> |
1787 | =item B<< C<Pm = 8> >> (DECARM) I<unimplemented> |
1794 | |
1788 | |
1795 | =begin table |
1789 | =begin table |
1796 | |
1790 | |
1797 | B<< C<h> >> Auto-repeat Keys (DECARM) |
1791 | B<< C<h> >> Auto-repeat Keys |
1798 | B<< C<l> >> No Auto-repeat Keys (DECARM) |
1792 | B<< C<l> >> No Auto-repeat Keys |
1799 | |
1793 | |
1800 | =end table |
1794 | =end table |
1801 | |
1795 | |
1802 | =item B<< C<Pm = 9> >> X10 XTerm |
1796 | =item B<< C<Pm = 9> >> (X10 XTerm mouse protocol) |
1803 | |
1797 | |
1804 | =begin table |
1798 | =begin table |
1805 | |
1799 | |
1806 | B<< C<h> >> Send Mouse X & Y on button press. |
1800 | B<< C<h> >> Send Mouse X & Y on button press. |
1807 | B<< C<l> >> No mouse reporting. |
1801 | B<< C<l> >> No mouse reporting. |
1808 | |
1802 | |
1809 | =end table |
1803 | =end table |
1810 | |
1804 | |
|
|
1805 | =item B<< C<Pm = 12> >> (AT&T 610, XTerm) |
|
|
1806 | |
|
|
1807 | =begin table |
|
|
1808 | |
|
|
1809 | B<< C<h> >> Blinking cursor (cvvis) |
|
|
1810 | B<< C<l> >> Steady cursor (cnorm) |
|
|
1811 | |
|
|
1812 | =end table |
|
|
1813 | |
1811 | =item B<< C<Pm = 25> >> |
1814 | =item B<< C<Pm = 25> >> (DECTCEM) |
1812 | |
1815 | |
1813 | =begin table |
1816 | =begin table |
1814 | |
1817 | |
1815 | B<< C<h> >> Visible cursor {cnorm/cvvis} |
1818 | B<< C<h> >> Visible cursor {cnorm/cvvis} |
1816 | B<< C<l> >> Invisible cursor {civis} |
1819 | B<< C<l> >> Invisible cursor {civis} |
1817 | |
1820 | |
1818 | =end table |
1821 | =end table |
1819 | |
1822 | |
1820 | =item B<< C<Pm = 30> >> |
1823 | =item B<< C<Pm = 30> >> (B<rxvt>) |
1821 | |
1824 | |
1822 | =begin table |
1825 | =begin table |
1823 | |
1826 | |
1824 | B<< C<h> >> scrollBar visible |
1827 | B<< C<h> >> scrollBar visible |
1825 | B<< C<l> >> scrollBar invisible |
1828 | B<< C<l> >> scrollBar invisible |
… | |
… | |
1877 | |
1880 | |
1878 | =end table |
1881 | =end table |
1879 | |
1882 | |
1880 | X<Priv66> |
1883 | X<Priv66> |
1881 | |
1884 | |
1882 | =item B<< C<Pm = 66> >> |
1885 | =item B<< C<Pm = 66> >> (DECNKM) |
1883 | |
1886 | |
1884 | =begin table |
1887 | =begin table |
1885 | |
1888 | |
1886 | B<< C<h> >> Application Keypad (DECPAM) == C<ESC => |
1889 | B<< C<h> >> Application Keypad (DECKPAM/DECPAM) == C<ESC => |
1887 | B<< C<l> >> Normal Keypad (DECPNM) == C<< ESC > >> |
1890 | B<< C<l> >> Normal Keypad (DECKPNM/DECPNM) == C<< ESC > >> |
1888 | |
1891 | |
1889 | =end table |
1892 | =end table |
1890 | |
1893 | |
1891 | =item B<< C<Pm = 67> >> |
1894 | =item B<< C<Pm = 67> >> (DECBKM) |
1892 | |
1895 | |
1893 | =begin table |
1896 | =begin table |
1894 | |
1897 | |
1895 | B<< C<h> >> Backspace key sends B<< C<BS> (DECBKM) >> |
1898 | B<< C<h> >> Backspace key sends B<< C<BS> >> |
1896 | B<< C<l> >> Backspace key sends B<< C<DEL> >> |
1899 | B<< C<l> >> Backspace key sends B<< C<DEL> >> |
1897 | |
1900 | |
1898 | =end table |
1901 | =end table |
1899 | |
1902 | |
1900 | =item B<< C<Pm = 1000> >> (X11 XTerm) |
1903 | =item B<< C<Pm = 1000> >> (X11 XTerm mouse protocol) |
1901 | |
1904 | |
1902 | =begin table |
1905 | =begin table |
1903 | |
1906 | |
1904 | B<< C<h> >> Send Mouse X & Y on button press and release. |
1907 | B<< C<h> >> Send Mouse X & Y on button press and release. |
1905 | B<< C<l> >> No mouse reporting. |
1908 | B<< C<l> >> No mouse reporting. |
… | |
… | |
1913 | B<< C<h> >> Use Hilite Mouse Tracking. |
1916 | B<< C<h> >> Use Hilite Mouse Tracking. |
1914 | B<< C<l> >> No mouse reporting. |
1917 | B<< C<l> >> No mouse reporting. |
1915 | |
1918 | |
1916 | =end table |
1919 | =end table |
1917 | |
1920 | |
1918 | =item B<< C<Pm = 1002> >> (X11 XTerm) |
1921 | =item B<< C<Pm = 1002> >> (X11 XTerm cell motion mouse tracking) |
1919 | |
1922 | |
1920 | =begin table |
1923 | =begin table |
1921 | |
1924 | |
1922 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion with a button pressed. |
1925 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion with a button pressed. |
1923 | B<< C<l> >> No mouse reporting. |
1926 | B<< C<l> >> No mouse reporting. |
1924 | |
1927 | |
1925 | =end table |
1928 | =end table |
1926 | |
1929 | |
1927 | =item B<< C<Pm = 1003> >> (X11 XTerm) |
1930 | =item B<< C<Pm = 1003> >> (X11 XTerm all motion mouse tracking) |
1928 | |
1931 | |
1929 | =begin table |
1932 | =begin table |
1930 | |
1933 | |
1931 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion. |
1934 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion. |
1932 | B<< C<l> >> No mouse reporting. |
1935 | B<< C<l> >> No mouse reporting. |
1933 | |
1936 | |
1934 | =end table |
1937 | =end table |
1935 | |
1938 | |
|
|
1939 | =item B<< C<Pm = 1004> >> (X11 XTerm focus in/focus out events) |
|
|
1940 | |
|
|
1941 | =begin table |
|
|
1942 | |
|
|
1943 | B<< C<h> >> Send Mouse focus in/focus out events. |
|
|
1944 | B<< C<l> >> Don't send focus events. |
|
|
1945 | |
|
|
1946 | =end table |
|
|
1947 | |
|
|
1948 | =item B<< C<Pm = 1005> >> (X11 XTerm UTF-8 mouse mode) (Compile frills) |
|
|
1949 | |
|
|
1950 | Try to avoid this mode, it doesn't work sensibly in non-UTF-8 locales. Use |
|
|
1951 | mode C<1015> instead. |
|
|
1952 | |
|
|
1953 | Unlike XTerm, coordinates larger than 2015 will work fine. |
|
|
1954 | |
|
|
1955 | =begin table |
|
|
1956 | |
|
|
1957 | B<< C<h> >> Enable mouse coordinates in locale-specific encoding. |
|
|
1958 | B<< C<l> >> Enable mouse coordinates as binary octets. |
|
|
1959 | |
|
|
1960 | =end table |
|
|
1961 | |
1936 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1962 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1937 | |
1963 | |
1938 | =begin table |
1964 | =begin table |
1939 | |
1965 | |
1940 | B<< C<h> >> Don't scroll to bottom on TTY output |
1966 | B<< C<h> >> Don't scroll to bottom on TTY output |
… | |
… | |
1949 | B<< C<h> >> Scroll to bottom when a key is pressed |
1975 | B<< C<h> >> Scroll to bottom when a key is pressed |
1950 | B<< C<l> >> Don't scroll to bottom when a key is pressed |
1976 | B<< C<l> >> Don't scroll to bottom when a key is pressed |
1951 | |
1977 | |
1952 | =end table |
1978 | =end table |
1953 | |
1979 | |
|
|
1980 | =item B<< C<Pm = 1015> >> (B<rxvt-unicode>) (Compile frills) |
|
|
1981 | |
|
|
1982 | =begin table |
|
|
1983 | |
|
|
1984 | B<< C<h> >> Enable urxvt mouse coordinate reporting. |
|
|
1985 | B<< C<l> >> Use old-style C<CSI M C C C> encoding. |
|
|
1986 | |
|
|
1987 | =end table |
|
|
1988 | |
|
|
1989 | Changes all mouse reporting codes to use decimal parameters instead of |
|
|
1990 | octets or characters. |
|
|
1991 | |
|
|
1992 | This mode should be enabled I<before> actually enabling mouse reporting, |
|
|
1993 | for semi-obvious reasons. |
|
|
1994 | |
|
|
1995 | The sequences received for various modes are as follows: |
|
|
1996 | |
|
|
1997 | ESC [ M o o o !1005, !1015 (three octets) |
|
|
1998 | ESC [ M c c c 1005, !1015 (three characters) |
|
|
1999 | ESC [ Pm M 1015 (three or more numeric parameters) |
|
|
2000 | |
|
|
2001 | The first three parameters are C<code>, C<x> and C<y>. Code is the numeric |
|
|
2002 | code as for the other modes (but encoded as a decimal number, including |
|
|
2003 | the additional offset of 32, so you have to subtract 32 first), C<x> and |
|
|
2004 | C<y> are the coordinates (1|1 is the upper left corner, just as with |
|
|
2005 | cursor positioning). |
|
|
2006 | |
|
|
2007 | Example: Shift-Button-1 press at top row, column 80. |
|
|
2008 | |
|
|
2009 | ESC [ 37 ; 80 ; 1 M |
|
|
2010 | |
|
|
2011 | One can use this feature by simply enabling it and then looking for |
|
|
2012 | parameters to the C<ESC [ M> reply - if there are any, this mode is |
|
|
2013 | active, otherwise one of the old reporting styles is used. |
|
|
2014 | |
|
|
2015 | Other (to be implemented) reply sequences will use a similar encoding. |
|
|
2016 | |
|
|
2017 | In the future, more parameters might get added (pixel coordinates for |
|
|
2018 | example - anybody out there who needs this?). |
|
|
2019 | |
1954 | =item B<< C<Pm = 1021> >> (B<rxvt>) |
2020 | =item B<< C<Pm = 1021> >> (B<rxvt>) |
1955 | |
2021 | |
1956 | =begin table |
2022 | =begin table |
1957 | |
2023 | |
1958 | B<< C<h> >> Bold/italic implies high intensity (see option B<-is>) |
2024 | B<< C<h> >> Bold/italic implies high intensity (see option B<-is>) |
1959 | B<< C<l> >> Font styles have no effect on intensity (Compile styles) |
2025 | B<< C<l> >> Font styles have no effect on intensity (Compile styles) |
1960 | |
2026 | |
1961 | =end table |
2027 | =end table |
1962 | |
2028 | |
1963 | =item B<< C<Pm = 1047> >> |
2029 | =item B<< C<Pm = 1047> >> (X11 XTerm alternate screen buffer) |
1964 | |
2030 | |
1965 | =begin table |
2031 | =begin table |
1966 | |
2032 | |
1967 | B<< C<h> >> Use Alternate Screen Buffer |
2033 | B<< C<h> >> Use Alternate Screen Buffer |
1968 | B<< C<l> >> Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it |
2034 | B<< C<l> >> Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it |
1969 | |
2035 | |
1970 | =end table |
2036 | =end table |
1971 | |
2037 | |
1972 | =item B<< C<Pm = 1048> >> |
2038 | =item B<< C<Pm = 1048> >> (X11 XTerm alternate DECSC) |
1973 | |
2039 | |
1974 | =begin table |
2040 | =begin table |
1975 | |
2041 | |
1976 | B<< C<h> >> Save cursor position |
2042 | B<< C<h> >> Save cursor position |
1977 | B<< C<l> >> Restore cursor position |
2043 | B<< C<l> >> Restore cursor position |
1978 | |
2044 | |
1979 | =end table |
2045 | =end table |
1980 | |
2046 | |
1981 | =item B<< C<Pm = 1049> >> |
2047 | =item B<< C<Pm = 1049> >> (X11 XTerm 1047 + 1048) |
1982 | |
2048 | |
1983 | =begin table |
2049 | =begin table |
1984 | |
2050 | |
1985 | B<< C<h> >> Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it |
2051 | B<< C<h> >> Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it |
1986 | B<< C<l> >> Use Normal Screen Buffer |
2052 | B<< C<l> >> Use Normal Screen Buffer |
1987 | |
2053 | |
1988 | =end table |
2054 | =end table |
1989 | |
2055 | |
1990 | =item B<< C<Pm = 2004> >> |
2056 | =item B<< C<Pm = 2004> >> (X11 XTerm bracketed paste mode) |
1991 | |
2057 | |
1992 | =begin table |
2058 | =begin table |
1993 | |
2059 | |
1994 | B<< C<h> >> Enable bracketed paste mode - prepend / append to the pasted text the control sequences C<ESC [ 200 ~> / C<ESC [ 201 ~> |
2060 | B<< C<h> >> Enable bracketed paste mode - prepend / append to the pasted text the control sequences C<ESC [ 200 ~> / C<ESC [ 201 ~> |
1995 | B<< C<l> >> Disable bracketed paste mode |
2061 | B<< C<l> >> Disable bracketed paste mode |
… | |
… | |
2021 | B<< C<Ps = 4> >> B<< C<Pt> >> is a semi-colon separated sequence of one or more semi-colon separated B<number>/B<name> pairs, where B<number> is an index to a colour and B<name> is the name of a colour. Each pair causes the B<number>ed colour to be changed to B<name>. Numbers 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity colours. 0=black, 1=red, 2=green, 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white |
2087 | B<< C<Ps = 4> >> B<< C<Pt> >> is a semi-colon separated sequence of one or more semi-colon separated B<number>/B<name> pairs, where B<number> is an index to a colour and B<name> is the name of a colour. Each pair causes the B<number>ed colour to be changed to B<name>. Numbers 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity colours. 0=black, 1=red, 2=green, 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white |
2022 | B<< C<Ps = 10> >> Change colour of text foreground to B<< C<Pt> >> |
2088 | B<< C<Ps = 10> >> Change colour of text foreground to B<< C<Pt> >> |
2023 | B<< C<Ps = 11> >> Change colour of text background to B<< C<Pt> >> |
2089 | B<< C<Ps = 11> >> Change colour of text background to B<< C<Pt> >> |
2024 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
2090 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
2025 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
2091 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
2026 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
2092 | B<< C<Ps = 17> >> Change background colour of highlight characters to B<< C<Pt> >> |
2027 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
2093 | B<< C<Ps = 19> >> Change foreground colour of highlight characters to B<< C<Pt> >> |
2028 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
|
|
2029 | B<< C<Ps = 20> >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage). |
2094 | B<< C<Ps = 20> >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile pixbuf). |
2030 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. [deprecated, use 10] |
2095 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. [deprecated, use 10] |
2031 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
2096 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
2032 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. [deprecated, use 11] |
2097 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. [deprecated, use 11] |
2033 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
2098 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
2034 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> [disabled] |
2099 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> [disabled] |
… | |
… | |
2052 | =back |
2117 | =back |
2053 | |
2118 | |
2054 | =head1 BACKGROUND IMAGE |
2119 | =head1 BACKGROUND IMAGE |
2055 | |
2120 | |
2056 | For the BACKGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> the value |
2121 | For the BACKGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> the value |
2057 | of B<< C<Pt> >> can be the name of the background image file followed by a |
2122 | of B<< C<Pt> >> can be one of the following commands: |
2058 | sequence of scaling/positioning commands separated by semi-colons. The |
|
|
2059 | scaling/positioning commands are as follows: |
|
|
2060 | |
2123 | |
2061 | =over 4 |
2124 | =over 4 |
2062 | |
2125 | |
2063 | =item query scale/position |
2126 | =item B<< C<?> >> |
2064 | |
2127 | |
2065 | B<?> |
2128 | display scale and position in the title |
2066 | |
2129 | |
|
|
2130 | =item B<< C<;WxH+X+Y> >> |
|
|
2131 | |
2067 | =item change scale and position |
2132 | change scale and/or position |
2068 | |
2133 | |
2069 | B<WxH+X+Y> |
2134 | =item B<< C<FILE;WxH+X+Y> >> |
2070 | |
2135 | |
2071 | B<WxH+X> (== B<WxH+X+X>) |
2136 | change background image |
2072 | |
|
|
2073 | B<WxH> (same as B<WxH+50+50>) |
|
|
2074 | |
|
|
2075 | B<W+X+Y> (same as B<WxW+X+Y>) |
|
|
2076 | |
|
|
2077 | B<W+X> (same as B<WxW+X+X>) |
|
|
2078 | |
|
|
2079 | B<W> (same as B<WxW+50+50>) |
|
|
2080 | |
|
|
2081 | =item change position (absolute) |
|
|
2082 | |
|
|
2083 | B<=+X+Y> |
|
|
2084 | |
|
|
2085 | B<=+X> (same as B<=+X+Y>) |
|
|
2086 | |
|
|
2087 | =item change position (relative) |
|
|
2088 | |
|
|
2089 | B<+X+Y> |
|
|
2090 | |
|
|
2091 | B<+X> (same as B<+X+Y>) |
|
|
2092 | |
|
|
2093 | =item rescale (relative) |
|
|
2094 | |
|
|
2095 | B<Wx0> -> B<W *= (W/100)> |
|
|
2096 | |
|
|
2097 | B<0xH> -> B<H *= (H/100)> |
|
|
2098 | |
|
|
2099 | =back |
|
|
2100 | |
|
|
2101 | For example: |
|
|
2102 | |
|
|
2103 | =over 4 |
|
|
2104 | |
|
|
2105 | =item B<\E]20;funky.jpg\a> |
|
|
2106 | |
|
|
2107 | load B<funky.jpg> as a tiled image |
|
|
2108 | |
|
|
2109 | =item B<\E]20;mona.jpg;100\a> |
|
|
2110 | |
|
|
2111 | load B<mona.jpg> with a scaling of 100% |
|
|
2112 | |
|
|
2113 | =item B<\E]20;;200;?\a> |
|
|
2114 | |
|
|
2115 | rescale the current pixmap to 200% and display the image geometry in |
|
|
2116 | the title |
|
|
2117 | |
2137 | |
2118 | =back |
2138 | =back |
2119 | |
2139 | |
2120 | X<Mouse> |
2140 | X<Mouse> |
2121 | |
2141 | |
… | |
… | |
2149 | The upper bits of B<< C<< <b> >> >> indicate the modifiers when the |
2169 | The upper bits of B<< C<< <b> >> >> indicate the modifiers when the |
2150 | button was pressed and are added together (X11 mouse report only): |
2170 | button was pressed and are added together (X11 mouse report only): |
2151 | |
2171 | |
2152 | =over 4 |
2172 | =over 4 |
2153 | |
2173 | |
2154 | =item State = B<< C<< (<b> - SPACE) & 60 >> >> |
2174 | =item State = B<< C<< (<b> - SPACE) & ~3 >> >> |
2155 | |
2175 | |
2156 | =begin table |
2176 | =begin table |
2157 | |
2177 | |
2158 | 4 Shift |
2178 | 4 Shift |
2159 | 8 Meta |
2179 | 8 Meta |
2160 | 16 Control |
2180 | 16 Control |
|
|
2181 | 32 Motion Notify |
2161 | 32 Double Click I<(rxvt extension)> |
2182 | 32 Double Click I<(rxvt extension)>, disabled by default |
|
|
2183 | 64 Button1 is actually Button4, Button2 is actually Button5 etc. |
2162 | |
2184 | |
2163 | =end table |
2185 | =end table |
2164 | |
2186 | |
2165 | Col = B<< C<< <x> - SPACE >> >> |
2187 | Col = B<< C<< <x> - SPACE >> >> |
2166 | |
2188 | |
… | |
… | |
2172 | |
2194 | |
2173 | X<KeyCodes> |
2195 | X<KeyCodes> |
2174 | |
2196 | |
2175 | Note: B<Shift> + B<F1>-B<F10> generates B<F11>-B<F20> |
2197 | Note: B<Shift> + B<F1>-B<F10> generates B<F11>-B<F20> |
2176 | |
2198 | |
2177 | For the keypad, use B<Shift> to temporarily override Application-Keypad |
2199 | For the keypad, use B<Shift> to temporarily toggle Application Keypad |
2178 | setting use B<Num_Lock> to toggle Application-Keypad setting if |
2200 | mode and use B<Num_Lock> to override Application Keypad mode, i.e. if |
2179 | B<Num_Lock> is off, toggle Application-Keypad setting. Also note that |
2201 | B<Num_Lock> is on the keypad is in normal mode. Also note that the |
2180 | values of B<Home>, B<End>, B<Delete> may have been compiled differently on |
2202 | values of B<BackSpace>, B<Delete> may have been compiled differently |
2181 | your system. |
2203 | on your system. |
2182 | |
2204 | |
2183 | =begin table |
2205 | =begin table |
2184 | |
2206 | |
2185 | B<Normal> B<Shift> B<Control> B<Ctrl+Shift> |
2207 | B<Normal> B<Shift> B<Control> B<Ctrl+Shift> |
2186 | Tab ^I ESC [ Z ^I ESC [ Z |
2208 | Tab ^I ESC [ Z ^I ESC [ Z |
2187 | BackSpace ^H ^? ^? ^? |
2209 | BackSpace ^? ^? ^H ^H |
2188 | Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @ |
2210 | Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @ |
2189 | Insert ESC [ 2 ~ I<paste> ESC [ 2 ^ ESC [ 2 @ |
2211 | Insert ESC [ 2 ~ I<paste> ESC [ 2 ^ ESC [ 2 @ |
2190 | Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @ |
2212 | Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @ |
2191 | Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @ |
2213 | Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @ |
2192 | Prior ESC [ 5 ~ I<scroll-up> ESC [ 5 ^ ESC [ 5 @ |
2214 | Prior ESC [ 5 ~ I<scroll-up> ESC [ 5 ^ ESC [ 5 @ |
… | |
… | |
2222 | KP_Enter ^M ESC O M |
2244 | KP_Enter ^M ESC O M |
2223 | KP_F1 ESC O P ESC O P |
2245 | KP_F1 ESC O P ESC O P |
2224 | KP_F2 ESC O Q ESC O Q |
2246 | KP_F2 ESC O Q ESC O Q |
2225 | KP_F3 ESC O R ESC O R |
2247 | KP_F3 ESC O R ESC O R |
2226 | KP_F4 ESC O S ESC O S |
2248 | KP_F4 ESC O S ESC O S |
2227 | XK_KP_Multiply * ESC O j |
2249 | KP_Multiply * ESC O j |
2228 | XK_KP_Add + ESC O k |
2250 | KP_Add + ESC O k |
2229 | XK_KP_Separator , ESC O l |
2251 | KP_Separator , ESC O l |
2230 | XK_KP_Subtract - ESC O m |
2252 | KP_Subtract - ESC O m |
2231 | XK_KP_Decimal . ESC O n |
2253 | KP_Decimal . ESC O n |
2232 | XK_KP_Divide / ESC O o |
2254 | KP_Divide / ESC O o |
2233 | XK_KP_0 0 ESC O p |
2255 | KP_0 0 ESC O p |
2234 | XK_KP_1 1 ESC O q |
2256 | KP_1 1 ESC O q |
2235 | XK_KP_2 2 ESC O r |
2257 | KP_2 2 ESC O r |
2236 | XK_KP_3 3 ESC O s |
2258 | KP_3 3 ESC O s |
2237 | XK_KP_4 4 ESC O t |
2259 | KP_4 4 ESC O t |
2238 | XK_KP_5 5 ESC O u |
2260 | KP_5 5 ESC O u |
2239 | XK_KP_6 6 ESC O v |
2261 | KP_6 6 ESC O v |
2240 | XK_KP_7 7 ESC O w |
2262 | KP_7 7 ESC O w |
2241 | XK_KP_8 8 ESC O x |
2263 | KP_8 8 ESC O x |
2242 | XK_KP_9 9 ESC O y |
2264 | KP_9 9 ESC O y |
2243 | |
2265 | |
2244 | =end table |
2266 | =end table |
2245 | |
2267 | |
2246 | =head1 CONFIGURE OPTIONS |
2268 | =head1 CONFIGURE OPTIONS |
2247 | |
2269 | |
… | |
… | |
2255 | |
2277 | |
2256 | =over 4 |
2278 | =over 4 |
2257 | |
2279 | |
2258 | =item --enable-everything |
2280 | =item --enable-everything |
2259 | |
2281 | |
2260 | Add (or remove) support for all non-multichoice options listed in "./configure |
2282 | Add (or remove) support for all non-multichoice options listed |
2261 | --help". |
2283 | in C<./configure --help>, except for C<--enable-assert> and |
|
|
2284 | C<--enable-256-color>. |
2262 | |
2285 | |
2263 | You can specify this and then disable options you do not like by |
2286 | You can specify this and then disable options you do not like by |
2264 | I<following> this with the appropriate C<--disable-...> arguments, |
2287 | I<following> this with the appropriate C<--disable-...> arguments, |
2265 | or you can start with a minimal configuration by specifying |
2288 | or you can start with a minimal configuration by specifying |
2266 | C<--disable-everything> and than adding just the C<--enable-...> arguments |
2289 | C<--disable-everything> and than adding just the C<--enable-...> arguments |
2267 | you want. |
2290 | you want. |
2268 | |
2291 | |
2269 | =item --enable-xft (default: enabled) |
2292 | =item --enable-xft (default: on) |
2270 | |
2293 | |
2271 | Add support for Xft (anti-aliases, among others) fonts. Xft fonts are |
2294 | Add support for Xft (anti-aliased, among others) fonts. Xft fonts are |
2272 | slower and require lots of memory, but as long as you don't use them, you |
2295 | slower and require lots of memory, but as long as you don't use them, you |
2273 | don't pay for them. |
2296 | don't pay for them. |
2274 | |
2297 | |
2275 | =item --enable-font-styles (default: on) |
2298 | =item --enable-font-styles (default: on) |
2276 | |
2299 | |
2277 | Add support for B<bold>, I<italic> and B<< I<bold italic> >> font |
2300 | Add support for B<bold>, I<italic> and B<< I<bold italic> >> font |
2278 | styles. The fonts can be set manually or automatically. |
2301 | styles. The fonts can be set manually or automatically. |
2279 | |
2302 | |
2280 | =item --with-codesets=NAME,... (default: all) |
2303 | =item --with-codesets=CS,... (default: all) |
2281 | |
2304 | |
2282 | Compile in support for additional codeset (encoding) groups (C<eu>, C<vn> |
2305 | Compile in support for additional codeset (encoding) groups (C<eu>, C<vn> |
2283 | are always compiled in, which includes most 8-bit character sets). These |
2306 | are always compiled in, which includes most 8-bit character sets). These |
2284 | codeset tables are used for driving X11 core fonts, they are not required |
2307 | codeset tables are used for driving X11 core fonts, they are not required |
2285 | for Xft fonts, although having them compiled in lets rxvt-unicode choose |
2308 | for Xft fonts, although having them compiled in lets rxvt-unicode choose |
… | |
… | |
2321 | |
2344 | |
2322 | =item --enable-combining (default: on) |
2345 | =item --enable-combining (default: on) |
2323 | |
2346 | |
2324 | Enable automatic composition of combining characters into |
2347 | Enable automatic composition of combining characters into |
2325 | composite characters. This is required for proper viewing of text |
2348 | composite characters. This is required for proper viewing of text |
2326 | where accents are encoded as seperate unicode characters. This is |
2349 | where accents are encoded as separate unicode characters. This is |
2327 | done by using precomposited characters when available or creating |
2350 | done by using precomposed characters when available or creating |
2328 | new pseudo-characters when no precomposed form exists. |
2351 | new pseudo-characters when no precomposed form exists. |
2329 | |
2352 | |
2330 | Without --enable-unicode3, the number of additional precomposed |
2353 | Without --enable-unicode3, the number of additional precomposed |
2331 | characters is somewhat limited (the 6400 private use characters will be |
2354 | characters is somewhat limited (the 6400 private use characters will be |
2332 | (ab-)used). With --enable-unicode3, no practical limit exists. |
2355 | (ab-)used). With --enable-unicode3, no practical limit exists. |
… | |
… | |
2336 | |
2359 | |
2337 | The combining table also contains entries for arabic presentation forms, |
2360 | The combining table also contains entries for arabic presentation forms, |
2338 | but these are not currently used. Bug me if you want these to be used (and |
2361 | but these are not currently used. Bug me if you want these to be used (and |
2339 | tell me how these are to be used...). |
2362 | tell me how these are to be used...). |
2340 | |
2363 | |
2341 | =item --enable-fallback(=CLASS) (default: Rxvt) |
2364 | =item --enable-fallback[=CLASS] (default: Rxvt) |
2342 | |
2365 | |
2343 | When reading resource settings, also read settings for class CLASS. To |
2366 | When reading resource settings, also read settings for class CLASS. To |
2344 | disable resource fallback use --disable-fallback. |
2367 | disable resource fallback use --disable-fallback. |
2345 | |
2368 | |
2346 | =item --with-res-name=NAME (default: urxvt) |
2369 | =item --with-res-name=NAME (default: urxvt) |
… | |
… | |
2369 | |
2392 | |
2370 | Write user and tty to lastlog file (used by programs like |
2393 | Write user and tty to lastlog file (used by programs like |
2371 | F<lastlogin>) at start of rxvt execution. This option requires |
2394 | F<lastlogin>) at start of rxvt execution. This option requires |
2372 | --enable-utmp to also be specified. |
2395 | --enable-utmp to also be specified. |
2373 | |
2396 | |
2374 | =item --enable-afterimage (default: on) |
2397 | =item --enable-pixbuf (default: on) |
2375 | |
2398 | |
2376 | Add support for libAfterImage to be used for transparency and background |
2399 | Add support for GDK-PixBuf to be used for background images. |
2377 | images. It adds support for many file formats including JPG, PNG, |
2400 | It adds support for many file formats including JPG, PNG, |
2378 | SVG, TIFF, GIF, XPM, BMP, ICO, XCF, TGA and AfterStep image XML |
2401 | TIFF, GIF, XPM, BMP, ICO and TGA. |
2379 | (L<http://www.afterstep.org/visualdoc.php?show=asimagexml>). |
|
|
2380 | |
2402 | |
2381 | This option also adds such eye candy as blending an image over the root |
2403 | =item --enable-startup-notification (default: on) |
2382 | background, as well as dynamic scaling and bluring of background images. |
|
|
2383 | |
2404 | |
2384 | Note that with this option enabled, @@RXVT_NAME@@'s memory footprint might |
2405 | Add support for freedesktop startup notifications. This allows window managers |
2385 | increase by a few megabytes even if no extra features are used (mostly due |
2406 | to display some kind of progress indicator during startup. |
2386 | to third-party libraries used by libAI). Memory footprint may somewhat be |
|
|
2387 | lowered if libAfterImage is configured without support for SVG. |
|
|
2388 | |
2407 | |
2389 | =item --enable-transparency (default: on) |
2408 | =item --enable-transparency (default: on) |
2390 | |
2409 | |
2391 | Add support for backgrounds, creating illusion of transparency in the term. |
2410 | Add support for using the root pixmap as background to simulate transparency. |
|
|
2411 | Note that this feature depends on libXrender and on the availability |
|
|
2412 | of the RENDER extension in the X server. |
2392 | |
2413 | |
2393 | =item --enable-fading (default: on) |
2414 | =item --enable-fading (default: on) |
2394 | |
2415 | |
2395 | Add support for fading the text when focus is lost. |
2416 | Add support for fading the text when focus is lost. |
2396 | |
2417 | |
… | |
… | |
2433 | in combination with other switches) is: |
2454 | in combination with other switches) is: |
2434 | |
2455 | |
2435 | MWM-hints |
2456 | MWM-hints |
2436 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2457 | EWMH-hints (pid, utf8 names) and protocols (ping) |
2437 | urgency hint |
2458 | urgency hint |
2438 | seperate underline colour (-underlineColor) |
2459 | separate underline colour (-underlineColor) |
2439 | settable border widths and borderless switch (-w, -b, -bl) |
2460 | settable border widths and borderless switch (-w, -b, -bl) |
2440 | visual depth selection (-depth) |
2461 | visual depth selection (-depth) |
2441 | settable extra linespacing /-lsp) |
2462 | settable extra linespacing (-lsp) |
2442 | iso-14755 5.1 (basic) support |
2463 | iso-14755 5.1 (basic) support |
2443 | tripleclickwords (-tcw) |
2464 | tripleclickwords (-tcw) |
2444 | settable insecure mode (-insecure) |
2465 | settable insecure mode (-insecure) |
2445 | keysym remapping support |
2466 | keysym remapping support |
2446 | cursor blinking and underline cursor (-bc, -uc) |
2467 | cursor blinking and underline cursor (-bc, -uc) |
2447 | XEmbed support (-embed) |
2468 | XEmbed support (-embed) |
2448 | user-pty (-pty-fd) |
2469 | user-pty (-pty-fd) |
2449 | hold on exit (-hold) |
2470 | hold on exit (-hold) |
2450 | compile in built-in block graphics |
2471 | compile in built-in block graphics |
2451 | skip builtin block graphics (-sbg) |
2472 | skip builtin block graphics (-sbg) |
2452 | separate highlightcolor support (-hc) |
2473 | separate highlight colour (-highlightColor, -highlightTextColor) |
|
|
2474 | focus reporting mode (1004). |
|
|
2475 | extended mouse reporting modes (1005 and 1015). |
|
|
2476 | visual selection via -visual and -depth. |
2453 | |
2477 | |
2454 | It also enables some non-essential features otherwise disabled, such as: |
2478 | It also enables some non-essential features otherwise disabled, such as: |
2455 | |
2479 | |
2456 | some round-trip time optimisations |
2480 | some round-trip time optimisations |
2457 | nearest color allocation on pseudocolor screens |
2481 | nearest colour allocation on pseudocolor screens |
2458 | UTF8_STRING support for selection |
2482 | UTF8_STRING support for selection |
2459 | sgr modes 90..97 and 100..107 |
2483 | sgr modes 90..97 and 100..107 |
2460 | backindex and forwardindex escape sequences |
2484 | backindex and forwardindex escape sequences |
2461 | view change/zero scrollback escape sequences |
2485 | view change/zero scrollback escape sequences |
2462 | locale switching escape sequence |
2486 | locale switching escape sequence |
… | |
… | |
2514 | environment variable when running configure. Even when compiled in, |
2538 | environment variable when running configure. Even when compiled in, |
2515 | perl will I<not> be initialised when all extensions have been disabled |
2539 | perl will I<not> be initialised when all extensions have been disabled |
2516 | C<-pe "" --perl-ext-common "">, so it should be safe to enable from a |
2540 | C<-pe "" --perl-ext-common "">, so it should be safe to enable from a |
2517 | resource standpoint. |
2541 | resource standpoint. |
2518 | |
2542 | |
2519 | =item --with-afterimage-config=DIR |
2543 | =item --enable-assert (default: off) |
2520 | |
2544 | |
2521 | Look for the libAfterImage config script in DIR. |
2545 | Enables the assertions in the code, normally disabled. This switch is only |
|
|
2546 | useful when developing rxvt-unicode. |
|
|
2547 | |
|
|
2548 | =item --enable-256-color (default: off) |
|
|
2549 | |
|
|
2550 | Force use of so-called 256 colour mode, to work around buggy applications |
|
|
2551 | that do not support termcap/terminfo, or simply improve support for |
|
|
2552 | applications hardcoding the xterm 256 colour table. |
|
|
2553 | |
|
|
2554 | This switch breaks termcap/terminfo compatibility to C<TERM=rxvt-unicode>, |
|
|
2555 | and consequently sets C<TERM> to C<rxvt-unicode-256color> by default |
|
|
2556 | (F<doc/etc/> contains termcap/terminfo definitions for both). |
|
|
2557 | |
|
|
2558 | It also results in higher memory usage and can slow down @@RXVT_NAME@@ |
|
|
2559 | dramatically when more than six fonts are in use by a terminal instance. |
2522 | |
2560 | |
2523 | =item --with-name=NAME (default: urxvt) |
2561 | =item --with-name=NAME (default: urxvt) |
2524 | |
2562 | |
2525 | Set the basename for the installed binaries, resulting |
2563 | Set the basename for the installed binaries, resulting |
2526 | in C<urxvt>, C<urxvtd> etc.). Specify C<--with-name=rxvt> to replace with |
2564 | in C<urxvt>, C<urxvtd> etc.). Specify C<--with-name=rxvt> to replace with |