delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/14/16:49:08

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthew Woehlke <mw_triad AT users DOT sourceforge DOT 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 AT sea DOT gmane DOT org> <BAY125-F36A3F31B12A7E2A34BD500B5D50 AT phx DOT gbl> <bfc52fe00612141335v5dee71a1uc632cfd4e45f48e2 AT mail DOT gmail DOT com>
Mime-Version: 1.0
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 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

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/

- Raw text -


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