Isn't there some sort of idle-loop that is called while Lynx is waiting for
a keypress? 

I once committed this change for Watt-32/djgpp in HTdos.c:
----------------------------------
int getxkey (void)
{
    __dpmi_regs r;

    /* poll tcp/ip lib and yield to DPMI-host while nothing in
     * keyboard buffer (head = tail) (simpler than kbhit).
     */
    while (_farpeekw(_dos_ds, 0x41a) == _farpeekw(_dos_ds, 0x41c))
    {
       tcp_tick (NULL);
       __dpmi_yield();
    }
..
----------------------------------

This no longer (as of 2.8.4dev?) works; tcp_tick() isn't called. Hence
ping's and closing sockets aren't handled.

In LYstring.c there is "#define GetChar getxkey". I tried to follow this 
code, but failed to understand how keypresses are read.

Here are some of my CFLAGS:
USE_SLANG, USE_MOUSE, FANCY_CURSES, IGNORE_CTRL_C,
DJGPP_KEYHANDLER.

Did I miss some flags here?

Gisle V.


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to