comp.lang.ada
 help / color / mirror / Atom feed
From: emery@grebyn.com (David Emery)
Subject: Re: Getting a single key stroke
Date: 1996/05/06
Date: 1996-05-06T00:00:00+00:00	[thread overview]
Message-ID: <emery-0605961925540001@line339.nwm.mindlink.net> (raw)
In-Reply-To: dewar.831339829@schonberg


In article <dewar.831339829@schonberg>, dewar@cs.nyu.edu (Robert Dewar) wrote:

> Joh Herro said
> 
> "     I don't think it's possible to get a single keystroke in a "somewhat
> portable" manner in Ada 83.  Even in Ada 95, which has a "portable"
> routine to do that, there are no guarantees that the routine will work on
> all systems!"
> 
> Well there are no guarantees because there are sysmtes on which getting
> a single keystroke is impossible or is a meaningless concept, but you
> can assume that all Ada 95 compilers will support this in appropriate
> environments. During its development, some versions of GNAT did not
> support this (indeed some versions of GNAT did not, and some still do
> not) support tasking, but as the technology develops, and implementations
> mature, I think you will be able to count on Get_Immediate as solidly
> as you can count on any other feature of the language.

There's a 'portable' solution for (Ada83) POSIX-compliant systems in the FAQ
on the HBAPP web site.

            dave




      reply	other threads:[~1996-05-06  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-04  0:00 Getting a single key stroke James Eder
1996-05-05  0:00 ` John Herro
1996-05-05  0:00   ` Robert Dewar
1996-05-06  0:00     ` David Emery [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