first line overwritten in Bash

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Apr 12 02:51:00 GMT 2003


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list