bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Composed characters + colour = strange cursor behaviour


From: Tristan Miller
Subject: Composed characters + colour = strange cursor behaviour
Date: Mon, 25 Jun 2007 20:03:29 +0100
User-agent: KMail/1.9.7

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: 
gcc -I/usr/src/packages/BUILD/bash-3.2 -L/usr/src/packages/BUILD/bash$
Compilation 
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='lin$
uname output: Linux polecat 2.6.18.8-ccj45-default #1 SMP Fri Mar 2 
13:51:59 UT$
Machine Type: i586-suse-linux-gnu

Bash Version: 3.2
Patch Level: 9
Release Status: release

Description:
        Unicode composed characters in the shell prompt result in strange 
cursor behaviour when the prompt contains xterm escape codes.  I'm not 
sure if this is a Bash bug or a terminal bug, but I've tried this in 
several terminals (xterm, konsole) and in the text console, and it occurs 
with all of them.

Repeat-By:
        1. PS1="\w\[\033[0m\]"
        2. mkdir n̈
        (Note that the above is U+006E U+0308)
        3. cd n̈
        (At this point you will see the cursor is in the wrong place -- it's 
shifted four characters to the right.)
        4. start typing anything -- the cursor flies wildly all over the 
line

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]