Date: Mon, 8 Dec 1997 18:10:24 -0800 (PST) Message-Id: <199712090210.SAA12019@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii From: Nate Eldredge Subject: Re: keyboard problem! Cc: fighteer AT cs DOT com, djgpp AT delorie DOT com Precedence: bulk At 03:50 12/8/1997 +0200, Eli Zaretskii wrote: > >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.) No, you're right. Silly me, I believed Turbo C's documentation. :) Nate Eldredge eldredge AT ap DOT net