Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: ReadKey like Function in C Message-ID: <18919@mimsy.UUCP> Date: 7 Aug 89 04:28:53 GMT References: <148@trigon.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 20 In article <148@trigon.UUCP> immi@trigon.UUCP (immi) writes: >I am a real beginner in C but I'm looking for a Function that will only >read a single character from the keyboard, without confirming it with an >ENTER. Can anybody help me with this ? Not in a C newsgroup, no. C runs on (among other things) the Univac 1100 series with input fed through Microdata concentrators, which do not hand input to the CPU until they see a line terminator. There is no way to read a single character from such a virtual card punch; the hardware simply does not allow it. (Actually, the Microdata can be reprogrammed, but your average computer center is not likely to let you do it.) Now, if you wanted a VMS-specific method, or a PrimeOS-specific method, or an MS-DOS specific method, or any other X-specific method, you could go ask in some newsgroup devoted to X. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris