On Tue, 9 Nov 1999 [EMAIL PROTECTED] wrote:
[kw:]
> >>I would compare the 2.8.2 version of HTCheckForInterrupt with the
> >>current one, esp. w.r.t. ifdef'ing.
>
> The problem was indeed in the function that you suggest: It is an
>
> #ifndef _WINDOWS
> #ifdef USE_SLANG
>
> that should read:
>
> #ifdef _WINDOWS
> #ifdef USE_SLANG
>
> Once you correct the strange misspelling of ifndef above, you get a
> working - and stable - lynx.exe for both slang and pdcurses.
It's more than a strange misspelling. If you just change the 'ifndef'
to 'ifdef', the result is that the code thet should be used for Unix
(at least) gets skipped. That's certainly not the right way to correct
it.
Someone, it seems, forgot to provide an '#else' branch for _WINDOWS.
Maybe the
#if defined (DOSPATH) && defined (NCURSES)
nodelay(stdscr,TRUE);
#endif /* DOSPATH */
stuff that follows is supposed to be a substitute for that, in
some way.
It is something you _WINDOWS / DOSPATH guys have to sort out
(It seems you can't even agree on which preprocessor symbols
to test...), but at least don't take the UNIX and VMS code
with you into the chaos.
> I posted
> the pdcurses version of November 3 source on alt.binaries.misc, just so
> you can see this.
Sorry - that may be a time-honored method for distributing stuff, but
don't expect that it is today usable for most folks. (You really
should get 'diff'.)
Klaus