lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev stopping when viewing a site


From: Henry Nelson
Subject: Re: lynx-dev stopping when viewing a site
Date: Wed, 18 Aug 1999 09:31:12 +0900 (JST)

> Could you please summarize the two problems you are talking about?

They are both evident in the trace I sent:
   http://www.flora.org/lynx-dev/html/month0799/msg00564.html.

        HTML:begin_element[8]: adding style to stack - HeadingLeft
        SGML: Unknown entity 'reg' 174 -3
This is the one I (hope I) fixed.  I've been aware of it for a while,
but in general don't much care for those "extra" characters, so I didn't
pursue it until now.  In the past, EUC-JP (so as to not generalize) always
defaulted to the 7 bit approximations, and suddenly stopped doing so.
Not being a programmer, plus there seemingly being a *bunch* of dead code
lying around, it's hard for me to say, but it seems that someone didn't
think about what all LYCharSets[] in LYCharSets.c was doing.

> I tried to find out what happens to 'entities in the decimal 160-255 range'
> by setting display character set to a CJK one (I picked Korean, also
> tried EUC-JP), then
> loading <http://sol.slcc.edu/lynx/current/lynx2-8-3/test/ALT88592.html>.
> I got a lynx hanging(!) (looping?) in LYUCFullyTranslateString_1.

Yes, Lynx is not in as good health as some would like to think (what I
was grumbling about the other day).  I assume you did not apply my patch,
and so you are seeing the second problem I refer to.  The last two lines
in the trace I sent, which is the last output before Lynx hangs, give a
hint to what is happening:
        SGML: Start <IMG>
        stop_curses: done.
If you have an entity which is unknown within an ALT string, Lynx will
hang.  Since my patch makes entities become "known", it ends up hiding
the real problem.  Another complicating factor is that if you had
"0x5c U+00a5" (gives me a true yen sign on a Japanese Windows machine)
instead of "U+00a5:YEN" in def7_uni.tbl you wouldn't be aware of the
problem either (alt="&yen;").  "ALT88592.html" is sort of overkill :).
What tipped me off was:
        <img src="/design/pentium/qit/pix/pent1.gif" align="left" hspace="0"
        width="175" height="184" ALT="Pentium&#174; processor package">
That person trying to read the Chinese page was hanging on:
        <a href="http://www.educities.edu.tw/";><img src="/images/brand.gif"
        border="0" alt="&uml;&Egrave;&uml;&ocirc;&yen;&laquo;" WIDTH="61"
        HEIGHT="21"></a>

Don't you just love that ascii art?

__Henry

BTW, on another topic, Lynx doesn't know about "hspace".  Is that okay?

reply via email to

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