This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")


Dave Korn wrote:

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

I think it needs a little more intelligence than that.  A message that
has a Content-Transfer-Encoding of quoted-printable can be both
preformatted with linebreaks, or flowed.  You could even have a mix of
both in the same message.  It all depends on whether each line ends in
'=' or not.  

If you go back and look at William's original message that started all
this, there's no 'flowed' tag at all, just QP-encoding.

Brian

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]