-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mike Stroyan on 2/3/2006 12:16 PM:
> Description:
>       The prompt is corrupted when using the vi Esc/ history search.
>       This happens when the prompt contains non-printing characters
>       marked by the \[ \] delimiters.
> 
> Fix:
>       The best fix seems to be in _rl_make_prompt_for_search in 
>       bash/lib/readline/display.c
> 
>       Everything behaves better if _rl_make_prompt_for_search just uses the
>       unexpanded rl_prompt string for composing its result.  Here is a patch
>       that comments out the troublesome code.

My only concern is whether this patch also affects {non-,}incremental
searches in emacs mode.  But it sure solves the display bugs of doing
non-incremental searches in vi mode.  Thanks for the patch.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6eq384KuGfSFAYARAkmQAKDPCFFZ3JPbP7++QXC5cdwPMLgzCwCcCki5
nW6wa5K/KEQ94R6YNrUs84s=
=NPWW
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to