This is the mail archive of the cygwin@cygwin.com 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: [ANNOUNCEMENT] Updated: bash-2.05b-12


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@cygwin.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/


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