This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: New readline introduces even more prompt-length calculation oddities
- From: Eric Blake <ebb9 at byu dot net>
- To: Max Bowsher <maxb1 at ukf dot net>
- Cc: cygwin at cygwin dot com
- Date: Wed, 25 Jan 2006 07:22:30 -0700
- Subject: Re: New readline introduces even more prompt-length calculation oddities
- References: <43D75E84.1040700@ukf.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
>
>
> 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
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----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
iD8DBQFD14ml84KuGfSFAYARAqciAJoDM+XZUN+rJp5I6jXki5/Lq7gymQCcDJoB
Hk2jIo9tyTwldwtZOO7pm50=
=MjJW
-----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/