delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/09/07:03:34

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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin 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:01:54 +0100
MIME-Version: 1.0
In-Reply-To: <40EE7B15.3EB2B368@dessent.net>
Message-ID: <NUTMEGbeUzmRf6Ci6nx000007a3@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 09 Jul 2004 11:01:54.0843 (UTC) FILETIME=[25529EB0:01C465A4]

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019