> I traced a bit some programs and it seems that wrong key codes are sent when > I press arrow keys (I got ^[OA instead of ^[[A as expected by ncurses). > It is apparently triggered by a call to raw() or keypad() before reading input > stream (getch).
Actually, ^[OA is fine. This one is sent when the keypad is put on application mode. This is more a problem in terminfo/ncurses. Your ncurses/terminfo is choosing to send this escape sequence. So, try chasing down why this escape sequence is being sent. > PS: I'm running sparclinux-2.0.30 & I'm trying to run ncurses-1.9.9g. I had the impression that there was a newer, bug-fixed version of ncurses, the one that started the ncurses flame war, sorry, I do not know where this one is. Cheers, Miguel. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

