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:59:44 +0100 Lines: 27 Message-ID: References: <028c01c71fb1$2f6d8e90$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: <028c01c71fb1$2f6d8e90$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:48, Eric Lilja wrote: > > >> 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. > > Gotcha. Tell us, what is your PS1 setting? And does the bug go away if you > expand or shrink the window so that it's showing a different number of lines > of the man page at one time? I wonder if it is because there is some > highlighted text very last thing on the page and 'less' leaves the highlight > setting in effect when it exits. My PS1 setting is (also available in the cygcheck.out btw): PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' I can't remember if I changed that one or not. As you suggested I try, I made the window a lot smaller vertically and I still got the same highlight as before. > > 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/