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,80db17e67d938b1f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!v46g2000cwv.googlegroups.com!not-for-mail From: "Craig Carey " Newsgroups: comp.lang.ada Subject: Re: plain Ada streams with Windows(TM) Date: 4 May 2006 19:27:13 -0700 Organization: http://groups.google.com Message-ID: <1146796033.405693.51170@v46g2000cwv.googlegroups.com> References: <1146533046.9010.38.camel@localhost.localdomain> <4458c12d$0$4501$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Host: 203.118.181.113 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1146796081 29095 127.0.0.1 (5 May 2006 02:28:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 5 May 2006 02:28:01 +0000 (UTC) In-Reply-To: <4458c12d$0$4501$9b4e6d93@newsread2.arcor-online.net> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; FreeBSD) KHTML/3.4.2 (like Gecko),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v46g2000cwv.googlegroups.com; posting-host=203.118.181.113; posting-account=VAk6zg0AAAAB8m7bE8j11Y9JsY1KL2hL Xref: g2news2.google.com comp.lang.ada:4082 Date: 2006-05-04T19:27:13-07:00 List-Id: Text_Streams is perhaps too slow?. It seems that Ada 95 can't do I/O and vendors don't wish to modify Annex to make even the tinies most essential changes. Perhaps the worst of Ada.Text_IO is that it truncates on truncates when hitting a file ending character. What is needed is Ada bindings to C stream routines, and ideally all GNU I/O routines provided that the bindings run with the MSVCRT DLL. Florist POSIX and Mr Obry's Win32 version does not seem useful. GNAT *Crt* files are somewhat incomplete, and lack a version of the GNU C Lib getline () routine that can use the MSVCRT fgets () or whatever it is. Ada's Annex A I/O offerings do not seem to have acceptable quality for DragonflyBSD/FreeBSD etceta. (Possibly Mr Krischik could tell us if Ada has an I/O subsystem that is of acceptable virtue for wiki-Linux...) --