Re: [bash-testers] Re: readline-5.2-1 prompt issue on cygwin

2006-11-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chet Ramey on 10/4/2006 8:56 PM: >>> $ export PS1='[\[\e[32m\]\h\[\e[0m\]:\[\e[33m\]\w\[\e[0m\]] ' >>> [LOUNGE:~/bash-3.2] cd /c^L >>> [LOUNGE:~/bash-3.2] cd /cc >>> ^ >>> This is what's displayed, after the ^L cle

Re: [bash-testers] Re: readline-5.2-1 prompt issue on cygwin

2006-11-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 11/9/2006 10:04 PM: > > This patch fixes this particular test case for me, but I have no idea if > it is correct or breaks something else. The idea is that even when > MB_CUR_MAX == 1, the cursor absolute position as calcul