From: NoEmailAds AT execpc DOT com (Chris Giese) Newsgroups: comp.os.msdos.djgpp Subject: Re: How to avoid kbhit() and getkey() ? Date: Sun, 19 May 2002 02:32:38 GMT Organization: PROPULSION GROUP References: <12024 DOT 1021660112 AT www22 DOT gmx DOT net> <7999-Sat18May2002095237+0300-eliz AT is DOT elta DOT co DOT il> <3CE6268F DOT B82FB4BF AT yahoo DOT com> <8971-Sat18May2002145209+0300-eliz AT is DOT elta DOT co DOT il> <3CE66B4F DOT 839F12BA AT yahoo DOT com> <1659-Sat18May2002191601+0300-eliz AT is DOT elta DOT co DOT il> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 12 Message-ID: <3ce70f03$0$1410$272ea4a1@news.execpc.com> NNTP-Posting-Host: 51d3b40d.news.execpc.com X-Trace: DXC=4ZB?^3gVhIa4d=FBXm:>ncnc8dR=bW AT 2b0ICGTaT\Blm=EV;d7?Dn`m5A>0>f_hmHgDHEadm X-Complaints-To: abuse AT execpc DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote: >Because I didn't see any specific advice there how to go about >implementing such a function. If it's specifics you want: http://www.execpc.com/~geezer/software/kbhit.c Note: this code doesn't do anything with the non-ASCII keys such as the arrow keys. They will return different values under DOS and UNIX.