larryd1@killer.DALLAS.TX.US (Larry Clark) (05/23/89)
I'm trying to port an application originally written under curses and Sys V to Ultrix-32 rev 3.64 and am having a problem getting the cursor keys to return the correct values defined in cursesX.h i.e. KEY_UP, KEY_DOWN etc. I'd try reading the manuals but they haven't arrived yet and my boss is breathing down my neck to get the applications ported. keypad(stdscr, TRUE) has been done just as in Sys V. I ported tic and untic to the environment today and I see the correct definitions in the untic'ed file. It seems to me that curses is seeing the lead in char for the start of the fuction key string but returns only the lead in char ie for a vt100 ascii 27. Has anyone in net land run into this before and if you did, how did you make the thing work? Any help is greatly appreciated Larry D. Clark