Mail Archives: cygwin/2003/04/11/20:56:31
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/
- Raw text -