X-Recipient: archive-cygwin@delorie.com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <7061c8bc0904170818y7cfcf6c6g7aa4362bd010c98d@mail.gmail.com> References: <7061c8bc0904170818y7cfcf6c6g7aa4362bd010c98d@mail.gmail.com> Date: Sat, 18 Apr 2009 10:14:10 +0800 Message-ID: <7061c8bc0904171914u3a65d2f4n406a095c8b4cec99@mail.gmail.com> Subject: Re: set the PS1 env with SGR cause cusor problem From: tianlijian To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com 1. add the "export PS1=3D'[\[\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=A0'M-7 C-b' command=A0several times=A0, 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/