Package: rxvt-unicode Version: 9.05-1+lenny1 Severity: normal I set my bash PS1 variable like this:
bold_start=`tput bold` bold_end=`tput sgr0` PS1='\['${bold_start}'\...@\h:\w$\['${bold_end}'\] ' Note the \[ and \] , which are exactly what bash documentation recommends to tell readline about nongraphic characters in the prompt. It works in other terminal emulators - I tested with the linux console and with roxterm, at least. And it works even with urxvt - _until_ I changed my locale to *.UTF-8. Now, the following happens: i...@matica:~/foo$ ls misss1-10-the_last_night_of_the_world.wav #i move cursor here ^ #i hit Alt-2 (arg: 2) ls misss1-10-the_last_night_of_the_world.wav #cursor is here ^ #(still ok) #i hit Alt-u (to uppercase 2 words) i...@matica:~/foo$ ls misss1LAST_NIGHTst_night_of_the_world.wav # cursor is here ^ Again, roxterm handles this correctly, irrespective of locale, so it's not a bash or readline problem. -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.30.1-core2-virgin (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash-minimal Versions of packages rxvt-unicode depends on: ii base-passwd 3.5.20 Debian base system master password ii libafterimage0 2.2.8-2 imaging library designed for After ii libc6 2.7-18 GNU C Library: Shared libraries ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra ii libfontconfig1 2.6.0-3 generic font configuration library ii libfreetype6 2.3.7-2+lenny1 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.2-1.1 GCC support library ii libglib2.0-0 2.16.6-2 The GLib library of C routines ii libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libperl5.10 5.10.0-19 Shared Perl library ii libpng12-0 1.2.27-2+lenny2 PNG library - runtime ii librsvg2-2 2.22.2-2lenny1 SAX-based renderer library for SVG ii libsm6 2:1.0.3-2 X11 Session Management library ii libtiff4 3.8.2-11.2 Tag Image File Format (TIFF) libra ii libx11-6 2:1.1.5-2 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxft2 2.1.12-3 FreeType-based font drawing librar ii libxrender1 1:0.9.4-2 X Rendering Extension client libra ii ncurses-base 5.7+20081213-1 basic terminal type definitions ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime rxvt-unicode recommends no packages. Versions of packages rxvt-unicode suggests: ii ttf-bitstream-vera 1.10-7 The Bitstream Vera family of free -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org