comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: How to exit a loop with keyboard input
Date: Mon, 12 Apr 2010 12:16:52 -0400
Date: 2010-04-12T12:16:52-04:00	[thread overview]
Message-ID: <nospam-B85C43.12165212042010@news.aioe.org> (raw)
In-Reply-To: 20100412181434.dd154269.tero.koskinen@iki.fi

In article <20100412181434.dd154269.tero.koskinen@iki.fi>,
 Tero Koskinen <tero.koskinen@iki.fi> wrote:

> On Mon, 12 Apr 2010 03:36:42 -0700 (PDT) Jerry wrote:
> 
> > Thanks, Georg and Manuel, for testing. I'm on OS X 10.5.8 and:
> 
> Most likely Get_Immediate is not implemented for OS X and
> the code is defaulting to blocking behaviour.
> 
> Look at getc_immediate_common in sysdep.c.
> 
> I have there (gcc 4.3.4) following #ifdef jungle:
> ...
> {
> #if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
>     || (defined (__osf__) && ! defined (__alpha_vxworks)) \
>     || defined (__CYGWIN32__) || defined (__MACHTEN__) || defined (__hpux__) \
>     || defined (_AIX) || (defined (__svr4__) && defined (i386)) \
>     || defined (__Lynx__) || defined (__FreeBSD__) || defined (__OpenBSD__)
> ...
> 
> __MACHTEN__ might be related to OS X, but I don't have a Mac around, so
> I am just guessing.

For reference, MachTen is a product to run the GNU development toolset, 
including GNAT, on Mac OS 9.

<http://www.tenon.com/products/machten/>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2010-04-12 16:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12  4:12 How to exit a loop with keyboard input Jerry
2010-04-12  8:50 ` Georg Bauhaus
2010-04-12  9:21   ` Manuel Collado
2010-04-12 10:36 ` Jerry
2010-04-12 13:59   ` John McCormick
2010-04-13 19:38     ` Jerry
2010-04-12 15:14   ` Tero Koskinen
2010-04-12 16:16     ` John B. Matthews [this message]
2010-04-12 20:04     ` Simon Wright
2010-04-13 19:51       ` Jerry
2010-04-13 21:22         ` Simon Wright
2010-04-15  3:39           ` Jerry
2010-04-15  4:08             ` John B. Matthews
2010-04-15 18:51               ` Jerry
2010-04-16  0:44                 ` John B. Matthews
2010-04-16  4:43                   ` Simon Wright
2010-04-16 14:03                     ` John B. Matthews
2010-04-15 19:22             ` Simon Wright
2010-04-16 10:25               ` Jerry
2010-04-12 20:57 ` Alex Mentis
2010-04-12 22:51   ` Jerry
2010-04-16  0:06     ` BrianG
2010-04-16  7:23       ` Jerry
replies disabled

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