-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi,

> The Lynx.trace file in your home directory would contain some information,

aha!  learn something new every day :-)

> for instance:
                Lynx Trace Log (2.8.6dev.17)

in my case,

% cat Lynx.trace

                Lynx Trace Log (2.8.6dev.17)

opening config file /usr/local/lib/lynx.lss
HStyle_addStyle(normal:         normal:                 lightgray:black)
HStyle_addStyle(default:        normal:                 white:black)
...
HStyle_addStyle(span.htmlsrc_badattr:normal:            red)
HStyle_addStyle(span.htmlsrc_sgmlspecial:normal:        yellow)
LYNX_SIG_FILE set to '/var/root/.lynxsig'
HTMLDTD: Copying strict DTD element info of size 6188, 119 * 52
Loading cfg file '/usr/local/lib/lynx.cfg'.
opening config file /usr/local/lib/lynx.cfg
LYReadCFG: ignored COLOR:6:brightred:black
LYFindLocaleCharset(0)
Found name "US-ASCII" -> 1
HTParse: aName:`http://lynx.isc.org/'
   relatedName:`'
   want: punc anchor path host access
HTParse: (ABS)
HTParse:      result:`http://lynx.isc.org/'
parse_arg(arg_name=-verbose, mask=4, count=1)
parse_arg lookup(verbose)
parse_arg(arg_name=-trace, mask=4, count=2)
parse_arg lookup(trace)
...skip (mask 4/2)
HTMLSetCharacterHandling: LYRawMode changed OFF -> ON
ProcessMailcapFile: Loading file '/usr/local/lib/mosaic/mailcap'.
ProcessMailcapFile: Could not open '/usr/local/lib/mosaic/mailcap'.
ProcessMailcapFile: Loading file '/var/root/.mailcap'.
ProcessMailcapFile: Could not open '/var/root/.mailcap'.
HTFormat: Looking up presentation for text/plain to www/present
FindPresentation: found exact match: text/plain
HTFormat: Looking up presentation for text/html to www/present
FindPresentation: found exact match: text/html
HTFilterPresentations (AcceptMedia 0x1)
HTFileInit: Loading default (HTInit) extension maps.
HTLoadExtensionsConfigFile: Loading file '/usr/local/lib/mosaic/mime.types'.
HTLoadExtensionsConfigFile: Could not open
'/usr/local/lib/mosaic/mime.types'.
HTLoadExtensionsConfigFile: Loading file '/var/root/.mime.types'.
HTLoadExtensionsConfigFile: Could not open '/var/root/.mime.types'.


> 
> though looking at the code, I don't see that it would be tracing something
> relevant to this problem.  If I were debugging it, I'd add to the beginning
> of html_src_parse_tagspec() something to show the text it's trying to parse,
> e.g.,
> 
>       CTRACE((tfp, "html_src_parse_tagspec(%s)\n", NonNull(ts)));
> 
> or (inside the loop at line 190 of LYPrettySrc.c):
> 
>       CTRACE((tfp, "html_src_parse_tagspec(%d:%s)\n", state, NonNull(ts)));
> 
> There are 8 places in that function that return a nonzero value - I would
> also add a CTRACE call to those positions (adding curly braces as needed),
> to see where it returns - which would give some clues.

i'll see what i can figure out ...

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Darwin)

iEYEAREDAAYFAkQLH3gACgkQlffdvTZxCMZ6eACfeFycuRHb21s+nLG4M+lDtEXC
rvsAnjpoK2ZcRMDa/7Z0+kCzmJibxTNI
=EEYd
-----END PGP SIGNATURE-----



_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to