… | |
… | |
72 | |
72 | |
73 | =head3 How can I start @@URXVT_NAME@@d in a race-free way? |
73 | =head3 How can I start @@URXVT_NAME@@d in a race-free way? |
74 | |
74 | |
75 | Try C<@@URXVT_NAME@@d -f -o>, which tells @@URXVT_NAME@@d to open the |
75 | Try C<@@URXVT_NAME@@d -f -o>, which tells @@URXVT_NAME@@d to open the |
76 | display, create the listening socket and then fork. |
76 | display, create the listening socket and then fork. |
|
|
77 | |
|
|
78 | =head3 How can I start @@URXVT_NAME@@d automatically when I run URXVT_NAME@@c? |
|
|
79 | |
|
|
80 | If you want to start @@URXVT_NAME@@d automatically whenever you run |
|
|
81 | @@URXVT_NAME@@c and the daemon isn't running yet, use this script: |
|
|
82 | |
|
|
83 | #!/bin/sh |
|
|
84 | @@URXVT_NAME@@c "$@" |
|
|
85 | if [ $? -eq 2 ]; then |
|
|
86 | @@URXVT_NAME@@d -q -o -f |
|
|
87 | @@URXVT_NAME@@c "$@" |
|
|
88 | fi |
|
|
89 | |
|
|
90 | This tries to create a new terminal, and if fails with exit status 2, |
|
|
91 | meaning it couldn't connect to the daemon, it will start the daemon and |
|
|
92 | re-run the command. Subsequent invocations of the script will re-use the |
|
|
93 | existing daemon. |
77 | |
94 | |
78 | =head3 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
95 | =head3 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. |
79 | |
96 | |
80 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
97 | The original rxvt and rxvt-unicode always export the variable "COLORTERM", |
81 | so you can check and see if that is set. Note that several programs, JED, |
98 | so you can check and see if that is set. Note that several programs, JED, |
… | |
… | |
125 | |
142 | |
126 | text data bss drs rss filename |
143 | text data bss drs rss filename |
127 | 98398 1664 24 15695 1824 rxvt --disable-everything |
144 | 98398 1664 24 15695 1824 rxvt --disable-everything |
128 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
145 | 188985 9048 66616 18222 1788 urxvt --disable-everything |
129 | |
146 | |
130 | When you C<--enable-everything> (which _is_ unfair, as this involves xft |
147 | When you C<--enable-everything> (which I<is> unfair, as this involves xft |
131 | and full locale/XIM support which are quite bloaty inside libX11 and my |
148 | and full locale/XIM support which are quite bloaty inside libX11 and my |
132 | libc), the two diverge, but not unreasnobaly so. |
149 | libc), the two diverge, but not unreasnobaly so. |
133 | |
150 | |
134 | text data bss drs rss filename |
151 | text data bss drs rss filename |
135 | 163431 2152 24 20123 2060 rxvt --enable-everything |
152 | 163431 2152 24 20123 2060 rxvt --enable-everything |
… | |
… | |
237 | |
254 | |
238 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
255 | Then click on a window you want to make transparent. Replace C<0xc0000000> |
239 | by other values to change the degree of opacity. If it doesn't work and |
256 | by other values to change the degree of opacity. If it doesn't work and |
240 | your server crashes, you got to keep the pieces. |
257 | your server crashes, you got to keep the pieces. |
241 | |
258 | |
242 | =head3 Why do some chinese characters look so different than others? |
|
|
243 | |
|
|
244 | This is because there is a difference between script and language -- |
|
|
245 | rxvt-unicode does not know which language the text that is output is, |
|
|
246 | as it only knows the unicode character codes. If rxvt-unicode first |
|
|
247 | sees a japanese/chinese character, it might choose a japanese font for |
|
|
248 | display. Subsequent japanese characters will use that font. Now, many |
|
|
249 | chinese characters aren't represented in japanese fonts, so when the first |
|
|
250 | non-japanese character comes up, rxvt-unicode will look for a chinese font |
|
|
251 | -- unfortunately at this point, it will still use the japanese font for |
|
|
252 | chinese characters that are also in the japanese font. |
|
|
253 | |
|
|
254 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
255 | list (see the previous question). The key is to view the font list as |
|
|
256 | a preference list: If you expect more japanese, list a japanese font |
|
|
257 | first. If you expect more chinese, put a chinese font first. |
|
|
258 | |
|
|
259 | In the future it might be possible to switch language preferences at |
|
|
260 | runtime (the internal data structure has no problem with using different |
|
|
261 | fonts for the same character at the same time, but no interface for this |
|
|
262 | has been designed yet). |
|
|
263 | |
|
|
264 | Until then, you might get away with switching fonts at runtime (see L<Can |
|
|
265 | I switch the fonts at runtime?> later in this document). |
|
|
266 | |
|
|
267 | =head3 Why does rxvt-unicode sometimes leave pixel droppings? |
259 | =head3 Why does rxvt-unicode sometimes leave pixel droppings? |
268 | |
260 | |
269 | Most fonts were not designed for terminal use, which means that character |
261 | Most fonts were not designed for terminal use, which means that character |
270 | size varies a lot. A font that is otherwise fine for terminal use might |
262 | size varies a lot. A font that is otherwise fine for terminal use might |
271 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
263 | contain some characters that are simply too wide. Rxvt-unicode will avoid |
… | |
… | |
388 | URxvt.color12: #0000FF |
380 | URxvt.color12: #0000FF |
389 | URxvt.color13: #FF00FF |
381 | URxvt.color13: #FF00FF |
390 | URxvt.color14: #00FFFF |
382 | URxvt.color14: #00FFFF |
391 | URxvt.color15: #FFFFFF |
383 | URxvt.color15: #FFFFFF |
392 | |
384 | |
393 | And here is a more complete set of non-standard colors described (not by |
385 | And here is a more complete set of non-standard colors. |
394 | me) as "pretty girly". |
|
|
395 | |
386 | |
396 | URxvt.cursorColor: #dc74d1 |
387 | URxvt.cursorColor: #dc74d1 |
397 | URxvt.pointerColor: #dc74d1 |
388 | URxvt.pointerColor: #dc74d1 |
398 | URxvt.background: #0e0e0e |
389 | URxvt.background: #0e0e0e |
399 | URxvt.foreground: #4ad5e1 |
390 | URxvt.foreground: #4ad5e1 |
… | |
… | |
410 | URxvt.color6: #73f7ff |
401 | URxvt.color6: #73f7ff |
411 | URxvt.color14: #73f7ff |
402 | URxvt.color14: #73f7ff |
412 | URxvt.color7: #e1dddd |
403 | URxvt.color7: #e1dddd |
413 | URxvt.color15: #e1dddd |
404 | URxvt.color15: #e1dddd |
414 | |
405 | |
|
|
406 | They have been described (not by me) as "pretty girly". |
|
|
407 | |
415 | =head3 Why do some characters look so much different than others? |
408 | =head3 Why do some characters look so much different than others? |
416 | |
409 | |
417 | See next entry. |
410 | See next entry. |
418 | |
411 | |
419 | =head3 How does rxvt-unicode choose fonts? |
412 | =head3 How does rxvt-unicode choose fonts? |
420 | |
413 | |
421 | Most fonts do not contain the full range of Unicode, which is |
414 | Most fonts do not contain the full range of Unicode, which is |
422 | fine. Chances are that the font you (or the admin/package maintainer of |
415 | fine. Chances are that the font you (or the admin/package maintainer of |
423 | your system/os) have specified does not cover all the characters you want |
416 | your system/os) have specified does not cover all the characters you want |
424 | to display. |
417 | to display. |
425 | |
418 | |
426 | B<rxvt-unicode> makes a best-effort try at finding a replacement |
419 | B<rxvt-unicode> makes a best-effort try at finding a replacement |
427 | font. Often the result is fine, but sometimes the chosen font looks |
420 | font. Often the result is fine, but sometimes the chosen font looks |
428 | bad/ugly/wrong. Some fonts have totally strange characters that don't |
421 | bad/ugly/wrong. Some fonts have totally strange characters that don't |
429 | resemble the correct glyph at all, and rxvt-unicode lacks the artificial |
422 | resemble the correct glyph at all, and rxvt-unicode lacks the artificial |
430 | intelligence to detect that a specific glyph is wrong: it has to believe |
423 | intelligence to detect that a specific glyph is wrong: it has to believe |
431 | the font that the characters it claims to contain indeed look correct. |
424 | the font that the characters it claims to contain indeed look correct. |
432 | |
425 | |
433 | In that case, select a font of your taste and add it to the font list, |
426 | In that case, select a font of your taste and add it to the font list, |
434 | e.g.: |
427 | e.g.: |
435 | |
428 | |
436 | @@URXVT_NAME@@ -fn basefont,font2,font3... |
429 | @@URXVT_NAME@@ -fn basefont,font2,font3... |
437 | |
430 | |
438 | When rxvt-unicode sees a character, it will first look at the base |
431 | When rxvt-unicode sees a character, it will first look at the base |
439 | font. If the base font does not contain the character, it will go to the |
432 | font. If the base font does not contain the character, it will go to the |
440 | next font, and so on. Specifying your own fonts will also speed up this |
433 | next font, and so on. Specifying your own fonts will also speed up this |
441 | search and use less resources within rxvt-unicode and the X-server. |
434 | search and use less resources within rxvt-unicode and the X-server. |
442 | |
435 | |
443 | The only limitation is that none of the fonts may be larger than the base |
436 | The only limitation is that none of the fonts may be larger than the base |
444 | font, as the base font defines the terminal character cell size, which |
437 | font, as the base font defines the terminal character cell size, which |
445 | must be the same due to the way terminals work. |
438 | must be the same due to the way terminals work. |
446 | |
439 | |
|
|
440 | =head3 Why do some chinese characters look so different than others? |
|
|
441 | |
|
|
442 | This is because there is a difference between script and language -- |
|
|
443 | rxvt-unicode does not know which language the text that is output is, |
|
|
444 | as it only knows the unicode character codes. If rxvt-unicode first |
|
|
445 | sees a japanese/chinese character, it might choose a japanese font for |
|
|
446 | display. Subsequent japanese characters will use that font. Now, many |
|
|
447 | chinese characters aren't represented in japanese fonts, so when the first |
|
|
448 | non-japanese character comes up, rxvt-unicode will look for a chinese font |
|
|
449 | -- unfortunately at this point, it will still use the japanese font for |
|
|
450 | chinese characters that are also in the japanese font. |
|
|
451 | |
|
|
452 | The workaround is easy: just tag a chinese font at the end of your font |
|
|
453 | list (see the previous question). The key is to view the font list as |
|
|
454 | a preference list: If you expect more japanese, list a japanese font |
|
|
455 | first. If you expect more chinese, put a chinese font first. |
|
|
456 | |
|
|
457 | In the future it might be possible to switch language preferences at |
|
|
458 | runtime (the internal data structure has no problem with using different |
|
|
459 | fonts for the same character at the same time, but no interface for this |
|
|
460 | has been designed yet). |
|
|
461 | |
|
|
462 | Until then, you might get away with switching fonts at runtime (see L<Can |
|
|
463 | I switch the fonts at runtime?> later in this document). |
447 | |
464 | |
448 | =head2 Keyboard, Mouse & User Interaction |
465 | =head2 Keyboard, Mouse & User Interaction |
449 | |
466 | |
450 | =head3 The new selection selects pieces that are too big, how can I select single words? |
467 | =head3 The new selection selects pieces that are too big, how can I select single words? |
451 | |
468 | |
… | |
… | |
641 | |
658 | |
642 | |
659 | |
643 | |
660 | |
644 | =head2 Terminal Configuration |
661 | =head2 Terminal Configuration |
645 | |
662 | |
|
|
663 | =head3 Can I see a typical configuration? |
|
|
664 | |
|
|
665 | The default configuration tries to be xterm-like, which I don't like that |
|
|
666 | much, but it's least surprise to regular users. |
|
|
667 | |
|
|
668 | As a rxvt or rxvt-unicode user, you are practically supposed to invest |
|
|
669 | time into customising your terminal. To get you started, here is the |
|
|
670 | author's .Xdefaults entries, with comments on what they do: |
|
|
671 | |
|
|
672 | URxvt.cutchars: "()*,<>[]{}|' |
|
|
673 | URxvt.print-pipe: cat >/tmp/xxx |
|
|
674 | |
|
|
675 | These are just for testing stuff. |
|
|
676 | |
|
|
677 | URxvt.imLocale: ja_JP.UTF-8 |
|
|
678 | URxvt.preeditType: OnTheSpot,None |
|
|
679 | |
|
|
680 | This tells rxvt-unicode to use a special locale when communicating with |
|
|
681 | the X Input Method, and also tells it to only use the OnTheSpot pre-edit |
|
|
682 | type, which requires the C<xim-onthespot> perl extension but rewards me |
|
|
683 | with correct-looking fonts. |
|
|
684 | |
|
|
685 | URxvt.perl-lib: /root/lib/urxvt |
|
|
686 | URxvt.perl-ext-common: default,selection-autotransform,selection-pastebin,xim-onthespot,remote-clipboard |
|
|
687 | URxvt.selection.pattern-0: ( at .*? line \\d+) |
|
|
688 | URxvt.selection.pattern-1: ^(/[^:]+):\ |
|
|
689 | URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/:e \\Q$1\\E\\x0d:$2\\x0d/ |
|
|
690 | URxvt.selection-autotransform.1: s/^ at (.*?) line (\\d+)$/:e \\Q$1\\E\\x0d:$2\\x0d/ |
|
|
691 | |
|
|
692 | This is my perl configuration. The first two set the perl library |
|
|
693 | directory and also tells urxvt to use a large number of extensions. I |
|
|
694 | develop for myself mostly, so I actually use most of the extensions I |
|
|
695 | write. |
|
|
696 | |
|
|
697 | The selection stuff mainly makes the selection perl-error-message aware |
|
|
698 | and tells it to convert pelr error mssages into vi-commands to load the |
|
|
699 | relevant file and go tot he error line number. |
|
|
700 | |
|
|
701 | URxvt.scrollstyle: plain |
|
|
702 | URxvt.secondaryScroll: true |
|
|
703 | |
|
|
704 | As the documentation says: plain is the preferred scrollbar for the |
|
|
705 | author. The C<secondaryScroll> confgiures urxvt to scroll in full-screen |
|
|
706 | apps, like screen, so lines scorlled out of screen end up in urxvt's |
|
|
707 | scrollback buffer. |
|
|
708 | |
|
|
709 | URxvt.background: #000000 |
|
|
710 | URxvt.foreground: gray90 |
|
|
711 | URxvt.color7: gray90 |
|
|
712 | URxvt.colorBD: #ffffff |
|
|
713 | URxvt.cursorColor: #e0e080 |
|
|
714 | URxvt.throughColor: #8080f0 |
|
|
715 | URxvt.highlightColor: #f0f0f0 |
|
|
716 | |
|
|
717 | Some colours. Not sure which ones are being used or even non-defaults, but |
|
|
718 | these are in my .Xdefaults. Most notably, they set foreground/background |
|
|
719 | to light gray/black, and also make sure that the colour 7 matches the |
|
|
720 | default foreground colour. |
|
|
721 | |
|
|
722 | URxvt.underlineColor: yellow |
|
|
723 | |
|
|
724 | Another colour, makes underline lines look different. Sometimes hurts, but |
|
|
725 | is mostly a nice effect. |
|
|
726 | |
|
|
727 | URxvt.geometry: 154x36 |
|
|
728 | URxvt.loginShell: false |
|
|
729 | URxvt.meta: ignore |
|
|
730 | URxvt.utmpInhibit: true |
|
|
731 | |
|
|
732 | Uh, well, should be mostly self-explanatory. By specifying some defaults |
|
|
733 | manually, I can quickly switch them for testing. |
|
|
734 | |
|
|
735 | URxvt.saveLines: 8192 |
|
|
736 | |
|
|
737 | A large scrollback buffer is essential. Really. |
|
|
738 | |
|
|
739 | URxvt.mapAlert: true |
|
|
740 | |
|
|
741 | The only case I use it is for my IRC window, which I like to keep |
|
|
742 | iconified till people msg me (which beeps). |
|
|
743 | |
|
|
744 | URxvt.visualBell: true |
|
|
745 | |
|
|
746 | The audible bell is often annoying, especially when in a crowd. |
|
|
747 | |
|
|
748 | URxvt.insecure: true |
|
|
749 | |
|
|
750 | Please don't hack my mutt! Ooops... |
|
|
751 | |
|
|
752 | URxvt.pastableTabs: false |
|
|
753 | |
|
|
754 | I once thought this is a great idea. |
|
|
755 | |
|
|
756 | urxvt.font: 9x15bold,\ |
|
|
757 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
|
|
758 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
|
|
759 | [codeset=JISX0208]xft:Kochi Gothic, \ |
|
|
760 | xft:Bitstream Vera Sans Mono:autohint=true, \ |
|
|
761 | xft:Code2000:antialias=false |
|
|
762 | urxvt.boldFont: -xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso8859-15 |
|
|
763 | urxvt.italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true |
|
|
764 | urxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true |
|
|
765 | |
|
|
766 | I wrote rxvt-unicode to be able to specify fonts exactly. So don't be |
|
|
767 | overwhelmed. A special note: the C<9x15bold> mentioend above is actually |
|
|
768 | the version from XFree-3.3, as XFree-4 replaced it by a totally different |
|
|
769 | font (different glyphs for C<;> and many other harmless characters), |
|
|
770 | while the second font is actually the C<9x15bold> from XFree4/XOrg. The |
|
|
771 | bold version has less chars than the medium version, so I use it for rare |
|
|
772 | characters, too. Whene ditign sources with vim, I use italic for comments |
|
|
773 | and other stuff, which looks quite good with Bitstream Vera anti-aliased. |
|
|
774 | |
|
|
775 | Terminus is a quite bad font (many very wrong glyphs), but for most of my |
|
|
776 | purposes, it works, and gives a different look, as my normal (Non-bold) |
|
|
777 | font is already bold, and I want to see a difference between bold and |
|
|
778 | normal fonts. |
|
|
779 | |
|
|
780 | Please note that I used the C<urxvt> instance name and not the C<URxvt> |
|
|
781 | class name. Thats because I use different configs for different purposes, |
|
|
782 | for example, my IRC window is started with C<-name IRC>, and uses these |
|
|
783 | defaults: |
|
|
784 | |
|
|
785 | IRC*title: IRC |
|
|
786 | IRC*geometry: 87x12+535+542 |
|
|
787 | IRC*saveLines: 0 |
|
|
788 | IRC*mapAlert: true |
|
|
789 | IRC*font: suxuseuro |
|
|
790 | IRC*boldFont: suxuseuro |
|
|
791 | IRC*colorBD: white |
|
|
792 | IRC*keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007 |
|
|
793 | IRC*keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007 |
|
|
794 | |
|
|
795 | C<Alt-Shift-1> and C<Alt-Shift-2> switch between two different font |
|
|
796 | sizes. C<suxuseuro> allows me to keep an eye (and actually read) |
|
|
797 | stuff while keeping a very small window. If somebody pastes something |
|
|
798 | complicated (e.g. japanese), I temporarily switch to a larger font. |
|
|
799 | |
|
|
800 | The above is all in my C<.Xdefaults> (I don't use C<.Xresources> nor |
|
|
801 | C<xrdb>). I also have some resources in a separate C<.Xdefaults-hostname> |
|
|
802 | file for different hosts, for example, on ym main desktop, I use: |
|
|
803 | |
|
|
804 | URxvt.keysym.C-M-q: command:\033[3;5;5t |
|
|
805 | URxvt.keysym.C-M-y: command:\033[3;5;606t |
|
|
806 | URxvt.keysym.C-M-e: command:\033[3;1605;5t |
|
|
807 | URxvt.keysym.C-M-c: command:\033[3;1605;606t |
|
|
808 | URxvt.keysym.C-M-p: perl:test |
|
|
809 | |
|
|
810 | The first for keysym definitions allow me to quickly bring some windows |
|
|
811 | in the layout I like most. Ion users might start laughing but will stop |
|
|
812 | immediately when I tell them that I use my own Fvwm2 module for much the |
|
|
813 | same effect as Ion provides, and I only very rarely use the above key |
|
|
814 | combinations :-> |
|
|
815 | |
646 | =head3 Why doesn't rxvt-unicode read my resources? |
816 | =head3 Why doesn't rxvt-unicode read my resources? |
647 | |
817 | |
648 | Well, why, indeed? It does, in a way very similar to other X |
818 | Well, why, indeed? It does, in a way very similar to other X |
649 | applications. Most importantly, this means that if you or your OS loads |
819 | applications. Most importantly, this means that if you or your OS loads |
650 | resources into the X display (the right way to do it), rxvt-unicode will |
820 | resources into the X display (the right way to do it), rxvt-unicode will |
… | |
… | |
866 | |
1036 | |
867 | You can also use xterm's C<luit> program, which usually works fine, except |
1037 | You can also use xterm's C<luit> program, which usually works fine, except |
868 | for some locales where character width differs between program- and |
1038 | for some locales where character width differs between program- and |
869 | rxvt-unicode-locales. |
1039 | rxvt-unicode-locales. |
870 | |
1040 | |
|
|
1041 | =head3 I have problems getting my input method working. |
|
|
1042 | |
|
|
1043 | Try a search engine, as this is slightly different for every input method server. |
|
|
1044 | |
|
|
1045 | Here is a checklist: |
|
|
1046 | |
|
|
1047 | =over 4 |
|
|
1048 | |
|
|
1049 | =item - Make sure your locale I<and> the imLocale are supported on your OS. |
|
|
1050 | |
|
|
1051 | Try C<locale -a> or check the documentation for your OS. |
|
|
1052 | |
|
|
1053 | =item - Make sure your locale or imLocale matches a locale supported by your XIM. |
|
|
1054 | |
|
|
1055 | For example, B<kinput2> does not support UTF-8 locales, you should use |
|
|
1056 | C<ja_JP.EUC-JP> or equivalent. |
|
|
1057 | |
|
|
1058 | =item - Make sure your XIM server is actually running. |
|
|
1059 | |
|
|
1060 | =item - Make sure the C<XMODIFIERS> environment variable is set correctly when I<starting> rxvt-unicode. |
|
|
1061 | |
|
|
1062 | When you want to use e.g. B<kinput2>, it must be set to |
|
|
1063 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. Youc an see what input |
|
|
1064 | method servers are running with this command: |
|
|
1065 | |
|
|
1066 | xprop -root XIM_SERVERS |
|
|
1067 | |
|
|
1068 | =item |
|
|
1069 | |
|
|
1070 | =back |
|
|
1071 | |
871 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
1072 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
872 | |
1073 | |
873 | You can specify separate locales for the input method and the rest of the |
1074 | You can specify separate locales for the input method and the rest of the |
874 | terminal, using the resource C<imlocale>: |
1075 | terminal, using the resource C<imlocale>: |
875 | |
1076 | |
876 | URxvt.imlocale: ja_JP.EUC-JP |
1077 | URxvt.imlocale: ja_JP.EUC-JP |
877 | |
1078 | |
878 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
1079 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
879 | use your input method. Please note, however, that you will not be able to |
1080 | use your input method. Please note, however, that, depending on your Xlib |
880 | input characters outside C<EUC-JP> in a normal way then, as your input |
1081 | version, you may not be able to input characters outside C<EUC-JP> in a |
881 | method limits you. |
1082 | normal way then, as your input method limits you. |
882 | |
1083 | |
883 | =head3 Rxvt-unicode crashes when the X Input Method changes or exits. |
1084 | =head3 Rxvt-unicode crashes when the X Input Method changes or exits. |
884 | |
1085 | |
885 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
1086 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
886 | design. Applications can avoid some crashes at the expense of memory |
1087 | design. Applications can avoid some crashes at the expense of memory |
… | |
… | |
1005 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1206 | encodings (you might try C<LC_CTYPE=C-UTF-8>), so you are likely limited |
1006 | to 8-bit encodings. |
1207 | to 8-bit encodings. |
1007 | |
1208 | |
1008 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1209 | =head1 RXVT-UNICODE TECHNICAL REFERENCE |
1009 | |
1210 | |
1010 | =head1 DESCRIPTION |
|
|
1011 | |
|
|
1012 | The rest of this document describes various technical aspects of |
1211 | The rest of this document describes various technical aspects of |
1013 | B<rxvt-unicode>. First the description of supported command sequences, |
1212 | B<rxvt-unicode>. First the description of supported command sequences, |
1014 | followed by pixmap support and last by a description of all features |
1213 | followed by pixmap support and last by a description of all features |
1015 | selectable at C<configure> time. |
1214 | selectable at C<configure> time. |
1016 | |
1215 | |
1017 | =head1 Definitions |
1216 | =head2 Definitions |
1018 | |
1217 | |
1019 | =over 4 |
1218 | =over 4 |
1020 | |
1219 | |
1021 | =item B<< C<c> >> |
1220 | =item B<< C<c> >> |
1022 | |
1221 | |
… | |
… | |
1040 | |
1239 | |
1041 | A text parameter composed of printable characters. |
1240 | A text parameter composed of printable characters. |
1042 | |
1241 | |
1043 | =back |
1242 | =back |
1044 | |
1243 | |
1045 | =head1 Values |
1244 | =head2 Values |
1046 | |
1245 | |
1047 | =over 4 |
1246 | =over 4 |
1048 | |
1247 | |
1049 | =item B<< C<ENQ> >> |
1248 | =item B<< C<ENQ> >> |
1050 | |
1249 | |
… | |
… | |
1093 | |
1292 | |
1094 | Space Character |
1293 | Space Character |
1095 | |
1294 | |
1096 | =back |
1295 | =back |
1097 | |
1296 | |
1098 | =head1 Escape Sequences |
1297 | =head2 Escape Sequences |
1099 | |
1298 | |
1100 | =over 4 |
1299 | =over 4 |
1101 | |
1300 | |
1102 | =item B<< C<ESC # 8> >> |
1301 | =item B<< C<ESC # 8> >> |
1103 | |
1302 | |
… | |
… | |
1201 | |
1400 | |
1202 | =back |
1401 | =back |
1203 | |
1402 | |
1204 | X<CSI> |
1403 | X<CSI> |
1205 | |
1404 | |
1206 | =head1 CSI (Command Sequence Introducer) Sequences |
1405 | =head2 CSI (Command Sequence Introducer) Sequences |
1207 | |
1406 | |
1208 | =over 4 |
1407 | =over 4 |
1209 | |
1408 | |
1210 | =item B<< C<ESC [ Ps @> >> |
1409 | =item B<< C<ESC [ Ps @> >> |
1211 | |
1410 | |
… | |
… | |
1481 | |
1680 | |
1482 | =back |
1681 | =back |
1483 | |
1682 | |
1484 | X<PrivateModes> |
1683 | X<PrivateModes> |
1485 | |
1684 | |
1486 | =head1 DEC Private Modes |
1685 | =head2 DEC Private Modes |
1487 | |
1686 | |
1488 | =over 4 |
1687 | =over 4 |
1489 | |
1688 | |
1490 | =item B<< C<ESC [ ? Pm h> >> |
1689 | =item B<< C<ESC [ ? Pm h> >> |
1491 | |
1690 | |
… | |
… | |
1755 | |
1954 | |
1756 | =back |
1955 | =back |
1757 | |
1956 | |
1758 | X<XTerm> |
1957 | X<XTerm> |
1759 | |
1958 | |
1760 | =head1 XTerm Operating System Commands |
1959 | =head2 XTerm Operating System Commands |
1761 | |
1960 | |
1762 | =over 4 |
1961 | =over 4 |
1763 | |
1962 | |
1764 | =item B<< C<ESC ] Ps;Pt ST> >> |
1963 | =item B<< C<ESC ] Ps;Pt ST> >> |
1765 | |
1964 | |
… | |
… | |
1802 | B<< C<Ps = 777> >> Call the perl extension with the given string, which should be of the form C<extension:parameters> (Compile perl). |
2001 | B<< C<Ps = 777> >> Call the perl extension with the given string, which should be of the form C<extension:parameters> (Compile perl). |
1803 | |
2002 | |
1804 | =end table |
2003 | =end table |
1805 | |
2004 | |
1806 | =back |
2005 | =back |
1807 | |
|
|
1808 | X<XPM> |
|
|
1809 | |
2006 | |
1810 | =head1 XPM |
2007 | =head1 XPM |
1811 | |
2008 | |
1812 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2009 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
1813 | of B<< C<Pt> >> can be the name of the background pixmap followed by a |
2010 | of B<< C<Pt> >> can be the name of the background pixmap followed by a |
… | |
… | |
2249 | Remove support for mouse selection style like that of xterm. |
2446 | Remove support for mouse selection style like that of xterm. |
2250 | |
2447 | |
2251 | =item --enable-dmalloc (default: off) |
2448 | =item --enable-dmalloc (default: off) |
2252 | |
2449 | |
2253 | Use Gray Watson's malloc - which is good for debugging See |
2450 | Use Gray Watson's malloc - which is good for debugging See |
2254 | http://www.letters.com/dmalloc/ for details If you use either this or the |
2451 | L<http://www.letters.com/dmalloc/> for details If you use either this or the |
2255 | next option, you may need to edit src/Makefile after compiling to point |
2452 | next option, you may need to edit src/Makefile after compiling to point |
2256 | DINCLUDE and DLIB to the right places. |
2453 | DINCLUDE and DLIB to the right places. |
2257 | |
2454 | |
2258 | You can only use either this option and the following (should |
2455 | You can only use either this option and the following (should |
2259 | you use either) . |
2456 | you use either) . |