lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx -dump wraps lines?


From: Vlad Harchev
Subject: Re: lynx-dev lynx -dump wraps lines?
Date: Tue, 31 Aug 1999 09:52:03 +0500 (SAMST)

On Mon, 30 Aug 1999 address@hidden wrote:

> In a recent note, John Hawkinson said:
> 
> > Date: Mon, 30 Aug 1999 18:04:18 -0400 (EDT)
> > 
> > I had downloaded the file with "lynx -dump", which I presumed
> > was adequate to preserve the file, given that its content-type
> > was text/plain.
> > 
> > In actuality, though, it turned out that "lynx -dump" wrapped
> > 2 long lines in the file, causing PGP signature verification to fail.
> > 
> > The URL in question, for what it is worth, is
> > "http://ca.mit.edu/mitca/sig.asc";.
> > 
> > Is there a clear answer here?
> > 
> For text/plain, use "lynx -source" rather than "lynx -dump"  For
> HTML, it's a thornier question:  Should text with no explicit <BR>
> be dumped as one enormously long line.  (Of course, this wouldn't
> bother PW :-)

 The text/html content is wrapped unconditionally  if it's outside <PRE>,
texts inside <PRE> is wrapped unless '--dont-wrap-pre' switch is used (but due
to the way support for --dont-wrap-pre is implemented, wrapping will occur at
1024th character (LINE_SIZE or something like this) - of course if unwrapped
line contain so much characters on it).

 Using wget or other downloaders could be more suitable in the case of
just downloading files.


> -- gil
> -- 
> StorageTek
> INFORMATION made POWERFUL
> 

 Best regards,
  -Vlad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]