Before anything else...
- Windows XP Terminal
- Portuguese keyboard layout
- Win32 for MinGW Win32
I'm using the PDCurses port of curses. I found myself having to (re)define most of the key mappings. Some keys are absent(!) from curses.h (most notable return, enter, escape, spacebar,...), while others have the wrong codes. Only a small subset of the constants defined in curses.h were compatible with my system.
Everything is working fine. But I do have a couple questions...
First, is this expected? PDCurses documentation makes no mention at the need to have to redefine the key mappings. I'm particularly curious because instead of compiling the source code myself I downloaded a port for MinGW for Win32.
Second, I'm expecting the key mappings to not be portable across systems, so I added them to a solo header file and documented them as non portable. But can I expect them to also be non portable across different terminals on the same system? And what of keyboards?
EDIT: Should this be on the C board instead?