From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,430e73ffe1dca4e9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i37g2000yqn.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: How to exit a loop with keyboard input Date: Mon, 12 Apr 2010 03:36:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <176f2831-ce2a-4bb1-9e04-47f662fc7176@q23g2000yqd.googlegroups.com> NNTP-Posting-Host: 75.172.180.11 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1271068602 16541 127.0.0.1 (12 Apr 2010 10:36:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 12 Apr 2010 10:36:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i37g2000yqn.googlegroups.com; posting-host=75.172.180.11; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/528.16+(KHTML, like Gecko, Safari/528.16) OmniWeb/v622.8.0,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:10932 Date: 2010-04-12T03:36:42-07:00 List-Id: Thanks, Georg and Manuel, for testing. I'm on OS X 10.5.8 and: MBPro:/ me$ gnat GNAT 4.4.0 20080314 (experimental) [trunk revision 133226] Copyright 1996-2007, Free Software Foundation, Inc. I've tried the program on three different terminal programs with the same result: it prints out 0 and waits for RETURN, then prints out 1, etc. If I hit q then RETURN the loop is exited. But the loop never "free-runs." Jerry