X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthew Woehlke <mw_triad@users.sourceforge.net>
Subject:  Re: Weird cosmetic bug after viewing bash man page
Date:  Thu, 14 Dec 2006 15:48:19 -0600
Lines: 25
Message-ID: <elsgr3$ah$1@sea.gmane.org>
References:  <els6uv$mki$1@sea.gmane.org> 	 <BAY125-F36A3F31B12A7E2A34BD500B5D50@phx.gbl> <bfc52fe00612141335v5dee71a1uc632cfd4e45f48e2@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0
In-Reply-To: <bfc52fe00612141335v5dee71a1uc632cfd4e45f48e2@mail.gmail.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

Aaron Humphrey wrote:
> I've seen this as well, my prompt(and everything I type)turning white
> if I don't go through the "bash" man page all the way to the end.  I
> note that "stty sane" does nothing, nor does hitting enter; my prompt
> stays white.  (This is in tcsh, where my "prompt" variable is "[%n@%m
> %c02]$".  In the standard window, it's gray on black.)
> 
> I note that when I look at the man pages for bash, there seems to be a
> lot of highlighted-in-white text, a lot more than on the Linux version
> of the same page.  Perhaps the bash maintainer should be looking at
> the codes in the man page?

Ok, this is useful; it sounds like 'man bash' is in fact leaving the 
bold attribute turned on incorrectly. Aaron, in your case your prompt 
does not clear the attribute; I assume "printf '\033[0m'" fixes things? 
Does this only happen with the bash manpage, or do you see it with other 
manpages as well?

Btw, what versions of groff and less do you have installed? Also, what 
is the output of 'man -d bash' (just the part after 'not executing 
command:', please)?

-- 
Matthew
What? This signature /again/?


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

