comp.lang.ada
 help / color / mirror / Atom feed
* Question about IO on Unix-machines
@ 1994-12-16  9:58 Joerg Rodemann
  1994-12-17 17:44 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Joerg Rodemann @ 1994-12-16  9:58 UTC (permalink / raw)


Hello out there!

I am looking for a special type of IO-routines. My problem is the following:
As I am used to write many programmes that just read from stdin and write
to stdout in other languages liek C or Modula-2 I want to keep that style.
I seems very useful to me on Unix machines. But as I tried to develop a
simple program in Ada that reads a single character from stdin, does 
something with this item and then writes the result to stdout, it seems
that the standard PUT-routine from Text_IO works with whole lines. Especially
it seems to ignore the character \n --- newline. I think there has to be
an easy way that fits my needs for there was an argument some time before
about that very kind of programming style under Unix as I mentioned. So,
do not be mad at me if this seems to be a silly question. But I am new to
this language and we do not have many handbooks here at Ulm. 

I would like to add that I am using GNAT 1.83 on a Sun4 system. Perhaps it is
one of the procedures that have not been implemented yet as Get_Immediate.
But this is just a guess. And I would not like to bother the New York group
until it is really a problem of GNAT.

So thank in advance for your help

Bye

George

--
Joerg 'George' Rodemann                                     Kelternweg 46
Department of Physics                                     89075 Ulm/Donau
University of Ulm                                       Tel. (0731) 54407
e-mail:                                    rodemann@mathematik.uni-ulm.de



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question about IO on Unix-machines
  1994-12-16  9:58 Question about IO on Unix-machines Joerg Rodemann
@ 1994-12-17 17:44 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1994-12-17 17:44 UTC (permalink / raw)


George, feel free to "bother" the New York group about GNAT anytime you
like :-)

Indeed Get_Immediate is not implemented, it is high up on our list.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-12-17 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-16  9:58 Question about IO on Unix-machines Joerg Rodemann
1994-12-17 17:44 ` Robert Dewar

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