comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Character input (no echo)....
Date: 1997/03/05
Date: 1997-03-05T00:00:00+00:00	[thread overview]
Message-ID: <1997Mar5.144903.1@eisner> (raw)
In-Reply-To: 01bc298f$ce9896e0$f5093e9f@lsm8-pc.linkabit.titan.com


In article <01bc298f$ce9896e0$f5093e9f@lsm8-pc.linkabit.titan.com>, "Marc Bejerano" <t_mjb@linkabit.titan.com> writes:
> How do I do this? I tried using a C import (remaps getch(stdin)...etc) but
> it did not have the desired effect. FWIW I am running under Win95/NT and
> would like this to be as transparent as possible so as not to be tied to
> the platform. Isn't there a C library function that will let me read the
> keyboard (including the decoding of functions keys) etc.?

Independent of Ada, some operating systems will echo characters
before a program call to read them, meaning you cannot be certain
the character hasn't already been echoed by the time your program
takes the action to avoid the echo.

Portable solutions are thus unlikely, although a good try can
be had by only hiring slow typists.

Larry Kilgallen




      parent reply	other threads:[~1997-03-05  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-05  0:00 Character input (no echo) Marc Bejerano
1997-03-05  0:00 ` Tom Moran
1997-03-05  0:00 ` Larry Kilgallen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox