delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/15/17:17:58

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Weird cosmetic bug after viewing bash man page
Date: Fri, 15 Dec 2006 17:17:35 -0500
Message-ID: <31DDB7BE4BF41D4888D41709C476B657041694DF@NIHCESMLBX5.nih.gov>
In-Reply-To: <bfc52fe00612151037v41b6bc38j38e9ab8611a5872a@mail.gmail.com>
From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "Aaron Humphrey" <alfvaen AT gmail DOT com>, <cygwin AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kBFMHveY014342

Aaron Humphrey wrote on Friday, December 15, 2006 1:38 PM:

> On 12/14/06, Matthew Woehlke wrote:
>> Aaron Humphrey wrote:
>>> 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.)
> 
> It doesn't seem to.  If I do "man bash", then the whole DESCRIPTION
> section is highlighted.  From Linux, it looks like only the
> keywords(bash, sh, ksh) are supposed to be highlighted.  (I note that
> there, it uses '-Tascii' instead of '-Tlatin'.)   
> 
>> But... I only have man-1.5p. Maybe 'man' is the problem?
> 
> I could try downgrading.  I don't use man that much, so I don't know
> when it started doing this. 
> 
>>> 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...?)
> 
> WCLI*.
> 
> If I type
> 
> (echo ".pl 11i"; /usr/bin/cat '/usr/share/man/man1/bash.1') |
> /usr/bin/tbl | /usr/bin/nroff -mandoc | /usr/bin/less -isrR) 
> 
> then I get the same behaviour.  Editing man.conf doesn't make any
> difference, either, nor does substituting '-Tascii'.  Even if I exit
> tcsh and restart it.  
> 
> BTW, TERM = 'cygwin'.  Anything other info I can provide?  Output of
> "stty -a"?  My entire cygcheck.out?  Screenshots?  Straces?  Bueller? 

I'm wondering whether this might be related to this old problem.
http://sources.redhat.com/ml/cygwin/2006-11/msg00734.html
I was having man pages where bold was not turn off properly.  If I
remember correctly, this suggestion fixed it for me.
http://sourceware.org/ml/cygwin/2006-11/msg00552.html
May it would fix one or both problems.

- Barry

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