[Bug 526893] Re: xterm wrongly handles Unicode on the prompt when printing text

Thomas Dickey dickey at his.com
Wed Feb 24 09:37:12 UTC 2010


On Wed, 24 Feb 2010, Dominik George wrote:

> zsh is the login shell, but this is about Bash (running from zsh or
> "native" does not matter). The bug is reproducible across multiple
> hosts, users, environments.
>
> It is not related to the shell itself. The bug can be reproduced in
> Bash, Dash and Csh.

bash (but not dash or csh as far as I recall) contains code which is 
supposed to count the length of the prompt, for positioning the cursor.

The code in bash has been the subject of occasional bug reports for
some time.

> The bug does not show when running in a tty, so it *is* X-related.
>
> ** Also affects: gnome-terminal (Ubuntu)
>   Importance: Undecided
>       Status: New

gnome-terminal, konsole and xterm all are independent - it's likely that
there is a common cause for this issue which is unrelated to any of these.

You may get some insight on the problem by using "script" to capture the
output of the shell (to see which characters are sent to the terminal).

That may be different between the Linux console and the X applications.

>
> ** Also affects: kdebase (Ubuntu)
>   Importance: Undecided
>       Status: New
>
> -- 
> xterm wrongly handles Unicode on the prompt when printing text
> https://bugs.launchpad.net/bugs/526893
> You received this bug notification because you are subscribed to xterm
> in ubuntu.
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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




More information about the kubuntu-bugs mailing list