This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: set the PS1 env with SGR cause cusor problem
- From: tianlijian <tianlijian at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 18 Apr 2009 10:14:10 +0800
- Subject: Re: set the PS1 env with SGR cause cusor problem
- References: <7061c8bc0904170818y7cfcf6c6g7aa4362bd010c98d@mail.gmail.com>
1. add the "export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile
or ~/.bash_profile .
The statement mush be putted in the configuration file, can not
execute the bash command line, otherwise the problem will not occur.
2. type the command 'one two three four five six' in the command line.
3 .type?'M-7 C-b' command?several times?, you will see the display in confusion.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/