Your message dated Thu, 23 Mar 2006 23:49:55 -0500
with message-id <[EMAIL PROTECTED]>
and subject line [EMAIL PROTECTED]: Bug#297330: bash3: <Esc>-/ garbages colored 
prompt]
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bash3
Version: 3.0-12
Severity: minor

Hi!

I noticed following minor issue with bash3 run in vi-mode with colored PS1
prompt.  When I type <Esc>-/ (for search in history), cursor jumps few
characters back and starts to overwrite prompt.  Sometimes also part of
previous command is printed.

Example:

orphan:~ $ echo $BASH_VERSION
3.00.16(1)-release
orphan:~ $ /ho $BASH_VERSIO
         ^

Cursor is now on $ sign, as shown by '^'.

My PS1 is defined as follows:

PS1="${debian_chroot:+($debian_chroot)}\[\e[32m\]\h:\[\e[0m\]\w 
\[\e[36m\]$\[\e[0m\] "

If prompt does not use escape chars to make colors, e.g. PS1="\h:\w $ "
problem does not occur.

I tried to install some older versions from snapshot.debian.net and found
out, that -10 works fine also with colored prompt, however -11 is affected.
Also current bash version from sarge (2.05b-24) works fine with same config
files.

It should be possible to reproduce this problem by setting colored PS1 and
setting bash to vi mode.

Regards.

th.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-th
Locale: LANG=sk_SK, LC_CTYPE=sk_SK (charmap=ISO-8859-2)

Versions of packages bash3 depends on:
ii  base-files                  3.1.2        Debian base system miscellaneous f
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  passwd                      1:4.0.3-30.9 change and administer password and

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 3.1-4

----- Forwarded message from Mike Stroyan <[EMAIL PROTECTED]> -----

X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 
        webmin.steelfarms.net
X-Spam-Level: *
X-Spam-Status: No, score=1.5 required=5.0 tests=DATE_IN_FUTURE_06_12,
        UNPARSEABLE_RELAY autolearn=no version=3.1.0
Subject: Bug#297330: bash3: <Esc>-/ garbages colored prompt
Reply-To: Mike Stroyan <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Resent-From: Mike Stroyan <[EMAIL PROTECTED]>
Resent-To: [email protected]
Resent-Cc: Matthias Klose <[EMAIL PROTECTED]>
Resent-Date: Fri, 24 Mar 2006 04:18:08 UTC
Resent-Message-Id: <[EMAIL PROTECTED]>
X-Debian-PR-Message: report 297330
X-Debian-PR-Package: bash
X-Debian-PR-Keywords: patch upstream
From: Mike Stroyan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ldl.fc.hp.com
Resent-Sender: Debian BTS <[EMAIL PROTECTED]>
Resent-Date: Thu, 23 Mar 2006 20:18:08 -0800
X-PTS-Package: bash
X-PTS-Keyword: bts
X-Unsubscribe: echo 'unsubscribe bash' | mail [EMAIL PROTECTED]

  This defect is now fixed in bash 3.1-4 by the inclusion of
bash 3.1 official patch 14.

-- 
Mike Stroyan, [EMAIL PROTECTED]



----- End forwarded message -----

--- End Message ---

Reply via email to