X-Recipient: archive-cygwin AT delorie DOT 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: <49E952F2.3020209@byu.net> References: <7061c8bc0904170818y7cfcf6c6g7aa4362bd010c98d AT mail DOT gmail DOT com> <7061c8bc0904171914u3a65d2f4n406a095c8b4cec99 AT mail DOT gmail DOT com> <49E952F2 DOT 3020209 AT byu DOT net> Date: Sat, 18 Apr 2009 15:18:49 +0800 Message-ID: <7061c8bc0904180018x7af2c86bm1767c5d306ae77ad@mail.gmail.com> Subject: Re: set the PS1 env with SGR cause cusor problem From: tianlijian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I have add the `\[', [\]' literal to the unprintable characters, however the problem still occurs in cygwin. In some other Linux distro, such as Fedora 9, the problem disappears. On Sat, Apr 18, 2009 at 12:11 PM, Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to tianlijian on 4/17/2009 8:14 PM: >> 1. add the "export PS1=3D'[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile >> or ~/.bash_profile . >> =A0 =A0The 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 co= nfusion. > > This looks suspiciously like you are trying to repeat what you asked here: > > http://lists.gnu.org/archive/html/bug-bash/2009-04/msg00126.html > > but that you made the correction suggested here: > > http://lists.gnu.org/archive/html/bug-bash/2009-04/msg00127.html > > If you are still having problems, then continue your thread on the bash > list, unless you have proven that it is cygwin-specific (in which case, > provide more details of how you have proved that). > > - -- > Don't work too hard, make some time for fun as well! > > Eric Blake =A0 =A0 =A0 =A0 =A0 =A0 ebb9 AT byu DOT net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Cygwin) > Comment: Public key at home.comcast.net/~ericblake/eblake.gpg > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAknpUvIACgkQ84KuGfSFAYAMkwCgrTAg/kgsSh4mB+muHY8Za+/5 > tpgAn30rcpS9kq58xYHhh8s/dloyR//R > =3DkdLL > -----END PGP SIGNATURE----- > -- 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/