comp.lang.ada
 help / color / mirror / Atom feed
From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Subject: Re: GNAT's Text_IO & empty files
Date: 1998/07/07
Date: 1998-07-07T00:00:00+00:00	[thread overview]
Message-ID: <35A16917.18DE1396@cl.cam.ac.uk> (raw)
In-Reply-To: dewar.899765885@merv


Robert Dewar wrote:
> Most certainly if you comment these lines out, your resulting runtime will
> not be compliant with annex A of the reference manual. These lines were not
> put in for amusement!

In addition, it might be worth noting that it is common practive
under Unix that all text files end with a LF character. Editors
such as vi do not allow you to create a file that does not end with
LF. In this sense, the Ada convention goes nicely with the Unix
convention.

[The Unix line terminator convention is the only useful one anyway.
The MSDOS text file convention with its silly CR and Ctrl-Z
characters should be sent to the bit graveyard as soon as possible.
What for do we need a line feed character that does not include
the carriage return functionality?]

Markus

-- 
Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK
email: mkuhn at acm.org,  home page: <http://www.cl.cam.ac.uk/~mgk25/>




  reply	other threads:[~1998-07-07  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-06  0:00 GNAT's Text_IO & empty files Gautier de Montmollin
1998-07-06  0:00 ` Pascal MALAISE
1998-07-07  0:00   ` Gautier
1998-07-07  0:00   ` Kevin Radke
1998-07-06  0:00 ` Robert Dewar
1998-07-07  0:00   ` Markus Kuhn [this message]
1998-07-07  0:00     ` Gautier
1998-07-07  0:00     ` Samuel Tardieu
1998-07-08  0:00       ` Aaro Koskinen
1998-07-09  0:00         ` Samuel Tardieu
1998-07-09  0:00         ` Gautier.DeMontmollin
1998-07-08  0:00     ` dennison
1998-07-07  0:00   ` Markus Kuhn
1998-07-07  0:00     ` Michael F Brenner
1998-07-07  0:00     ` Robert Dewar
1998-07-07  0:00   ` Gautier
1998-07-07  0:00     ` Robert Dewar
1998-07-07  0:00     ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox