I seem to have broken lynx, but I don't know how.

I jumped from dev16 (I'm pretty sure - don't think it was dev18,
but I can feel premature senility creeping up behind me) to
dev22.  Printing worked in dev16.  In dev22 the "Printer Options"
page always prints, no matter what page I *try* to print.  From
the trace output (excerpted below), I deduce that there's either
an LYpush(optionspage) that shouldn't be there, or a missing
LYpop(pagetoprint).

Also, after printing, I end up on the options page instead of
back on the page-that-was-to-be-printed.

Some things that seem odd to me:

1) Am I the only one with this problem, or has no one else tried
printing from dev22?

2) The problem seems to be retroactive.  I backed out patches
back to dev16, and printing still didn't work.  Then I applied
patches forward from the last public release.  Printing worked
through dev14, and stopped working in dev15.  There's probably
an obvious explanation, but it's escaping me at the moment.  Bit
rot?  Gremlins?  User error?

I'm poking around in the source, etc., in sort of a "Teach
Yourself C" kind of way, but don't expect much in the way of
results, since I have no idea what I'm doing.

        Partial trace of attempted "Print to Screen", earliest
        non-working version:

                Lynx Trace Log (2.8.3dev.15)

User message: Trace ON!
LYOpenTempRewrite(,.html,w)
LYOpenTemp(,.html,w)
-> '/tmp/warner/L18776-1TMP.html'
... LYOpenTemp(/tmp/warner/L18776-1TMP.html)
LYCloseTempFP
...LYCloseTempFP(/tmp/warner/L18776-1TMP.html)

LYpush[0]: address:http://www.thehungersite.com/thankyou-cgi-ht1.html
        title:The Hunger Site - Thank You For Your Donation
getfile: getting file://localhost/tmp/warner/L18776-1TMP.html

HTParse: aName:`file://localhost/tmp/warner/L18776-1TMP.html'
   relatedName:`'

        [...]

HTAccess: `file://localhost/tmp/warner/L18776-1TMP.html' has been accessed.
GridText: HText_pageDisplay at line 1 started
GridText: HText_pageDisplay finished

LYpush[1]: address:file://localhost/tmp/warner/L18776-1TMP.html
        title:Printing Options

        [^^^Culprit?]

getfile: getting LYNXPRINT://TO_SCREEN/lines=15

HTParse: aName:`LYNXPRINT://TO_SCREEN/lines=15'
   relatedName:`'
HTParse:      result:TO_SCREEN
LYpop[1]: address:file://localhost/tmp/warner/L18776-1TMP.html
     title:Printing Options

        [^^^Should be LYpop[0], right?]

HTParse: aName:`file://localhost/tmp/warner/L18776-1TMP.html'
   relatedName:`'
HTParse:      result:
Entered HTAnchor_findAddress
Anchor 140176600 with address `file://localhost/tmp/warner/L18776-1TMP.html' already 
exists.
HTAccess: loading document file://localhost/tmp/warner/L18776-1TMP.html
HTAccess: Document already in memory.
stop_curses: done.
start_curses: done.
GridText: HText_pageDisplay at line 1 started
GridText: HText_pageDisplay finished


        Partial trace of attempted "Print to Screen", latest
        working version (dev14):

                Lynx Trace Log


LYpush: address:http://www.thehungersite.com/thankyou-cgi-ht1.html
        title:The Hunger Site - Thank You For Your Donation
getfile: getting file://localhost/tmp/warner/L15358-0TMP.html

HTParse: aName:file://localhost/tmp/warner/L15358-0TMP.html   relatedName:

        [...]

HTAccess: `file://localhost/tmp/warner/L15358-0TMP.html' has been accessed.
getfile: getting LYNXPRINT://TO_SCREEN/lines=15

HTParse: aName:LYNXPRINT://TO_SCREEN/lines=15   relatedName:
HTParse: result:TO_SCREEN
LYpop: address:http://www.thehungersite.com/thankyou-cgi-ht1.html
     title:The Hunger Site - Thank You For Your Donation
HTParse: aName:http://www.thehungersite.com/thankyou-cgi-ht1.html   relatedName:
HTParse: result:
Entered HTAnchor_findAddress
Anchor 1400da600 with address `http://www.thehungersite.com/thankyou-cgi-ht1.html' 
already exists.
HTAccess: loading document http://www.thehungersite.com/thankyou-cgi-ht1.html
HTAccess: Document already in memory.

-- 
Michael Warner
<[EMAIL PROTECTED]>

Reply via email to