xterm wrongly handles Unicode on the prompt when printing text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
kdebase (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xterm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xterm
xterm misinterpretes some characters and writes junk text to the terminal under the followign conditions:
1. The prompt contains special charachters, in this test case german umlauts
2. The text printed from a command (shell built-in, program, script, etc.) does not end with a line break
Steps to reproduce:
Start xterm or any terminal emulator relying on it (e.g. gnome-terminal), then create or cd into a directory containing an umlaut (e.g. Ü11). Run a command that generates a one-line output of text, e.g. "echo -n Hello".
Expecgted behaviour: The output text is printed in front of the next line's command line prompt with the input mark behind the prompt
Current behaviour: Text is not printed, instead, parts of the prompt are printed behind it and after the input mark
ProblemType: Bug
Architecture: amd64
Date: Wed Feb 24 09:18:34 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Dell Inc. Latitude E5500
Package: xterm 243-1ubuntu1
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/zsh
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu10
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: xterm
Uname: Linux 2.6.31-19-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/
XsessionErrors:
(gnome-
(gnome-
(nautilus:2404): Eel-CRITICAL **: eel_preferences
(polkit-
(thunderbird-
dmi.bios.date: 08/11/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A13
dmi.board.name: 0DW634
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude E5500
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
distro: Ubuntu
architecture: x86_64kernel: 2.6.31-19-generic
On Wed, 24 Feb 2010, Dominik George wrote:
> Public bug reported:
This appears to be a duplicate of 526893.
-- invisible- island. net -island. net
Thomas E. Dickey
http://
ftp://invisible