delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/14/13:48:43

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT 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 AT sea DOT gmane DOT org> <028401c71fae$e179e0a0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019