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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c64c5909c07a2300 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-10 15:13:19 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-ber1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Ada way to read/write to character file Date: Thu, 10 Jan 2002 23:13:17 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1010704397 10127 134.91.4.34 (10 Jan 2002 23:13:17 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 10 Jan 2002 23:13:17 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:18746 Date: 2002-01-10T23:13:17+00:00 List-Id: Michael Bode wrote: : I'm not 100% sure as this is my first real Ada program, but I : would expect no problems with this and Ada.Text_IO. Nor am I but I would expect problems, e.g. with long lines. If you consult the RM for this, A.10.2 ff, you will see that you have to take care of automatically inserted characters, and more. (CR LF/CR/LF have proven to be a rich source of all sorts of surprisingly obnoxious data driven trouble.) : But for my small world : of Windows and Linux PCs Ada.Text_IO with a r/w mode would work. I still think this might be true for the Unix or WinDOS/2 notion of text (vs. raw/binary), but not for Ada's. Georg