comp.lang.ada
 help / color / mirror / Atom feed
* Keyboard Polling
@ 2004-02-18 19:08 Me
  2004-02-18 19:44 ` Björn Persson
  2004-02-18 23:08 ` Preben Randhol
  0 siblings, 2 replies; 3+ messages in thread
From: Me @ 2004-02-18 19:08 UTC (permalink / raw)


Is there an Ada function that can be called within a loop to poll for
keystrokes one character at a time?

I thought I saw one at one time, but unable to find the doc.

TIA,
Bruce





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard Polling
  2004-02-18 19:08 Keyboard Polling Me
@ 2004-02-18 19:44 ` Björn Persson
  2004-02-18 23:08 ` Preben Randhol
  1 sibling, 0 replies; 3+ messages in thread
From: Björn Persson @ 2004-02-18 19:44 UTC (permalink / raw)


"Me" wrote:
> Is there an Ada function that can be called within a loop to poll for
> keystrokes one character at a time?
> 
> I thought I saw one at one time, but unable to find the doc.

Will Ada.Text_IO.Get_Immediate do?

-- 
Björn Persson

jor ers @sv ge.
b n_p son eri nu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard Polling
  2004-02-18 19:08 Keyboard Polling Me
  2004-02-18 19:44 ` Björn Persson
@ 2004-02-18 23:08 ` Preben Randhol
  1 sibling, 0 replies; 3+ messages in thread
From: Preben Randhol @ 2004-02-18 23:08 UTC (permalink / raw)


On 2004-02-18, Me <me@me.org> wrote:
> Is there an Ada function that can be called within a loop to poll for
> keystrokes one character at a time?

Maybe not what you want, but ...

   http://www.it.bton.ac.uk/staff/je/adacraft/ch19.htm

-- 
"Saving keystrokes is the job of the text editor, not the programming
 language."



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-18 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18 19:08 Keyboard Polling Me
2004-02-18 19:44 ` Björn Persson
2004-02-18 23:08 ` Preben Randhol

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