comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com (Ted Dennison)
Subject: Re: Fill string with multiple lines from standard_input
Date: 16 Aug 2002 12:30:11 -0700
Date: 2002-08-16T19:30:12+00:00	[thread overview]
Message-ID: <4519e058.0208161130.6c77138c@posting.google.com> (raw)
In-Reply-To: emV69.1927$U06.25552@newsfep3-gui.server.ntli.net

"chris.danx" <spamoff.danx@ntlworld.com> wrote in message news:<emV69.1927$U06.25552@newsfep3-gui.server.ntli.net>...
> Vincent Smeets wrote:
> 
> > I think that Stream_IO won't do any input processing, but with Stream_IO, I
> > can only read from a file, not from Standard_Input!
> 
> Standard_Input is a file of sorts.  Check the RM for more details.

Yeah, but its an Ada.Text_IO.File_Type. Stream_IO can only deal with
files it can open by name itself.

What we don't have here is a reason why the input processing that
Ada.Text_IO.Text_Streams is doing to him is a problem. The only reason
I could think of is that it actually contains data rather than text.
This may sound a bit cheesy, but its exactly what a lot of Unix
programs like gunzip do. So the person trying to rewrite Linux in Ada
might stumble over this issue. :-)

-- 
T.E.D. 
Home     -  mailto:dennison@telepath.com (Yahoo: Ted_Dennison)
Homepage -  http://www.telepath.com/~dennison/Ted/TED.html



  reply	other threads:[~2002-08-16 19:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-14 19:34 Fill string with multiple lines from standard_input Vincent Smeets
2002-08-14 20:37 ` Stephen Leake
2002-08-15 17:57   ` Vincent Smeets
2002-08-15 20:47     ` Stephen Leake
2002-08-19 19:39       ` Vincent Smeets
2002-08-20 15:01         ` Stephen Leake
2002-08-20 18:26           ` Vincent Smeets
2002-08-20 19:46             ` tmoran
2002-08-21 12:50             ` Jean-Pierre Rosen
2002-08-21 19:19             ` Randy Brukardt
2002-08-25  0:34               ` AG
2002-08-21 14:37         ` Kevin Cline
2002-08-21 19:47           ` Robert Dewar
2002-08-22  7:40             ` Kevin Cline
2002-08-23 19:49               ` Peter Richtmyer
2002-08-22 20:36             ` Kevin Cline
2002-08-25  0:45               ` AG
2002-08-26  0:47                 ` Kevin Cline
2002-08-15  2:30 ` SteveD
2002-08-15 18:02   ` Vincent Smeets
2002-08-16  0:25     ` Robert Dewar
2002-08-15 19:07   ` Vincent Smeets
2002-08-15 21:49     ` chris.danx
2002-08-16 19:30       ` Ted Dennison [this message]
2002-08-17  2:26         ` Randy Brukardt
2002-08-17 10:24         ` Robert Dewar
2002-08-19 13:40           ` Ted Dennison
2002-08-20  0:03             ` Robert Dewar
2002-08-16 17:33 ` Alexei Polkhanov
replies disabled

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