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,b321573c2e5269d2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.tornevall.net!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: Kim Rostgaard Christensen Newsgroups: comp.lang.ada Subject: Re: Asynchronous I/O on a serial device Date: Sun, 12 Jun 2011 20:06:09 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: 2506ds1-so.0.fullrate.dk Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: munin.nbi.dk 1307901974 6211 90.184.227.68 (12 Jun 2011 18:06:14 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sun, 12 Jun 2011 18:06:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9 In-Reply-To: Xref: g2news2.google.com comp.lang.ada:20746 Date: 2011-06-12T20:06:09+02:00 List-Id: On 2011-06-12 13:04, Yannick Duchêne (Hibou57) wrote: >> Ca va ? ;-) > > Ouwaouaw, une grenouille (a froggy ;) ). Tu me connais d'où, dis moi, je > veux tout savoir :) Sur un forum ? Sur l'autre c.l.a (celui des frenchy) ? Je regrette de dire qui n'ont jamais eu le plaisir (or something like that) No, I'm just a Dane using every excuse he gets, for using his limited (and very rusty) French. > 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 > tomorrow (but can't promise anything). I'm pretty sure I also went down that road. It raised a USE_ERROR and I tracked it down to a paragraph in s-fileio.adb where it raises an error if the shared=yes is not set on the file. As previously mentioned this did not help :-\ /Kim