Guillaume Rousse wrote:
Ainsi parlait Frank Heckenbach : [..]
Everything now seems to be fine, however, CRT extension doesn't work -(
I don't know. I've heard that some versions of some distributions (mostly RH, but perhaps also Mandrake) ship with a broken version of ncurses, but I don't know the details ATM. Does it make a difference if you try it on the console or in an xterm? Do other ncurses programs work?
Actually, you're right, everything is OK on console. Except accentuated characters, but that's another problem :-) I also RTFM, and i found deep in info page that the -DX11 switch was needed for using CRT under X11.
As noted by others, you don't *need* it. It's an alternative to compile the program such that it will run in its own window.
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.95.3/units/crtx.c:35: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.95.3/units/crtc.c:62: xcurses.h:
I checked, thos xcurses.h and xpanel.h doesn't exist neither on my current system, nor in any available mandrake package....
You need PDCurses for that. I don't know if there's a Mandrake package of it, but the sources and generic binaries can be had from ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/libs/
Frank