X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Matthew Woehlke Subject: Re: Weird cosmetic bug after viewing bash man page Date: Mon, 18 Dec 2006 10:46:53 -0600 Lines: 28 Message-ID: References: <31DDB7BE4BF41D4888D41709C476B657041694E1 AT NIHCESMLBX5 DOT nih DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/