X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthew Woehlke <mw_triad@users.sourceforge.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@mail.gmail.com> <31DDB7BE4BF41D4888D41709C476B657041694E1@NIHCESMLBX5.nih.gov>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

