Package: bash
Version: 3.2-4
Severity: normal

Hello

I tried looking through the other prompt issues but this seems different
from the other stuff reported already.

The issue is that bash seems  to count the number of bytes in the prompt
rather than the number of character positions.

To reproduce:

1) set up a color propmpt, verify that it's \[ \]d properly and works as
expected with multiline commands

2) cd /tmp ; mkdir dírectory ; cd dírectory

3) type a command that wraps to the next line, use arrows keys to sift
through command history. While the command is displayed correctly
initially when it is redisplayed it is shifted backwards eating a
character from the prompt.

I use a custom prompt so if you have issues reproducing with some stock
color prompt I can post mine but I don't think this is specific to this
particular one.


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (300, 'unstable'), (295, 
'experimental'), (290, 'stable-i386'), (280, 'testing-i386'), (270, 
'unstable-i386'), (150, 'experimental-i386'), (70, 'oldstable-i386'), (70, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                5lenny5        Debian base system miscellaneous f
ii  debianutils               2.30           Miscellaneous utilities specific t
ii  libc6                     2.10.2-6       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand

Versions of packages bash recommends:
pn  bash-completion               <none>     (no description available)

Versions of packages bash suggests:
ii  bash-doc                      3.2-4      Documentation and examples for the

-- debconf-show failed



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to