X-Spam-Check-By: sourceware.org
X-YMail-OSG: L6iYJVgVM1nYWEyj3OaHzonc6VleUyAhsRr.86gKZs_p6w_luD7Q5wyvoaEMe4ifnyfC4.an8uH_gcR3ihvPCHeqCYfUza3yCkNK1nS2XvMer9IuqBNGdPsr15j6OTXxH5kgLLbTP0cKDCr0HjZEpD9QylZsvHZ_40Mo_ek_Q8CWR6QWX59E
Message-ID: <46040543.6030602@sbcglobal.net>
Date: Fri, 23 Mar 2007 11:50:11 -0500
From: "Mark S. Reglewski" <msrski@sbcglobal.net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Extraneous characters in mutt text manual?
References: <46039BF7.6050307@sbcglobal.net> <4603C846.7060204@byu.net>
In-Reply-To: <4603C846.7060204@byu.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Eric Blake wrote:
>> According to Mark S. Reglewski on 3/23/2007 3:20 AM:
>> less /usr/share/doc/mutt-1.4.2.2/manual.txt
>>
>> I get a display like this:
>>   <B7>  ESC[1mset-flag ESC[22m(default: w)
>> 
>> Does anyone else observe this, or is this a me-only problem?
> 
> I'm guessing that you also upgraded man.  There is a known bad interaction
> between the current default man settings and the PAGER environment
> variable.  A quick search of the list shows this:
> http://cygwin.com/ml/cygwin/2007-03/msg00086.html
> 
Thanks Eric for the quick response. I checked the reference you cited, 
which is a discussion of bollixed man page display. It's a related 
problem, but not quite the same as this situation. If I invoke...

man any_man_page

...display of the man pages is fine. The suggested fix for the chap 
whose man page display was hosed -- invoking "less -isrR" -- does clean 
up the display of the mutt manual.txt file considerably: the numerous 
escape code sequences disappear, leaving only a few formatting codes in 
the form <letter digit>. The document becomes humanly readable with the 
workaround.

Forgive a naive question from a naive user: should there be any 
formatting codes/escape sequences at all to work around in what's 
supposed to be a plaintext file? /usr/share/doc/mutt-1.4.2.2/manual.txt 
gives this as it's last line: "This document was written in SGML, and 
then rendered using the sgml-tools package." Haven't the utilities used 
to render the plaintext file from its SGML source left unwanted gunk in 
this instance?

Cordially,
Mark

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

