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: first line overwritten in Bash


I see.
Your suggestion works, but it's clear that I have to read (even) more 
documentation. That thing is huuuge...

Thanks.
Luciano ES
Santos, SP - Brasil

********************************
Randall R Schulz <rrschulz at cris dot com> wrote in
news:5 dot 2 dot 1 dot 1 dot 2 dot 20030411175636 dot 0261b920 at pop3 dot cris dot com: 

> You're not signalling BASH (and the readline library it uses)
> which portions of that prompt do not produce characters on the
> screen. That causes it to lose track of where the cursor really
> is when the prompt is printed. Any non-printing sequence in PS1
> should be surrounded by \[ and \]. See the PROMPTING section of
> the BASH manual for more details. 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]