X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Re: Weird cosmetic bug after viewing bash man page Date: Thu, 14 Dec 2006 19:47:53 +0100 Lines: 37 Message-ID: References: <028401c71fae$e179e0a0$a501a8c0 AT CAM DOT ARTIMI DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/