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


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/


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