Hi
My GPC port of the FPC ncurses unit: http://gnu-pascal.de/contrib/chief/ncurses.zip
Note that there were linker problems with the "acs_map" variable. You can avoid the linker problems by treating acs_map as an internal (not external) variable. But this probably means missing some functionality. You might have to rebuild your ncurses library, configuring with "--enable-broken_linker" to solve it. I don't know about these things.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Prof A Olowofoyeku (The African Chief) wrote:
Hi
My GPC port of the FPC ncurses unit: http://gnu-pascal.de/contrib/chief/ncurses.zip
Note that there were linker problems with the "acs_map" variable. You can avoid the linker problems by treating acs_map as an internal (not external) variable. But this probably means missing some functionality. You might have to rebuild your ncurses library, configuring with "--enable-broken_linker" to solve it. I don't know about these things.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
I wish I could do justice to the quality of J. Pfeiffer's Ada-libplot binding; both the programming and the documentation. If you or a student install it on a linux system, you could probably finish Pascal-libplot bindings in a similar fashion. My effort is to try adapt a libplot "plotter" device suitable for the video framebuffer (don't know if useful or not).
Sincere thanks for many considerations. I hope we are closer to infrastructure capable software.
Best regards, Rick.
On 16 Mar 2005 at 6:51, Rick Engebretson wrote: [...]
I wish I could do justice to the quality of J. Pfeiffer's Ada-libplot binding; both the programming and the documentation. If you or a student install it on a linux system, you could probably finish Pascal-libplot bindings in a similar fashion.
I doubt that my students, being all lawyers and social scientists, could do it.
My effort is to try adapt a libplot "plotter" device suitable for the video framebuffer (don't know if useful or not).
Don't know anything about these devices. Perhaps if I had the Ada sources, it may be possible to write a small program to do the porting to GPC ...
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.greatchief.plus.com/
Prof. A Olowofoyeku (The African Chief) wrote:
On 16 Mar 2005 at 6:51, Rick Engebretson wrote: [...]
I wish I could do justice to the quality of J. Pfeiffer's Ada-libplot binding; both the programming and the documentation. If you or a student install it on a linux system, you could probably finish Pascal-libplot bindings in a similar fashion.
I doubt that my students, being all lawyers and social scientists, could do it.
My effort is to try adapt a libplot "plotter" device suitable for the video framebuffer (don't know if useful or not).
Don't know anything about these devices. Perhaps if I had the Ada sources, it may be possible to write a small program to do the porting to GPC ...
Best regards, The Chief
Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.greatchief.plus.com/
The link to gnu ada (gnu pascal sister language) is here;
http://www.gnuada.org/rpms313p.html
The problem is the sources are installed as RPMs (Red Hat Packages). The best way to see these RPMs is to install on a compatible platform. Further, gnu ada (gnat) breaks up the code into a "spec" file (*.ads) containing the declarations (or prototypes) and a "body" file (*.adb) containing the procedure definitions. What is so elegant is the comments and other documentation included in this work, lots of cross referenced HTML. Real artistry. I think you can sustain this high level of quality, I'm a hack.
As for the "plotter" issue, please don't mind this. The Gnu plotutilities merely draws to an abstract "plotter." As currently set up, the "plotter" can be set as an Xwindow, a GIF file, a postscript printer, or many other "devices." A "plotter" is just an abstract output format. Great for hacking.
The nicest feature of libplot is the vector graphics; circle, square, lineplots, scalable fonts, real time, the works. Yet the calling functions are remarkably simple. You will find the C calls very similar to ncurses.
I can transcribe the binding alright. Just like I can sing and play guitar. But not in public.
Thanks again, Rick.