delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/18/11:48:21

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: Mon, 18 Dec 2006 10:46:53 -0600
Lines: 28
Message-ID: <em6glt$kuu$1@sea.gmane.org>
References: <bfc52fe00612151433w8c21089ne29366cf07211def AT mail DOT gmail DOT com> <31DDB7BE4BF41D4888D41709C476B657041694E1 AT NIHCESMLBX5 DOT nih DOT gov>
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: <31DDB7BE4BF41D4888D41709C476B657041694E1@NIHCESMLBX5.nih.gov>
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

Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Aaron Humphrey wrote on Friday, December 15, 2006 5:34 PM:
>> Oddly enough, it seems to.  In fact, just adding the '-c' option to
>> NROFF in man.conf, without having to remove '-Tlatin' or add the '2>
>> /dev/null' (which I'm not sure would work under tcsh anyway).  

I'm confused; wasn't that (use '-c') what I originally said the solution 
seemed to be?

>> So why do I have to 'revert to the old behaviour of grotty', which is
>> what the nroff -c seems to be doing, before man will bold things
>> properly?  
> 
> No idea.  But does it fix the prompt problem?  (Or has that already been
> fixed and I missed it?)

The prompt problem was (AFAICT) caused by man failing to turn off bold 
(at least that's what Aaron apparently confirmed). Anyway, from what I 
can see, '-c' causes a totally different 'style' of output to be 
produced that 'less' understands, which is why this makes the problem go 
away.

Personally, I have never heard of '\e[22' turning off bold. My guess 
would be that the real solution here is to fix the TERMINFO database.

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