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?")


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


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