Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP Path: utzoo!lsuc!jimomura From: jimomura@lsuc.UUCP (Jim Omura) Newsgroups: net.micro.6809 Subject: Re: Portable "inkey" function in OS9 C Message-ID: <892@lsuc.UUCP> Date: Sat, 2-Nov-85 13:21:26 EST Article-I.D.: lsuc.892 Posted: Sat Nov 2 13:21:26 1985 Date-Received: Sat, 2-Nov-85 13:56:45 EST References: <293@sask.UUCP> Reply-To: jimomura@lsuc.UUCP (Jim Omura) Distribution: net Organization: Barrister & Solicitor, Toronto Lines: 21 Summary: Inkey in C In article <293@sask.UUCP> mcdonald@sask.UUCP (Shane McDonald) writes: >Has anyone wrote a function similar to "inkey" >used in CoCo Basic in C? I've tried, but any >thing that will work in OS9 won't work on UNIX >(gotta stay portable!) Is this possible? >Or, if not, can anyone tell me how to do it on OS9 >without screwing up stdin - I think it is possible >using a getstat call, but I haven't figured it out yet. >Thanks. >-- >Shane McDonald >(ihnp4!sask!mcdonald) I don't see the point? Why not use getc(stdin)? -- James Omura, Barrister & Solicitor, Toronto ihnp4!utzoo!lsuc!jimomura Byte Information eXchange: jimomura Compuserve: 72205,541 MTS at WU: GKL6