Thanks, the three of you have answered with alternative options.
1. I cannot use CRT unit because of the combination of non-echo and use of control characters. Also, given the complexity of the application's screen handling I'm probably better off at the ncurses level.
2. I would prefer to use the FPC ncurses unit or modify it than go from scratch. I am willing to put some effort in but would like to see it donated to the GPC effort than just my personal use.
Questions: If I test/modify the FPC unit for GPC, and give credit where due, can that be put into GPC as an available interface? I'd probably use the Extended Pascal module syntax rather than the uses syntax, unless one of you tells me that will cause problems. Do I need permission from someone before starting? (Don't want to do an effort then find out it can't go back into GPC.)
Thanks!
Willett Kempton Visible Software
On 11 Mar 2005, at 7:29 AM, Rick Engebretson wrote:
FPC has a complete ncurses unit that might just slip right in GPC. Of course credit is due the author.
On 11 Mar 2005, at 2:44 AM, Frank Heckenbach wrote:
There is no Pascal (GPC) translation of the ncurses interface AFAIK. You can write one yourself which is a bit of work. Or use the CRT unit instead ... ;-)
Frank
Maurice Lombardi a écrit:
You need to write a Pascal import unit for ncurses, which translates the C syntax declarations in ncurses.h to pascal equivalents. Something like