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]

New readline introduces even more prompt-length calculation oddities


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

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.


Is there any ETA when the more severe length calculation bugs that have
existed since bash 3 will be fixed?

Thanks,

Max.



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

iD8DBQFD116EfFNSmcDyxYARAjdWAJ0cIStCwVHxs4mmE2pAXEfenOhRCACgz/HS
cyE4iWR7iyJL+Qf5RZsmlgA=
=0Rrd
-----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]