delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/09/07:37:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <012401c465a9$1d0ff540$4e6510ac@ds.tao.co.uk>
From: "William Blunn" <bill--cygwin AT tao-group DOT com>
To: <cygwin AT cygwin DOT com>
References: <NUTMEGbeUzmRf6Ci6nx000007a3 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Subject: Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")
Date: Fri, 9 Jul 2004 12:37:28 +0100
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i69BbWuI030212

> > What really needs to be improved is mhonarc or whatever app is used to
> > make the web archives.  It should detect when the message contains no
> > linebreaks and not use PRE but rather let the browser render it as
> > normal text, so that it will be wrapped to the width of the screen as
> > intended.
> 
>   Actually it's easier than that, I think.  All it needs to do is grep
> through the MIME headers.  If it finds the format-flowed tag, it doesn't
> insert <PRE>.  If it doesn't find it, it does.

As Brian indicated, many mail programs will not include the format-
flowed tag where it would perhaps be appropriate.

Whilst you could take the view that it is their problem, this does not
get the baby bathed.

In the real world, you would probably want to think about having a
heuristic that looked for "lines" longer than, say, 80 characters, and
flag those for wrapping as well.

Bill
-- 
William Blunn <bill at tao-group dot com>
Tao, 62/63 Suttons Business Park, Earley, Reading, RG6 1AZ, UK
Tel: +44 845 644 4458, Fax: +44 845 644 4459, Web: http://tao-group.com/

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