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: 103376,430e73ffe1dca4e9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r18g2000yqd.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 15:51:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8df458e5-3310-4c9b-adef-638908401626@r18g2000yqd.googlegroups.com> References: <176f2831-ce2a-4bb1-9e04-47f662fc7176@q23g2000yqd.googlegroups.com> <1ae9ff84-2a28-41a2-9669-f88577020037@q23g2000yqd.googlegroups.com> NNTP-Posting-Host: 75.172.180.11 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1271112673 22563 127.0.0.1 (12 Apr 2010 22:51:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 12 Apr 2010 22:51:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r18g2000yqd.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:10944 Date: 2010-04-12T15:51:13-07:00 List-Id: On Apr 12, 1:57=A0pm, Alex Mentis wrote: snip > Are you using GPS as your IDE by any chance? =A0When I run programs > using Get_Immediate from inside GPS, Get_Immediate does not work as it > should (it requires a CR after the character input). =A0When I run those > same programs in an external terminal window it works fine. =A0Perhaps > something between your keyboard and your program is buffering your > input without your knowledge? > > Alex I'm not using GPS, but I thought of the possibility of a problem with the development environment which in my case is Apple's Xcode. That's why I executed in three other terminal programs (including Apple's Terminal.app, the terminal in Path Finder, and something called iTerm), but all gave the same result. Which doesn't completely answer the question of stealth buffering. But given the discussion above about a patch I'm guessing the problem is not weird buffering. Jerry