This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: buggy tab-expansion
- From: Eric Blake <ebb9 at byu dot net>
- To: Alex Goldman <alex dot gman at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 21 Jul 2005 06:10:48 -0600
- Subject: Re: buggy tab-expansion
- References: <9bbd279405072102001b83b4e5@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Alex Goldman on 7/21/2005 3:00 AM:
> Here's an example (I tried this in the original DOS/Cygwin terminal
> and in Rxvt) :
>
> 1. type "grep" in the command line, but don't hit Enter
> 2. hit Tab quickly several times (two is often enough)
>
> The line now becomes "grepp", even though there are no "grepp*" in PATH.
>
> (Hitting Enter invokes "grep" - single 'p')
This sounds related to the buggy prompt display code. There is a known
issue in readline where some (but not all) prompts cause display problems,
because the display engine isn't properly accounting for invisible
characters in the string, and I am awaiting a patch from the upstream
maintainer. In the meantime, I was unable to reproduce the symptoms;
could you please let me know what your $PS1 variable is?
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
volunteer cygwin bash maintainer
-----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
iD8DBQFC35DH84KuGfSFAYARAlryAKCNtnCfx+WtNmZJirIguVsbo43zugCguXEM
8FXDv6q515DRhFZ5TvW294Q=
=S1wF
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/