New readline introduces even more prompt-length calculation oddities

Max Bowsher maxb1@ukf.net
Wed Jan 25 17:41:00 GMT 2006


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

Eric Blake wrote:
> According to Max Bowsher on 1/25/2006 4:18 AM:
>>> The readline 5.1 update has brought with it increased bugs in bash's
>>> prompt length calculation when nonprinting characters are used.
>>>
>>> My PS1:
>>> PS1='\[\e[32;1m\]\u@\h \[\e[0m\][\w] \$ '
>>>
>>> with latest bash and readline, bash positions the cursor 1 position to
>>> the right of where it should be when cd-ed to the ~ directory.
> 
> Are you running cmd.com, rxvt, or xterm, and what is $TERM?  If it comes
> down to a bug in the terminfo database being tickled by readline, this
> extra information would be helpful.

I experience the same behaviour with all three terminal emulator programs.


>>> Is there any ETA when the more severe length calculation bugs that have
>>> existed since bash 3 will be fixed?
> 
> I'm trying to find some free time to investigate.  Getting readline-5.1-2
> out the door is now my highest priority, but it may be a few more days.
> 
> http://cygwin.com/ml/cygwin/2006-01/msg01164.html

Yes, that's the issue - thanks for working on it.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFD17hTfFNSmcDyxYARAi0TAKCpx1BE2y5ybMXmb35M2D4mZUy1qQCdEbsg
5hTeJd7pgWJgMlHv8Bwkqtw=
=jHDw
-----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/



More information about the Cygwin mailing list