In order to make the Pascal interface to ncurses work on all GPC systems, I have developed a configuration program that substitutes the few types that are not taken care of at the gnu Pascal source code level. I'm also hoping this will make it general enough to include in the gnu Pascal distribution.
I have only one type of computer running gnu pascal (Mac OSX), so it would be helpful if a couple of those on the list try configuring this and report problems. A .tar.gz file of sources is attached.
This is NOT the full ncurses.pas package. I'm just asking for reports on whether the configuration process works on different gpc platforms. If you want the full ncurses, wait a few weeks for one incorporating this configuration, or get the limited-platform version now at: http://www.microbizz.nl/gpc.html
A simple test (extracted from the ncurses.configure.txt document) is: ---------- First, unpack the ncurses-gpc archive, using a command like: $ tar -zx <ncurses-gpc-20051218.tar.gz
Second, from within the directory that the archive was unpacked into, run configure: $ configure (Ignore the: "198: warning: identifiers should not start with an underscore")
Test that ncurses.pas has a valid type definition for chtype: $ grep ' chtype =' ncurses.pas
And test that the version in ncurses.pas corresponds to your installed ncurses: $ grep NCURSES_VERSION ncurses.pas ------------- If problems, look first at ncurses.configure.txt.
Please let me know of positive or negative results. Thanks!
Willett Kempton Visible Software
On Sun, 18 Dec 2005, willett wrote: [..]
I'm just asking for reports on whether the configuration process works on different gpc platforms.
[..]
Test that ncurses.pas has a valid type definition for chtype: $ grep ' chtype =' ncurses.pas
passed ok
And test that the version in ncurses.pas corresponds to your installed ncurses: $ grep NCURSES_VERSION ncurses.pas
passed ok
i686 GNU/Linux
Do not have "gp" installed. Compiles ok with "gpc --automake -c ncurses.pas -lncurses"
russ