Using arrow keys with curses.

452is-Connet dcon at ihlpe.ATT.COM
Wed Jun 15 23:27:56 AEST 1988


In article <412 at jc3b21.UUCP> larry at jc3b21.UUCP (Lawrence F. Strickland) writes:
>Of course, it goes without saying that if you are using System V.2.0.4 or
>later, curses comes with a routine (wgetch) that picks up these as
>'extended' key codes (KEY_UP, etc).

Provided, of course, that you enable the keypad with
'keypad(window,TRUE);'  where window will "normally" be stdscr.

Dave Connet
ihnp4!ihlpe!dcon



More information about the Comp.lang.c mailing list