Russell Whitaker wrote:
On Sun, 10 Apr 2005, Frank Heckenbach wrote:
Russell Whitaker wrote:
Program below illustrates a bug: lower case a, lower case f thru z, and number 0 are printed with graphic characters. This bug did not appear in earlier versions of slackware.
[..]
If so, Russ, you could try this patch (touch crt.pas after applying to force recompilation):
[..]
Patch works. Just to be sure tried it with both ncurses-5.3 and ncurses-5.4
Thanks, Russ
Besides patching patches, I think you should work with this GPC programmer;
***************************** -- his recent announcement -- "GPC Pascal programmers:
I have gotten a complete ncurses interface working for GNU Pascal. I have tested it on MaxOSX (using unix prompt), although more testing is needed. This is the UNIX terminal ncurses, no graphics.
The interface file (ncurses.pas), one-page documentation (ncurses.txt) and a few test files (*.pas) are attached as a gzip tar file (16k). Any testing or suggestions are welcome.
After testing, and after I get at least one more library confirmed (menu), I would like to submit this as a candidate to include in the GPC Pascal package.
Sincerely,
willett kempton Visible Software
willett@UDel.Edu " ****************************
He has a direct interface to the ncurses libraries and has already submitted a unit.
A similar situation exists for FPC. The nCRT and oCRT units are fine units written by Ken Wright. But, besides adding another layer or two, these units offer incomplete access to the ncurses library.
If you really want to program ncurses, program ncurses.