Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: bash-2.05b-14 broken! Date: Sat, 13 Sep 2003 12:14:57 -0400 Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en In-Reply-To: Yeah, this bash has the same problems that -12 did, and more. PS1='\[\]$PWD\[\]>\[\] ' There are some literal escape chars in that... I get a colored prompt like this: /home/rcampbell> if I type t, 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/