lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev [PATCH 2.8.3.dev6] fixes for psrc mode


From: Vlad Harchev
Subject: Re: lynx-dev [PATCH 2.8.3.dev6] fixes for psrc mode
Date: Sat, 14 Aug 1999 18:17:58 +0500 (SAMST)

On Mon, 16 Aug 1999, Leonid Pauzner wrote:

> 13-Aug-99 01:45 Vlad Harchev wrote:
> 
> > * Now LY_SOFT_NEWLINE are used in psrc mode to denote wrapped lines (as in
> >   plain source mode).
> 
> Using this patch, still have a difference
> between "normal" source and prettysrc output Re: line breaks.
> 
> 1) LY_SOFT_NEWLINE inserted in a wrong place ( < line width)

 Can you give an example?

> 2) when printing source to the file we got different output (lines still
> truncated, at least HREF= URLs, see example below).
> 2b) unexpected lost of space between words in anchor title (example below).

 Very interesting.

 This is a diff I see on my Linux (for the same document):
=======================================
--- plain-src.html      Sat Aug 14 17:58:28 1999
+++ prettysrc.html      Sat Aug 14 18:04:47 1999
@@ -1,5 +1,6 @@
 <!-- X-URL: file://localhost/usr/local/lib/lynx_help/lynx_help_main.html.gz -->
 <BASE HREF="file://localhost/usr/local/lib/lynx_help/lynx_help_main.html.gz">
+
 <!DOCTYPE html public "-//IETF//DTD HTML 3.0//EN">
 <html>
 <head>
@@ -85,7 +86,7 @@
 <H2>Meta-indexes: lists of links</H2>
 
 <ul>
-<li><a href="http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html";>NCSA 
Mosaic</a>
+<li><a 
href="http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html";>NCSAMosaic</a>
 </ul>
 
 <H2>Search engines:</H2>
@@ -104,4 +105,3 @@
 
 </body>
 </html>
-
=======================================
 I have lss-enabled lynx-2.8.3dev6-patched being used under linux 80-cols
console.
 What lynx do you have?

 As for 'NCSAMosaic' - this problem seems to be caused by the fact, that 
GridTextc:split_line removes trailing whitespaces (but why it didn't happen in
plain src mode? - I thought it won't remove anything trailing if
LY_SOFT_NEWLINE is at the end.. ). I'll inspect this.
 BTW, if you can make your 'diff'ing easier, if you insert following lines in
your lynx.cfg:

HTMLSRC_TAGNAME_XFORM:1
HTMLSRC_ATTRNAME_XFORM:1
 -this will leave the case of tagnames and attrnames in psrc mode.

 And don't forget that attributes are converted to the display charset, so
you'll probably won't get exactly the same document.

 Best regards,
  -Vlad


reply via email to

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