Couperin wrote:
On 23 Apr 2002 at 0:25, Frank Heckenbach wrote:
Couperin wrote:
In programs compiled using the CRT unit, the keys /, *, -, + and ENTER of the numeric keypad are no longer availables (they display other characters). How to solve this problem ?
Does this happen only recently (since the update of PDCurses for DJGPP)?
It's an old problem I always had, I think, but it becomes really annoying.
I see. When you wrote "no longer", it didn't sound exactly like an old problem. Please always state exactly what you mean, otherwise you might lead us on a false trace (especially now that Maurice updated PDCurses for DJGPP just a few days ago).
BTW, I don't think you've stated yet whether you use DJGPP, Cygwin or mingw.
The problem appears with Readln
Another important information that was missing in the original mail.
This makes a big difference, since on the curses level, this calls wgetnstr rather than wgetch. CRT passes the output of wgetnstr through unchanged, so the problem seems to be in PDCurses (perhaps DJGPP specific, since it works for me on PDCurses/X11, with NumLock turned on, of course). So you might want to report it to the PDCurses author.
Frank