This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bash-2.05b-14 broken!
- From: Rolf Campbell <Endlisnis at mailc dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 13 Sep 2003 12:14:57 -0400
- Subject: Re: bash-2.05b-14 broken!
- References: <ur82khguz.fsf@gnu.org>
Yeah, this bash has the same problems that -12 did, and more.
PS1='\[[02;34m\]$PWD\[[02;33m\]>\[[0m\] '
There are some literal escape chars in that...
I get a colored prompt like this:
/home/rcampbell>
if I type t<tab><tab>, then I see a list of possible completions, and:
/home/rcampbell> t t
^^
These 2 characters have magically appeared, and are not erasable.
Sam Steingold wrote:
PS1="\[\e[33;1m\]\t\[\e[m\] \[\e[36;1m\]\w [\#]\\$\[\e[m\] "
there are two spaces after "$", not one as it should be
(and as it was with bash-2.05b-13 and on all the other unixes).
another manifestation of the same bug: when the command line is folded,
it folds one extra line.
apparently, the prompt output code prints one extra space which it does
not account for internally.
--
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/