On Wed, 29 Mar 100, T.E.Dickey wrote:
> > (for example, 'ln -s /usr/include/slcurses.h /usr/include/curses.h',
> > and similar for the libs). Try to configure and compile Lynx so that
> > it thinks it's using curses. Theoretically this should work...
>
> not even close.
>
> there's no "initscr" function in the library...
Of course you have to do the headers and the lib together.
Nobody expects binary compatibility.
slcurses.h has
#define initscr SLcurses_initscr
so the interface is there in some form.
I don't claim that it *will* work, just that I've outlined a way
to test it.
Oh, and of course you may have to explicitly work around the do-called
fix-for-lynx in slcurses.h (modify it, or modify Lynx source to make
sure LYCURSES_H is undefined when slcurses.h is included (under the
name curses.h)).
klaus