From: erc@apple.com (Ed Carp) Subject: Re: Curses:where are nodelay() and keypad()? Date: Wed, 11 Aug 1993 07:50:44 GMT
Allen M. Ashley (ashley@cco.caltech.edu) wrote:
: The man pages on CURSES describe the routine nodelay(win,bool)
: that enable/disable waiting for a character and keypad() which
: returns a unique single value for cursor control keys instead
: of the multi-byte sequence that you get by default. I tried
: to use these routines in a small program key.c that I compiled
: as:
: cc -o key ky.c -lcurses -ltermcap
: I used the initwin()/endwin() stuff. The loader quits, being
: unable to find nodelay() or keypad(). Does anybody know what
: is going on? One friend says the routine nodelay() is not
: described in the O'Reilly book. Is the man out of date? Are
: there other routines to replace these?
I think the curses library you're referring to is the port of the net-2
BSD curses library, which doesn't support nodelay or keypad (both of which
are SYSV'isms). On the other hand, ncurses supports both routines.
Available at the linux FTP server nearest you. :)
--
Ed Carp, N7EKG erc@apple.com 510/659-9560
anon-2133@twwells.com
If you want magic, let go of your armor. Magic is so much stronger than
steel! -- Richard Bach, "The Bridge Across Forever"