This is the mail archive of the
mailing list for the Cygwin project.
Re: first line overwritten in Bash
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Luciano <lucianoav at gmx dot net>
- Cc: cygwin at cygwin dot com
- Date: Fri, 11 Apr 2003 20:56:24 -0400 (EDT)
- Subject: Re: first line overwritten in Bash
- Reply-to: cygwin at cygwin dot com
The section on "Printing a prompt" in "info bash" should tell you what
your problem is...
Hint: the non-printing character sequence markers have to match.
On Sat, 12 Apr 2003, Luciano wrote:
> I customized my prompt in Bash, but it is not working.
> PS1='\033[38;1m\][\!]\W> \033[0m\]'
> When I type and reach the end of the first line, it continues on the
> same line, overwriting what is already there. The subsequent lines
> are typed correctly. It only happens with rxvt. In pure DOS console,
> though, my prompt has smiling face symbols on either side. What have
> I done wrong?
> Luciano ES
> Santos, SP - Brasil
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html