delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/03/06:37:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 3 Sep 2003 12:37:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: bash-2.05b-12
Message-ID: <20030903103710.GR1859@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030902130938 DOT 6494632A822 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0309021502510 DOT 14738 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0309021502510.14738@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Tue, Sep 02, 2003 at 03:16:54PM -0400, Igor Pechtchanski wrote:
> On Tue, 2 Sep 2003, Corinna Vinschen wrote:
> 
> > I've updated the version of bash to 2.05b-12.
> >
> > This bash now uses the new capabilities and therefore requires
> > Cygwin 1.5.3 ff.
> >
> > The package now adheres to the filesystem hirarchy standard (FHS).
> 
> Corinna,
> 
> There is a minor problem with the latest bash: it duplicates the last
> literal character of the prompt or the last character of the entered
> command upon redraw.  To duplicate, "export PS1='\[\033[32m\033[0m\]$'"
> (you should see the prompt as '$$'), then enter any word and press ^L to
> redraw (you should see the last character of that word duplicated, and
> the prompt becomes '$').  If the last character of the prompt is not a
> literal character (e.g., if you append '\[\]' to PS1) the last prompt
> character duplication problem goes away, but the last character of the
> command is still duplicated upon redraw.
> 
> I'm hoping it's something simple.  If you don't know right away what the
> problem is, or can't replicate it, let me know and I'll provide more
> debugging info.  I'm using cygwin-1.5.3-1 and bash-2.05b-12.
> 	Igor

I think I know what the problem is.  It has something to do with the
usage of wcwidth.  I don't know how to solve this so the only thing
I can do is to create a new bash which doesn't use wide character
functions.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019