… | |
… | |
197 | |
197 | |
198 | And here is rxvt-unicode: |
198 | And here is rxvt-unicode: |
199 | |
199 | |
200 | libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000) |
200 | libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000) |
201 | libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaada2000) |
201 | libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaada2000) |
202 | libc.so.6 => /lib/libc.so.6 (0x00002aaaaaeb0000) |
202 | libc.so.6 => /lib/libc.so.6 (0x00002aaaaaeb0000) |
203 | libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab0ee000) |
203 | libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab0ee000) |
204 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
204 | /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) |
205 | |
205 | |
206 | No large bloated libraries (of course, none were linked in statically), |
206 | No large bloated libraries (of course, none were linked in statically), |
207 | except maybe libX11 :) |
207 | except maybe libX11 :) |
208 | |
208 | |
209 | |
209 | |
210 | =head2 Rendering, Font & Look and Feel Issues |
210 | =head2 Rendering, Font & Look and Feel Issues |
211 | |
211 | |
212 | =head3 I can't get transparency working, what am I doing wrong? |
212 | =head3 I can't get transparency working, what am I doing wrong? |
213 | |
213 | |
214 | First of all, transparency isn't officially supported in rxvt-unicode, so |
214 | First of all, please address all transparency related issues to Sasha Vasko at |
215 | you are mostly on your own. Do not bug the author about it (but you may |
215 | sasha@aftercode.net and do not bug the author about it. Also, if you can't |
216 | bug everybody else). Also, if you can't get it working consider it a rite |
216 | get it working consider it a rite of passage: ... and you failed. |
217 | of passage: ... and you failed. |
|
|
218 | |
217 | |
219 | Here are four ways to get transparency. B<Do> read the manpage and option |
218 | Here are four ways to get transparency. B<Do> read the manpage and option |
220 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
219 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
221 | |
220 | |
222 | 1. Use inheritPixmap: |
221 | 1. Use transparent mode: |
223 | |
222 | |
224 | Esetroot wallpaper.jpg |
223 | Esetroot wallpaper.jpg |
225 | @@URXVT_NAME@@ -ip -tint red -sh 40 |
224 | @@URXVT_NAME@@ -tr -tint red -sh 40 |
226 | |
225 | |
227 | That works. If you think it doesn't, you lack transparency and tinting |
226 | That works. If you think it doesn't, you lack transparency and tinting |
228 | support, or you are unable to read. |
227 | support, or you are unable to read. |
229 | |
228 | |
230 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
229 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
231 | to use effects other than tinting and shading: Just shade/tint/whatever |
230 | to use effects other than tinting and shading: Just shade/tint/whatever |
232 | your picture with gimp or any other tool: |
231 | your picture with gimp or any other tool: |
233 | |
232 | |
234 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
233 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg |
235 | @@URXVT_NAME@@ -pixmap background.xpm -pe automove-background |
234 | @@URXVT_NAME@@ -pixmap "background.jpg;:root" |
236 | |
235 | |
237 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
236 | That works. If you think it doesn't, you lack AfterImage support, or you |
238 | are unable to read. |
237 | are unable to read. |
239 | |
238 | |
240 | 3. Use an ARGB visual: |
239 | 3. Use an ARGB visual: |
241 | |
240 | |
242 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
241 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
… | |
… | |
343 | |
342 | |
344 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
343 | If no bold colour is set via C<colorBD:>, bold will invert text using the |
345 | standard foreground colour. |
344 | standard foreground colour. |
346 | |
345 | |
347 | For the standard background colour, blinking will actually make the |
346 | For the standard background colour, blinking will actually make the |
348 | text blink when compiled with C<--enable-blinking>. with standard |
347 | text blink when compiled with C<--enable-text-blink>. with standard |
349 | colours. Without C<--enable-blinking>, the blink attribute will be |
348 | colours. Without C<--enable-text-blink>, the blink attribute will be |
350 | ignored. |
349 | ignored. |
351 | |
350 | |
352 | On ANSI colours, bold/blink attributes are used to set high-intensity |
351 | On ANSI colours, bold/blink attributes are used to set high-intensity |
353 | foreground/background colors. |
352 | foreground/background colors. |
354 | |
353 | |
… | |
… | |
460 | has been designed yet). |
459 | has been designed yet). |
461 | |
460 | |
462 | Until then, you might get away with switching fonts at runtime (see L<Can |
461 | 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). |
462 | I switch the fonts at runtime?> later in this document). |
464 | |
463 | |
|
|
464 | =head3 How can I make mplayer display video correctly? |
|
|
465 | |
|
|
466 | We are working on it, in the meantime, as a workaround, use something like: |
|
|
467 | |
|
|
468 | @@URXVT_NAME@@ -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' |
|
|
469 | |
|
|
470 | |
465 | =head2 Keyboard, Mouse & User Interaction |
471 | =head2 Keyboard, Mouse & User Interaction |
466 | |
472 | |
467 | =head3 The new selection selects pieces that are too big, how can I select single words? |
473 | =head3 The new selection selects pieces that are too big, how can I select single words? |
468 | |
474 | |
469 | If you want to select e.g. alphanumeric words, you can use the following |
475 | If you want to select e.g. alphanumeric words, you can use the following |
… | |
… | |
604 | key has been assigned an escape sequence to match the vt100 for Execute |
610 | key has been assigned an escape sequence to match the vt100 for Execute |
605 | (C<ESC [ 3 ~>) and is in the supplied termcap/terminfo. |
611 | (C<ESC [ 3 ~>) and is in the supplied termcap/terminfo. |
606 | |
612 | |
607 | Some other Backspace problems: |
613 | Some other Backspace problems: |
608 | |
614 | |
609 | some editors use termcap/terminfo, |
615 | some editors use termcap/terminfo, |
610 | some editors (vim I'm told) expect Backspace = ^H, |
616 | some editors (vim I'm told) expect Backspace = ^H, |
611 | GNU Emacs (and Emacs-like editors) use ^H for help. |
617 | GNU Emacs (and Emacs-like editors) use ^H for help. |
612 | |
618 | |
613 | Perhaps someday this will all be resolved in a consistent manner. |
619 | Perhaps someday this will all be resolved in a consistent manner. |
614 | |
620 | |
… | |
… | |
655 | Rather than have rxvt-unicode try to accommodate all the various possible |
661 | Rather than have rxvt-unicode try to accommodate all the various possible |
656 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
662 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
657 | required for your particular machine. |
663 | required for your particular machine. |
658 | |
664 | |
659 | |
665 | |
660 | |
|
|
661 | =head2 Terminal Configuration |
666 | =head2 Terminal Configuration |
662 | |
667 | |
663 | =head3 Can I see a typical configuration? |
668 | =head3 Can I see a typical configuration? |
664 | |
669 | |
665 | The default configuration tries to be xterm-like, which I don't like that |
670 | The default configuration tries to be xterm-like, which I don't like that |
… | |
… | |
1068 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. You can see what input |
1073 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. You can see what input |
1069 | method servers are running with this command: |
1074 | method servers are running with this command: |
1070 | |
1075 | |
1071 | xprop -root XIM_SERVERS |
1076 | xprop -root XIM_SERVERS |
1072 | |
1077 | |
1073 | =item |
1078 | =item |
1074 | |
1079 | |
1075 | =back |
1080 | =back |
1076 | |
1081 | |
1077 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
1082 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
1078 | |
1083 | |
… | |
… | |
1899 | B<< C<h> >> Use Hilite Mouse Tracking. |
1904 | B<< C<h> >> Use Hilite Mouse Tracking. |
1900 | B<< C<l> >> No mouse reporting. |
1905 | B<< C<l> >> No mouse reporting. |
1901 | |
1906 | |
1902 | =end table |
1907 | =end table |
1903 | |
1908 | |
|
|
1909 | =item B<< C<Pm = 1002> >> (X11 XTerm) |
|
|
1910 | |
|
|
1911 | =begin table |
|
|
1912 | |
|
|
1913 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion with a button pressed. |
|
|
1914 | B<< C<l> >> No mouse reporting. |
|
|
1915 | |
|
|
1916 | =end table |
|
|
1917 | |
|
|
1918 | =item B<< C<Pm = 1003> >> (X11 XTerm) |
|
|
1919 | |
|
|
1920 | =begin table |
|
|
1921 | |
|
|
1922 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion. |
|
|
1923 | B<< C<l> >> No mouse reporting. |
|
|
1924 | |
|
|
1925 | =end table |
|
|
1926 | |
1904 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1927 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1905 | |
1928 | |
1906 | =begin table |
1929 | =begin table |
1907 | |
1930 | |
1908 | B<< C<h> >> Don't scroll to bottom on TTY output |
1931 | B<< C<h> >> Don't scroll to bottom on TTY output |
… | |
… | |
1983 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
2006 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1984 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
2007 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1985 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
2008 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1986 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
2009 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1987 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
2010 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1988 | B<< C<Ps = 20> >> Change background pixmap parameters (see section XPM) (Compile XPM). |
2011 | B<< C<Ps = 20> >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage). |
1989 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
2012 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1990 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
2013 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1991 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
2014 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1992 | 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> >> |
2015 | 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> >> |
1993 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
2016 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
… | |
… | |
2007 | |
2030 | |
2008 | =end table |
2031 | =end table |
2009 | |
2032 | |
2010 | =back |
2033 | =back |
2011 | |
2034 | |
2012 | =head1 XPM |
2035 | =head1 BACKGROUND IMAGE |
2013 | |
2036 | |
2014 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2037 | For the BACGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2015 | of B<< C<Pt> >> can be the name of the background pixmap followed by a |
2038 | of B<< C<Pt> >> can be the name of the background image file followed by a |
2016 | sequence of scaling/positioning commands separated by semi-colons. The |
2039 | sequence of scaling/positioning commands separated by semi-colons. The |
2017 | scaling/positioning commands are as follows: |
2040 | scaling/positioning commands are as follows: |
2018 | |
2041 | |
2019 | =over 4 |
2042 | =over 4 |
2020 | |
2043 | |
… | |
… | |
2058 | |
2081 | |
2059 | For example: |
2082 | For example: |
2060 | |
2083 | |
2061 | =over 4 |
2084 | =over 4 |
2062 | |
2085 | |
2063 | =item B<\E]20;funky\a> |
2086 | =item B<\E]20;funky.jpg\a> |
2064 | |
2087 | |
2065 | load B<funky.xpm> as a tiled image |
2088 | load B<funky.jpg> as a tiled image |
2066 | |
2089 | |
2067 | =item B<\E]20;mona;100\a> |
2090 | =item B<\E]20;mona.jpg;100\a> |
2068 | |
2091 | |
2069 | load B<mona.xpm> with a scaling of 100% |
2092 | load B<mona.jpg> with a scaling of 100% |
2070 | |
2093 | |
2071 | =item B<\E]20;;200;?\a> |
2094 | =item B<\E]20;;200;?\a> |
2072 | |
2095 | |
2073 | rescale the current pixmap to 200% and display the image geometry in |
2096 | rescale the current pixmap to 200% and display the image geometry in |
2074 | the title |
2097 | the title |
… | |
… | |
2201 | |
2224 | |
2202 | =head1 CONFIGURE OPTIONS |
2225 | =head1 CONFIGURE OPTIONS |
2203 | |
2226 | |
2204 | General hint: if you get compile errors, then likely your configuration |
2227 | General hint: if you get compile errors, then likely your configuration |
2205 | hasn't been tested well. Either try with C<--enable-everything> or use |
2228 | hasn't been tested well. Either try with C<--enable-everything> or use |
2206 | the default configuration (i.e. C<--enable-xxx> or C<--disable-xxx>). Of |
2229 | the default configuration (i.e. no C<--enable-xxx> or C<--disable-xxx> |
2207 | course, you should always report when a combination doesn't work, so it |
2230 | switches). Of course, you should always report when a combination doesn't |
2208 | can be fixed. Marc Lehmann <rxvt@schmorp.de>. |
2231 | work, so it can be fixed. Marc Lehmann <rxvt@schmorp.de>. |
2209 | |
2232 | |
2210 | All |
2233 | All |
2211 | |
2234 | |
2212 | =over 4 |
2235 | =over 4 |
2213 | |
2236 | |
… | |
… | |
2342 | to third-party libraries used by libAI). Memory footprint may somewhat be |
2365 | to third-party libraries used by libAI). Memory footprint may somewhat be |
2343 | lowered if libAfterImage is configured without support for SVG. |
2366 | lowered if libAfterImage is configured without support for SVG. |
2344 | |
2367 | |
2345 | =item --enable-transparency (default: on) |
2368 | =item --enable-transparency (default: on) |
2346 | |
2369 | |
2347 | Add support for inheriting parent backgrounds thus giving a fake |
2370 | Add support for backgrounds, creating illusion of transparency in the term. |
2348 | transparency to the term. |
|
|
2349 | |
2371 | |
2350 | =item --enable-fading (default: on) |
2372 | =item --enable-fading (default: on) |
2351 | |
2373 | |
2352 | Add support for fading the text when focus is lost. |
2374 | Add support for fading the text when focus is lost. |
2353 | |
|
|
2354 | =item --enable-tinting (default: on) |
|
|
2355 | |
|
|
2356 | Add support for tinting of transparent backgrounds (requires C<--enable-transparency>). |
|
|
2357 | |
2375 | |
2358 | =item --enable-rxvt-scroll (default: on) |
2376 | =item --enable-rxvt-scroll (default: on) |
2359 | |
2377 | |
2360 | Add support for the original rxvt scrollbar. |
2378 | Add support for the original rxvt scrollbar. |
2361 | |
2379 | |