XPost: linux.debian.maint.x
From:
[email protected]
Package: xterm
Version: 4.3.0.dfsg.1-6
Severity: normal
In the en_US.UTF-8 locale, inserting any non-ascii character into the command line and then backspacing over it seems to backspace over bytes rather than characters. If I insert "áõã" (either with compose keys or by cut-and-paste),
I can then backspace over the last few characters of my prompt:
[moise@pogo ~]$
[moise@pogo ~]$ áõã
[moise@pogo ~]$ áõ
[moise@pogo ~]$ á
[moise@pogo ~]$
[moise@pogo ~]$
[moise@pogo ~�
Also, if I type "lsã" and then backspace one time, I get "zsh: command not found: ls\M-C" when I hit enter.
This only happens with zsh (not bash), so it could easily be a zsh bug. It doesn't happen with aterm or on the console, though, so I've arbitrarily filed the bug against xterm :-).
Just like #266336, this happens with both xterm and "xterm -class UXTerm -title 'uxterm' -u8" (the guts of uxterm) when LANG and LC_ALL are en_US.UTF-8, and not with either with en_US.ISO-8859-1.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7+mppe
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages xterm depends on:
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libexpat1 1.95.6-8 XML parsing C library - runtime li ii libfontconfig1 2.2.3-1 generic font configuration library ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libxaw7 4.3.0.dfsg.1-6 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii libxft2 2.1.2-6 FreeType-based font drawing librar ii libxmu6 4.3.0.dfsg.1-6 X Window System miscellaneous util ii libxpm4 4.3.0.dfsg.1-6 X pixmap library
ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii xlibs-data 4.3.0.dfsg.1-6 X Window System client data
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)