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-Language: ENGLISH,ASCII X-Google-Thread: 103376,7ae711c481a7059 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-08 09:30:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!luth.se!news-stob.telia.net!telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: Bj�rn Persson Newsgroups: comp.lang.ada Subject: Re: Can I treat Current_Output as a file of bytes? Message-ID: <20021108183029.2368943a.bjorn_persson.spam-is-evil@sverige.nu> References: <20021104233454.2042ef78.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211050630.7eb31354@posting.google.com> <20021105170130.2684e53f.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211051427.48557033@posting.google.com> <4519e058.0211062004.4a55ab0e@posting.google.com> <20021108010337.395c1a90.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211080710.72fa0289@posting.google.com> X-Newsreader: Sylpheed version 0.5.0 (GTK+ 1.2.10; i386-redhat-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Fri, 08 Nov 2002 17:30:33 GMT NNTP-Posting-Host: 217.209.123.226 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1036776633 217.209.123.226 (Fri, 08 Nov 2002 18:30:33 CET) NNTP-Posting-Date: Fri, 08 Nov 2002 18:30:33 CET Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:30600 Date: 2002-11-08T17:30:33+00:00 List-Id: On 8 Nov 2002 07:10:18 -0800 dennison@telepath.com (Ted Dennison) wrote: > Bj rn Persson wrote in message news:<20021108010337.395c1a90.bjorn_persson.spam-is-evil@sverige.nu>... > > I don't think Text_IO's design is a problem in itself. It can be > > quite useful when working with text files. > > Actually, I do think so. It is quite possible to create "text files" > in an editor that don't have a line terminator on the last line. I've > had problems in the past with Ada Text_IO ignoring such lines, causing I guess the reference manual should have stated that if there isn't a page terminator at the end of the file, then there is an implied page terminator, and if there is a (real or implied) page terminator without a preceding line terminator, then there is an implied line terminator. I actually thought it did, but it must have been in Gnat's implementation I had seen that. Bj�rn Persson