Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 11 Apr 2003 20:56:24 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Luciano cc: cygwin AT cygwin DOT com Subject: Re: first line overwritten in Bash In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Igor 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? > > Thanks, > > Luciano ES > Santos, SP - Brasil -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/