From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:64b:b0:3b7:fda4:c86e with SMTP id a11-20020a05622a064b00b003b7fda4c86emr2677914qtb.3.1677163195763; Thu, 23 Feb 2023 06:39:55 -0800 (PST) X-Received: by 2002:a05:6870:2195:b0:16e:2bc7:7715 with SMTP id l21-20020a056870219500b0016e2bc77715mr1430515oae.223.1677163195499; Thu, 23 Feb 2023 06:39:55 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 23 Feb 2023 06:39:55 -0800 (PST) In-Reply-To: <6eacc599-b9a9-4c89-9122-862825d23423n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=3.70.231.225; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 3.70.231.225 References: <75c3990e-eaab-47eb-bdba-3827b9fd4751n@googlegroups.com> <6eacc599-b9a9-4c89-9122-862825d23423n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <21dd6f45-8224-449e-af38-2c1dbcbc59bbn@googlegroups.com> Subject: Re: wait does not perform as expected From: AdaMagica Injection-Date: Thu, 23 Feb 2023 14:39:55 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1706 Xref: reader01.eternal-september.org comp.lang.ada:64968 List-Id: Daniel Gaudry schrieb am Donnerstag, 23. Februar 2023 um 15:33:35 UTC+1: > My problem under ubuntu is that get_immediate pauses the program if no key is hit. > Therefore available is not set and this little routine cannot perform as I want. There are essentially two different Get_Immediate, one that waits until a key is hit A.10.7(9), the other does not A.10.7(11), but has a Boolean Available out-parameter.