From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Problem with unbounded string input Date: Wed, 27 Jan 2021 22:42:27 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <5af60c88-b7ab-4849-badb-c407823d45e0n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 27 Jan 2021 21:42:27 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="76d999c25ade1c8734936a3432fbec24"; logging-data="19764"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/qcjZabouo8aGeaci6RmGd3AZS6dQG1E=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 Cancel-Lock: sha1:cFWn+Ng3rRaObK5sjNTo3zU0qPE= In-Reply-To: <5af60c88-b7ab-4849-badb-c407823d45e0n@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:61223 List-Id: On 1/27/21 8:59 PM, Brian McGuinness wrote: > > When I compile this with gnatmake 8.3.0 under Linux Mint Debian edition 4 and run it, every so often when I type a line and hit Enter there is no response until I hit Enter again, and then everything typed before the first Enter is ignored. The rest of the time the lines I type are read and returned correctly. I am really puzzled by this. Is this a bug in the Ada library or am I doing something wrong? You didn't say how often "every so often" tends to be, but with GNAT 9.3/Xubuntu 20.10 I input several dozen lines without problem. Why do you use """" when '"' is clearer? -- Jeff Carter "[T]he language [Ada] incorporates many excellent structural features which have proved their value in many precursor languages ..." C. A. R. Hoare 180