Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pacbell!att!ihnp4!ihlpe!dcon
From: dcon@ihlpe.ATT.COM (452is-Connet)
Newsgroups: comp.lang.c
Subject: Re: Using arrow keys with curses.
Message-ID: <3046@ihlpe.ATT.COM>
Date: 15 Jun 88 13:27:56 GMT
References: <1162@mcgill-vision.UUCP> <412@jc3b21.UUCP>
Reply-To: dcon@ihlpe.UUCP (David Connet)
Distribution: na
Organization: AT&T - Naperville, Illinois
Lines: 9

In article <412@jc3b21.UUCP> larry@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