I've written a program using curses under AIX that works great with
one terminfo file, but not another. When using the problem terminfo
('ansi'), any function key pressed has the value decimal 1864 (aka
KEY_FN(0)) returned from the getch() function. If I don't use the
keypad() function, it returns decimal 27 (ESC).
When at the command line using 'cat -v', the function keys seem to be
delivering the codes as defined for the function keys in the terminfo
file, but they're simply not returned from getch(). Any clue what the
problem is??
Thanks.