delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/14/18:12:29

X-Spam-Check-By: sourceware.org
Message-ID: <bfc52fe00612141512l72dfcc6i4ae6a1920d09b652@mail.gmail.com>
Date: Thu, 14 Dec 2006 16:12:13 -0700
From: "Aaron Humphrey" <alfvaen AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Weird cosmetic bug after viewing bash man page
In-Reply-To: <elsgr3$ah$1@sea.gmane.org>
MIME-Version: 1.0
References: <els6uv$mki$1 AT sea DOT gmane DOT org> <BAY125-F36A3F31B12A7E2A34BD500B5D50 AT phx DOT gbl> <bfc52fe00612141335v5dee71a1uc632cfd4e45f48e2 AT mail DOT gmail DOT com> <elsgr3$ah$1 AT sea DOT gmane DOT org>
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

On 12/14/06, Matthew Woehlke wrote:
> 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?

It does indeed.

> Does this only happen with the bash manpage, or do you see it with other
> manpages as well?

It seems to vary.  I see it with 'man vim' and 'man printf' after the
first screen, for instance, but not with 'man man', unless I pick just
the right line.  Which makes it seem less likely that it's a problem
with the man page formatting.  In all the cases which cause the
problem, the last bit of text on the screen is highlighted, but it
shouldn't be.

> 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)?

less is 381-1, as I listed previously; groff is 1.18.1-2.  The output
you're after is, I presume:

  (cd "/usr/share/man" && (echo ".pl 11i"; /usr/bin/cat
'/usr/share/man/man1/bash.1') | /usr/bin/tbl | /usr/bin/nroff -Tlatin1
-mandoc | /usr/bin/less -isrR)

Interesting.  Where does the '.pl 11i' bit come from?  It's not in
man.conf...is it hardcoded, or hiding in my environment somewhere?

--
--Alfvaen (Web page: http://www.telusplanet.net/public/alfvaen/ )
Current Album--Dead Can Dance:Aion
Current Book--John Wyndham:The Midwich Cuckoos
Just keep examining every low bid quoted for zinc etchings.

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