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,58253cbf46bbb1fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!d5g2000hsc.googlegroups.com!not-for-mail From: KarlNyberg Newsgroups: comp.lang.ada Subject: Subject: POSIX , Ada, Line Feeds, etc (was Automated conversion to C++) Date: Tue, 19 Feb 2008 17:53:23 -0800 (PST) Organization: http://groups.google.com Message-ID: <92e63eb9-6eb0-46ec-8151-94dc81bfc9a3@d5g2000hsc.googlegroups.com> References: <5bb30e3a-479b-4feb-be5e-e777edf778c9@q78g2000hsh.googlegroups.com> <47b883a9$0$26403$4d3efbfe@news.sover.net> NNTP-Posting-Host: 67.187.4.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1203472403 17463 127.0.0.1 (20 Feb 2008 01:53:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Feb 2008 01:53:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d5g2000hsc.googlegroups.com; posting-host=67.187.4.139; posting-account=TpjGSQoAAADyZ3j7ukab-gYBiUeRSw8c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19901 Date: 2008-02-19T17:53:23-08:00 List-Id: [Posting for Dave Emery, demery@dsci-usa.com, editor of the early POSIX-Ada standard, I believe. Apologies if I inserted this inappropriately into the hierarchy of the discussion... -- kan] Subject: POSIX , Ada, Line Feeds, etc (was Automated conversion to C+ +) Much bogosity on this topic lately. Several early Ada compilers, most notably Verdix, were implemented on Unix as well-behaved Unix applications, and of course GNAT is available for Linux. So any assertion that POSIX and Ada are incompatible as a development environment is contradicted by example. With respect to line feeds, the Ada standard doesn't explain the interpretation of the line feed characters on POSIX, but the POSIX Ada Binding (ISO 14519:2001, originally IEEE 1003.5-1992 most certainly does. This is very clearly documented in Clause 8, "Language- Specific Services for Ada". Clause 8.1, entitled "Interoperable Ada I/O Services" provides a specification of the Text_IO Form parameter to handle this situation. As one of the most widely used secondary standards, it's disappointing to see how few readers on this list lately are aware of the POSIX/Ada standard and its success in supporting portable Ada applications across conforming POSIX (and Ada compiler) implementations. dave - -- David Emery, DSCI, supporting PdM FCS (BCT) SW Integration 703 298 3473 (office/cell), 703 272 7496 (fax)