X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Message-ID: <49E952F2.3020209@byu.net> Date: Fri, 17 Apr 2009 22:11:30 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, tianlijian AT gmail DOT com Subject: Re: set the PS1 env with SGR cause cusor problem References: <7061c8bc0904170818y7cfcf6c6g7aa4362bd010c98d AT mail DOT gmail DOT com> <7061c8bc0904171914u3a65d2f4n406a095c8b4cec99 AT mail DOT gmail DOT com> In-Reply-To: <7061c8bc0904171914u3a65d2f4n406a095c8b4cec99@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to tianlijian on 4/17/2009 8:14 PM: > 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. 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 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 =kdLL -----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/