Andrew Schulman <andrex <at> alumni.utexas.net> writes: > > I have tried googling 'bash 3.0 prompt' and did not find any obvious > > help. Has anybody else seen this behavior? > > The 'extra space in the prompt' bug is well known; see e.g. > http://sources.redhat.com/ml/cygwin/2005-04/msg00325.html and > http://sourceware.org/ml/cygwin-apps/2005-04/msg00036.html. > >
Status update: The upstream maintainer has been alerted to this issue, and Thomas Dickey has provided a more detailed evaluation of the problem: http://lists.gnu.org/archive/html/bug-bash/2005-07/msg00112.html. There is apparently some interaction between readline and ncurses insert mode, where readline made some invalid assumptions about invisible characters. And the code in readline/display.c is HAIRY - Hans' proposed hack that has been posted to this list is not a proper fix, just a workaround that hides the worst of the bug. I'm still working on getting a bash-3.0-8 ready for release (mainly for the tilde-expansion bug and the missing .info file). If upstream provides a patch for the prompt bug in a timely manner, it will be included too. -- Eric Blake volunteer cygwin bash maintainer -- 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/