← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 526894] [NEW] xterm wrongly handles Unicode on the prompt when printing text

 

Public bug reported:

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=/vmlinuz-2.6.31-19-generic root=UUID=d2ab955b-802d-4e3e-8b90-3453e5af04f4 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xterm
Uname: Linux 2.6.31-19-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
XsessionErrors:
 (gnome-settings-daemon:2300): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2300): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:2404): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:2429): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (thunderbird-bin:2948): GLib-WARNING **: g_set_prgname() called multiple times
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.:bvrA13:bd08/11/2009:svnDellInc.:pnLatitudeE5500:pvr:rvnDellInc.:rn0DW634:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E5500
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro:             Ubuntu
 architecture:       x86_64kernel:             2.6.31-19-generic

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: xterm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
xterm wrongly handles Unicode on the prompt when printing text
https://bugs.launchpad.net/bugs/526894
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xterm in ubuntu.



Follow ups

References