comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Ada way to read/write to character file
Date: Wed, 09 Jan 2002 02:12:56 GMT
Date: 2002-01-09T02:12:56+00:00	[thread overview]
Message-ID: <IGN_7.9654$762.80315@rwcrnsc54> (raw)
In-Reply-To: a1g3kv$q2ehl$2@ID-25716.news.dfncis.de


>Michael wants to use a serial device for (bidirectional) sequential text I/O.
>...
>> > I want to communicate with a device hanging on the RS232 port. I have
>> > to write to the device and read the answers.
>made damn sure it could be used (bidirectionally) with the character devices,
  Given timing, error conditions, dropped lines, and the likelihood of
non-text data, I wonder how often you would actually want to do
"sequential text I/O" on an RS232 port.  There's also the question of
where do you specify parity & baud rate.  It's not hard to write a
package to do buffered input and output, though it varies quite a lot
across OSes.  It may also be that the compiler vendor has supplied one
solution.



  reply	other threads:[~2002-01-09  2:12 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 [this message]
2002-01-09  6:25       ` Michael Bode
2002-01-09 16:12         ` Georg Bauhaus
2002-01-09 20:38           ` Michael Bode
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