i have an install of a recent version of readline (5.2.007) / bash (3.2.25)
which is causing problems with horizontal scrolling positioning because of
escape sequences in my PS1 prompt.
i have read the faq, but the fix suggested does not work for me.
here is my PS1 prompt:
PS1="\n\e[39m\u\e[00m \e[00;34m[\w]\e[00m "
according to the faq this should be encoded as:
PS1="\n\[\e[39m\]\u@\h\[\e[00m\] \[\e[00;34m\][\w]\[\e[00m\] "
however this does not work either, with horizontal-scroll-mode on or off -
positioning is still screwed up.
also note that the first prompt works perfectly well with readline 4.2a /
bash 2.05a, but *the second one does not*.
any suggestions?
--
dog