Date: Wed, 28 Dec 1994 17:24:21 +0800 (HKT) From: John Beukema <jbeukema@HK.Super.NET> To: FreeBSD-hackers <freebsd-hackers@freefall.cdrom.com> Subject: how to emulate kdhit()B? Message-ID: <Pine.SUN.3.91.941228171425.5173B-100000@is1.hk.super.net>
next in thread | raw e-mail | index | archive | help
I cannot get the function kbhit() which works well under SCO to work under FBSD. The function which tries to read 1 char from stdin after setting flags to nonblocking, always returns true ie, keyboard hit when the term is in 'cooked' mode. Can anyone point me to a way to do this? jbeukema
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.941228171425.5173B-100000>