--- rxvt-unicode/README.FAQ 2006/11/02 17:37:47 1.44 +++ rxvt-unicode/README.FAQ 2007/10/27 12:09:02 1.50 @@ -44,7 +44,7 @@ Try "urxvtd -f -o", which tells urxvtd to open the display, create the listening socket and then fork. - How can I start urxvtd automatically when I run URXVT_NAME@@c? + How can I start urxvtd automatically when I run urxvtc? If you want to start urxvtd automatically whenever you run urxvtc and the daemon isn't running yet, use this script: @@ -92,8 +92,8 @@ How do I compile the manual pages on my own? You need to have a recent version of perl installed as /usr/bin/perl, - one that comes with pod2man, pod2text and pod2html. Then go to the doc - subdirectory and enter "make alldoc". + one that comes with pod2man, pod2text and pod2xhtml (from Pod::Xhtml). + Then go to the doc subdirectory and enter "make alldoc". Isn't rxvt-unicode supposed to be small? Don't all those features bloat? I often get asked about this, and I think, no, they didn't cause extra @@ -171,10 +171,10 @@ Rendering, Font & Look and Feel Issues I can't get transparency working, what am I doing wrong? - First of all, transparency isn't officially supported in rxvt-unicode, - so you are mostly on your own. Do not bug the author about it (but you - may bug everybody else). Also, if you can't get it working consider it a - rite of passage: ... and you failed. + First of all, please address all transparency related issues to Sasha + Vasko at sasha@aftercode.net and do not bug the author about it. Also, + if you can't get it working consider it a rite of passage: ... and you + failed. Here are four ways to get transparency. Do read the manpage and option descriptions for the programs mentioned and rxvt-unicode. Really, do it! @@ -191,11 +191,11 @@ to use effects other than tinting and shading: Just shade/tint/whatever your picture with gimp or any other tool: - convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm - urxvt -pixmap background.xpm -pe automove-background + convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg + urxvt -pixmap background.jpg -pe automove-background - That works. If you think it doesn't, you lack XPM and Perl support, or - you are unable to read. + That works. If you think it doesn't, you lack AfterImage and Perl + support, or you are unable to read. 3. Use an ARGB visual: @@ -411,6 +411,12 @@ Until then, you might get away with switching fonts at runtime (see "Can I switch the fonts at runtime?" later in this document). + How can I make mplayer display video correctly? + We are working on it, in the meantime, as a workaround, use something + like: + + urxvt -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' + Keyboard, Mouse & User Interaction The new selection selects pieces that are too big, how can I select single words? If you want to select e.g. alphanumeric words, you can use the following @@ -503,7 +509,7 @@ two standard values that can be used for Backspace: "^H" and "^?". Historically, either value is correct, but rxvt-unicode adopts the - debian policy of using "^?" when unsure, because it's the one only only + debian policy of using "^?" when unsure, because it's the one and only correct choice :). Rxvt-unicode tries to inherit the current stty settings and uses the @@ -882,16 +888,16 @@ is subtly garbled, then you should check your locale settings. Rxvt-unicode must be started with the same "LC_CTYPE" setting as the - programs. Often rxvt-unicode is started in the "C" locale, while the - login script running within the rxvt-unicode window changes the locale - to something else, e.g. "en_GB.UTF-8". Needless to say, this is not - going to work. + programs running in it. Often rxvt-unicode is started in the "C" locale, + while the login script running within the rxvt-unicode window changes + the locale to something else, e.g. "en_GB.UTF-8". Needless to say, this + is not going to work, and is the most common cause for problems. The best thing is to fix your startup environment, as you will likely run into other problems. If nothing works you can try this in your .profile. - printf '\33]701;%s\007' "$LC_CTYPE" + printf '\33]701;%s\007' "$LC_CTYPE" # $LANG or $LC_ALL are worth a try, too If this doesn't work, then maybe you use a "LC_CTYPE" specification not supported on your systems. Some systems have a "locale" command which @@ -1061,13 +1067,6 @@ main(), or things like the dynamic loader of your system, which should result in very little risk. - On Solaris 9, many line-drawing characters are too wide. - Seems to be a known bug, read - . Some people use the - following ugly workaround to get non-double-wide-characters working: - - #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x) - I am on FreeBSD and rxvt-unicode does not seem to work at all. Rxvt-unicode requires the symbol "__STDC_ISO_10646__" to be defined in your compile environment, or an implementation that implements it, @@ -1099,10 +1098,6 @@ system libraries once and for all, instead of forcing every app to carry complete replacements for them :) - I use Solaris 9 and it doesn't compile/work/etc. - Try the diff in doc/solaris9.patch as a base. It fixes the worst - problems with "wcwidth" and a compile problem. - How can I use rxvt-unicode under cygwin? rxvt-unicode should compile and run out of the box on cygwin, using the X11 libraries that come with cygwin. libW11 emulation is no longer @@ -1115,3 +1110,15 @@ multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are likely limited to 8-bit encodings. + Character widths are not correct. + urxvt uses the system wcwidth function to know the information about the + width of characters, so on systems with incorrect locale data you will + likely get bad results. Two notorious examples are Solaris 9, where + single-width characters like U+2514 are reported as double-width, and + Darwin 8, where combining chars are reported having width 1. + + The solution is to upgrade your system or switch to a better one. A + possibly working workaround is to use a wcwidth implementation like + + http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c +