Path: utzoo!attcan!utgpu!watmath!iuvax!purdue!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: ReadKey like Function in C Message-ID: <19095@mimsy.UUCP> Date: 15 Aug 89 14:31:18 GMT References: <148@trigon.UUCP> <225800206@uxe.cso.uiuc.edu> <1677@crdgw1.crd.ge.com> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 17 In article <1677@crdgw1.crd.ge.com> davidsen@sungod.crd.ge.com (ody) writes: > One of the constraints of X3J11 was to "codify existing practice," and >I hope that this will continue in the next C version. Therefore, since >kbhit() and getch() are probably the widest spread, I would suggest that >the MS-DOS haters would still like to adopt this convention, since it >would simplify porting programs to other operating systems. What does `kbhit()' mean when stdin is a socket? How about in a VMS batch job? What does getch() do at end of file? Before you settle onas a standard across hundreds of systems, be sure can well-defined everywhere. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris