> Unfortunately, the second (actually just theoretical)
> PS1="foo\rbar\rquux" input line prompt-overwriting bug is still
> existing, but this IMHO doesn't matter as much as the first bug. If you
> will investigate again I'm sure you also find and fix this one...
It's always been like this. The prompt display code has never interpreted
`\r', including its effect on the cursor position.
PS1="\[foo\rbar\r\]quux"
works as expected and intended.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/