comp.lang.ada
 help / color / mirror / Atom feed
From: tore@lis.pitt.edu (Tore Joergensen)
Subject: Re: Text IO
Date: 1995/04/22
Date: 1995-04-22T00:00:00+00:00	[thread overview]
Message-ID: <3nbc2c$ke7@toads.pgh.pa.us> (raw)
In-Reply-To: 3nb74l$4m3@newsflash.concordia.ca

Chris O'Regan (ct_oreg@vega.concordia.ca) wrote:

:    I have two questions:
If you use Ada83 I don't think you can do it. If you use Ada95 you just:
: 	1) When writing to a file, how can I force the output to be
: 	   written immediately so that I may monitor the program's
: 	   progress using ``tail -f'' on the file?
ada.text_io.flush(file);

: 	2) Is it possible to get a single key?  If I use Text_IO's
: 	   ``Get'' function the user is required to press the enter
: 	   key after typing the appropriate key.  This is somewhat
: 	   inconvenient.
ada.text_io.get_immediate(char_var);

--
______________________________________________________________________
Tore B. Joergensen,    |    e-mail:     tore@lis.pitt.edu
a norwegian student    |    snail-mail: 2201 Pittockstr.
a long way from home.  |                Pittsburgh, 15217 PA
                       |    web:        http://www.pitt.edu/~tojst1




  reply	other threads:[~1995-04-22  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-22  0:00 Text IO Chris O'Regan
1995-04-22  0:00 ` Tore Joergensen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-28 16:19 Matt Raikes
2001-08-28 16:28 ` martin.m.dowie
2001-08-28 16:47 ` Marin David Condic
2001-08-28 18:33 ` Ted Dennison
2001-08-29  8:50 ` John McCabe
2001-09-01  1:15   ` Robert Dewar
2001-09-03  8:23     ` John McCabe
2001-09-03 11:11       ` David C. Hoos, Sr.
2001-09-03 12:05         ` John McCabe
1988-05-11 16:46 TEXT_IO Marcus Moehrmann
replies disabled

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