From: Michael Bode <m.g.bode@web.de>
Subject: Re: Ada way to read/write to character file
Date: 09 Jan 2002 21:38:42 +0100
Date: 2002-01-09T21:38:42+01:00 [thread overview]
Message-ID: <m3y9j7gsz1.fsf@jupiter.solar.system> (raw)
In-Reply-To: a1hq4t$tc$1@a1-hrz.uni-duisburg.de
Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de> writes:
> The point is, I think, that Text_I/O is for text, where text refers
> to the Ada notion of text, which includes lines, columns, pages and
> what not; all of these give special meaning to some Character values
> that you might not want to be that special for your devices.
As far as I have seen all those devices use quite simple textual
structures i.e. normal ASCII printable characters, CR, LF and maybe
ESC. 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.
For your other points: all that may be true in general and therefore
must be considered in a true standard package. But for my small world
of Windows and Linux PCs Ada.Text_IO with a r/w mode would work. But
it is not there and I wanted to make sure that I had not overlooked
something. It was not really a big deal to write my own package and I
had some practice in writing C bindings to OS functions too.
next prev parent reply other threads:[~2002-01-09 20:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-05 12:01 Ada way to read/write to character file Michael Bode
2002-01-07 15:13 ` Alfred Hilscher
2002-01-09 0:04 ` Nick Roberts
2002-01-09 2:12 ` tmoran
2002-01-09 6:25 ` Michael Bode
2002-01-09 16:12 ` Georg Bauhaus
2002-01-09 20:38 ` Michael Bode [this message]
2002-01-09 23:57 ` James Rogers
2002-01-10 6:17 ` Michael Bode
2002-01-10 23:13 ` Georg Bauhaus
2002-01-09 12:11 ` Nick Roberts
2002-01-09 14:17 ` Ted Dennison
2002-01-11 0:19 ` Nick Roberts
2002-01-12 16:01 ` Michael Bode
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox