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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b321573c2e5269d2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Asynchronous I/O on a serial device Date: Sun, 12 Jun 2011 13:04:35 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: d4Agasq8e8rJ/iymlycysA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.11 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:19773 Date: 2011-06-12T13:04:35+02:00 List-Id: Le Sun, 12 Jun 2011 09:49:04 +0200, Kim Rostgaard Christensen = a =C3=A9crit: > On 2011-06-12 07:42, Yannick Duch=C3=AAne (Hibou57) wrote: >> Le Sat, 11 Jun 2011 23:46:47 +0200, Kim Rostgaard Christensen >> a =C3=A9crit: >> >>> Hi there >> Hi you :) > Ca va ? ;-) Ouwaouaw, une grenouille (a froggy ;) ). Tu me connais d'o=C3=B9, dis mo= i, je = veux tout savoir :) Sur un forum ? Sur l'autre c.l.a (celui des frenchy)= ? Le Sun, 12 Jun 2011 12:35:58 +0200, Kim Rostgaard Christensen = a =C3=A9crit: > ... >> The node is writeable, everything works via minicom. A googling revea= ls, >> at lest to me, that Inout_File is placed solely in the Direct_IO >> package. I will try it out later today. > No luck. Direct_IO apparently only works on seekable files and gives a= = > use error as well. > > /Kim I had a quick first idea I did not tell about, because I've never tried = = such a thing so far with Ada : could you open it twice, so as to get one= = stream for input and another stream for output ? I may have a try on a tty (should be close enough) later today or tomorr= ow = (but can't promise anything). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] =E2=80=9Cc++; /* this makes c bigger but returns the old value */=E2=80=9D= [Anonymous]