This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: buggy tab-expansion


-----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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]