X-Spam-Check-By: sourceware.org
Message-ID: <43D56D86.23E68BCA@dessent.net>
Date: Mon, 23 Jan 2006 15:57:58 -0800
From: Brian Dessent <brian@dessent.net>
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Prompt issue within cygwin
References: <f894c8ac0601230831n33d75defj8456f73bb341f46c@mail.gmail.com>    <Pine.GSO.4.63.0601231138410.18707@access1.cims.nyu.edu>    <f894c8ac0601230853v12812aaco8e92f875a717fac@mail.gmail.com>    <Pine.GSO.4.63.0601231154210.18707@access1.cims.nyu.edu>    <f894c8ac0601231035j6703639h91ce8ea08bcb0ea9@mail.gmail.com>    <Pine.GSO.4.63.0601231426390.27934@access1.cims.nyu.edu>    <f894c8ac0601231138m61563d4ap5b88aa41cf247924@mail.gmail.com>  <f894c8ac0601231450m679d19b2u7a01097d0bcd037b@mail.gmail.com> <Pine.GSO.4.63.0601231808510.27934@access1.cims.nyu.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

