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

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 17:34:00 -0600
Lines: 56
Message-ID: <elsn18$jir$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> <elsgr3$ah$1 AT sea DOT gmane DOT org> <bfc52fe00612141512l72dfcc6i4ae6a1920d09b652 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: <bfc52fe00612141512l72dfcc6i4ae6a1920d09b652@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:
> On 12/14/06, Matthew Woehlke wrote:
>> 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.

Yes, that sounds right... like either an attribute is not being cleared, 
or even that they are backwards. Um... would this by chance happen any 
time a bold word gets hyphenated? (Just a WAG.)

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

Sorry, missed that...

> groff is 1.18.1-2.

Ok, same as me.

But... I only have man-1.5p. Maybe 'man' is the problem?

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

Hmm. What happens if you enter exactly that, but 's/-Tlatin1/-c/'? (Did 
you say you are using WCLI*/rxvt/xterm...?)

HEY! If I do likewise but making the opposite substitution, mine breaks! 
  It looks like '-Tlatin1' is the problem. IIRC you can fix this by 
editing man.conf, but we need to either change it back in the official 
package or figure out why it is breaking. (I'm using Console, which is 
effectively WCLI).

(* WCLI = Windows Command Line Interface, i.e. 'the DOS window')

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

Might be hard-coded, there are a few things like that. Line length, for 
instance, if your screen is not 80 columns.

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