This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Prompt issue within cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]