[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx idle-loop
From: |
Gisle Vanem |
Subject: |
Re: lynx-dev Lynx idle-loop |
Date: |
Thu, 18 Jul 2002 10:01:11 +0200 |
"Doug Kaufman" <address@hidden> said:
> I just looked at a 2.8.5dev.8 that I compiled with slang with DJGPP.
> I don't have FANCY_CURSES defined, nor USE_MOUSE. I thought that
> USE_MOUSE was in lynx.cfg rather than a CFLAG, and last time I checked
> slang didn't support mouse under DOS. Has this changed?
SLang has supported mouse under DOS since a few versions back. I
commited a patch to John E. Davis.
> It looks like
> your "while" condition is the same as is used in "kbhit", so it ought
> to apply when there is no keypress.
But it doesn't. Lynx is *not* blocking in getxkey(), but someplace else.
I'm trying to find where, but the code is so hard to follow. I tried inserting
a "tcp_tick(NULL)" at the start of the while-loop in mainloop(), but that
didn't help. I need to find the point where Lynx is blocking waiting for
keypresses. It used to be getxkey(), but now it seems it's no longer called.
I'll check it out.
> I don't understand how you got FANCY_CURSES defined when using slang?
> Which options did you use when you ran "configure"?
I didn't ran configure. I used my own makefile.
> How do I tell if tcp_tick is being called?
One way is to run with "-wdebug" and look at the wattcp.sk file
for activity when Lynx is idle.
Gisle V.
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden