This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 9 Jul 2004 12:01:54 +0100
- Subject: RE: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")
> -----Original Message-----
> From: cygwin-owner On Behalf Of Brian Dessent
> Sent: 09 July 2004 12:02
> William Blunn wrote:
>
> > I only wish that I could go back in time and show the
> inventor of <PRE>
> > the havoc they have wreaked by making it turn off wrapping
> by default.
>
> I'm pretty sure you were joking here but if not...
>
> That's the whole point of PRE, that it *doesn't* wrap. It's for text
> that's been preformatted, with linefeeds and spacing already
> determined. If PRE were to mangle the text by wrapping it at some
> margin, it would totally defeat the purpose of the tag.
>
> 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.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/