This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: set the PS1 env with SGR cause cusor problem


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 <ebb9@byu.net> wrote:
> -----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]