Just trying to get the ncurses libform compiled with pdcurses - noticed a
slight difference..
Looking at the return values for the pdcurses winnstr family of functions:
All functions return OK on success and ERR on error.
Whereas the ncurses functions :
All of the functions return ERR upon failure, or the number of
characters actually read into the string.
As the libform files "frm_driver.c" function Windows_To_Buffer makes use of
this count - its causing me troubles (as pdcurses is returning 0!)
For now - I'm working around it in my version of the libform code - but which
is the "right" return value ?
Any thoughts ?
--
Mike Aubury