From: Kenneth Falck (kennu@mits.mdata.fi)
Date: 09/27/92


From: kennu@mits.mdata.fi (Kenneth Falck)
Subject: Curses nodelay() call missing?
Date: 27 Sep 1992 16:30:03 GMT

I was trying to put together a little piece of code using
the curses library (GCC 2.2.2d and jump tables 4.1), but
can't seem to be able to use getch() without halting the
program until a key is pressed.

I understand that usually you should use nodelay() to
make getch() return ERR when no keystroke is available,
but it doesn't exist in the curses.h include file. cbreak()
and nocbreak() do exist, and are some sort of #defines, so
I wonder if it'd be an easy job to add a #define for nodelay()...

If this is a bug of some sort in the curses library, I hope
it gets fixed in the public release, though somehow I suspect
I've misunderstoor something... (I've been reading the SysV
manpages for curses.h.)

-- 
kennu@mits.mdata.fi