Date: Mon, 8 Dec 1997 15:50:52 +0200 (IST) From: Eli Zaretskii To: Nate Eldredge cc: fighteer AT cs DOT com, djgpp AT delorie DOT com Subject: Re: keyboard problem! In-Reply-To: <199712060457.UAA07823@adit.ap.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 5 Dec 1997, Nate Eldredge wrote: > Actually, he's right: the effect of that code is to read one character from > DOS standard input. This may be a problem, since on other compilers (at > least Turbo C) `getch' reads directly from the keyboard. I have just checked, and in Borland 3.1, `getch' reads from stdin as well. Are you sure Turbo C is different? (Try redirecting stdin and see if `getch' reads a character or waits for keyboard input.)