X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Lilja <mindcooler@gmail.com>
Subject:  Re: Weird cosmetic bug after viewing bash man page
Date:  Thu, 14 Dec 2006 19:47:53 +0100
Lines: 37
Message-ID: <els68r$lqu$1@sea.gmane.org>
References:  <els4vn$f8b$1@sea.gmane.org> <028401c71fae$e179e0a0$a501a8c0@CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
In-Reply-To: <028401c71fae$e179e0a0$a501a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn skrev:
> On 14 December 2006 18:26, Eric Lilja wrote:
> 
>> Dave Korn skrev:
>>> On 14 December 2006 17:43, Eric Lilja wrote:
> 
>>>> If I press enter the prompt is restored to its normal appearance. A
>>>> picture exhibiting this cosmetic glith can be viewed at
>>>> student.stunet.se/hivemind/weird_cosmetic_bug.png
>>>   Does 'stty sane' restore normal operation?
>> Well, I issued:
>> $ stty sane
>> $ man bash
>> q
>> ..and still the same color change as exhibitedby the picutre. I hope I
>> ran the test as you wanted. I hadn't used the command stty before.
> 
>   No, 'restore' normal operation was meant to imply fixing it after it had
> gone wrong, i.e. I was suggesting you try the 'stty sane' command /after/ 'man
> bash' has chnanged the prompt colour.  However reading closer I see it only
> affects the single line for the prompt.  Perhaps your PS1 setting has the
> side-effect of restoring normal colouring at the end?  Do you mean that even
> the lightened prompt reverts to duller colours, or just that subsequent
> prompts do not show the same problem as the first?

Well, the prompt that is displayed directly after "man bash" exits 
exhibits the hightlighted colors (only seems to happen for that 
particular man page). If I issue the command stty sane, or any other 
command, or simply press enter the next prompt doesn't exhibit any 
highlighted colors but is shown as normal See the picture I posted.

> 
> 
>     cheers,
>       DaveK

- Eric


--
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/

