X-Spam-Check-By: sourceware.org Message-ID: <4613A562.5090806@byu.net> Date: Wed, 04 Apr 2007 07:17:22 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Escape colour codes References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 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 Thorsten Kampe on 4/4/2007 1:38 AM: > That's exactly the point. They actually do cope with the escapes - > just not with the \001 and \002 used by readline to calculate the > length of the line. > >> (otherwise even bash would not work). > > Yes, bash is the exception. Maybe bash doesn't use \001/\002? I need a simple test case. Readline indeed uses \001 and \002 for internal purposes, but I'm not sure whether bash does as well, or whether it is confined to readline. Generally, readline is supposed to remove its internal markers before displaying to the screen. There may be some interaction where bash uses these markers correctly but your other app is using them in such a way that readline leaks them to the terminal. > > Okay, so it's obviously a readline (or Cygwin) bug. > > I think it's a readline thing (as rxvt doesn't have the problem) - the > question is just where to submit a bug report? To the Cygwin readline > maintainer or upstream? You've already reported it to the cygwin readline/bash maintainer. You are also welcome to ask upstream, since the upstream maintainer knows more about what readline actually expects with \1 and \2, but you need to be sure your test case is simple enough that Chet can reproduce your situation, or you won't get much of his time. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net volunteer cygwin readline maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGE6Vh84KuGfSFAYARAjoQAKC+7kty1U9d7hGu3tFCTw6ysmVIaQCeNNSy 1Ade2Wuf4fSU8iolpwu2/6Q= =nAUW -----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/