Prompt issue within cygwin

Brian Dessent brian@dessent.net
Tue Jan 24 02:32:00 GMT 2006


Igor Peshansky wrote:

> There is a prompt bug in bash that causes it to miscount the number of
> displayed characters.  One workaround was to append '\[\]' to PS1.  Also,
> a good habit to get into is to use single quotes in the shell when some
> value contains backslashes.

Yes, this bug has been reported and investigated but it seems to be a
real heisenberg because even the people that are familiar with
libreadline still can't seem to figure out the complex interactions
going on.

You might try playing around with different versions of bash/readline, I
seem to recall that it wasn't present in 3.1 or something like that.

Brian

--
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/



More information about the Cygwin mailing list