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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c5917765abfbff2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-18 15:16:26 PST Path: nntp.gmd.de!Germany.EU.net!wizard.pn.com!satisfied.elf.com!news.mathworks.com!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Ada95: New_Page at end of file Date: 18 Jan 1995 18:16:26 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3fk7ga$lb2@gnat.cs.nyu.edu> References: <3fhj2sINNgnc@RA.DEPT.CS.YALE.EDU> NNTP-Posting-Host: gnat.cs.nyu.edu Keywords: Form-feed, New_Page, Ada95, Text_IO Date: 1995-01-18T18:16:26-05:00 List-Id: The Ada standards (83 and 95) both require a page mark at the end of a text file, and the representation of this page mark is implementation dependent. GNAT currently represents ALL page marks by form feed characters, including the one at the end of the file. This is not incorrect, but it is unfriendly, a more friendly, though obviously slightly trickier, representation is to have the page mark at the end of file have a different representation (namely null). This is on our list of things to do. However, please note that text files in Ada have implementation dependent formats, and you cannot count on this as a transportable format without additional, possibly implementation dependent, guarantees. See also the URG discussion of this issue (perhaps Dave can supply us with the proper UI number).