comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Can I treat Current_Output as a file of bytes?
Date: 8 Nov 2002 09:55:16 -0600
Date: 2002-11-08T09:55:16-06:00	[thread overview]
Message-ID: <YJA8wnCrs8Hs@eisner.encompasserve.org> (raw)
In-Reply-To: 20021108174023.69948170.bjorn_persson.spam-is-evil@sverige.nu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]

In article <20021108174023.69948170.bjorn_persson.spam-is-evil@sverige.nu>, Bj�rn Persson <bjorn_persson.spam-is-evil@sverige.nu> writes:
> On 7 Nov 2002 19:36:32 -0600
> Kilgallen@SpamCop.net (Larry Kilgallen) wrote:
> 
>> On VMS you would just open a Sequential_IO file for output saying the
>> name is SYS$OUTPUT.  Isn't the same thing available on other operating
>> systmes ?
> 
> Not that I know of. That would require a special filename meaning "the file or pipe or whatever that is currently associated with the standard output stream". Is that what SYS$OUTPUT is in VMS?

Yes, that is what SYS$OUTPUT is.  By default it is a process-permanent
file so successive programs writing to SYS$OUTPUT all write to the same
version of the file (if it is on disk) rather than each creating a new
versions.  Of course versioning is irrelevant if the output is a terminal,
although it does matter if the output is to an ANSI magtape.

> I tried using Ada.Text_IO.Name on the standard files and got "*stdi", *stdou" and "*stder" regardless of whether they were redirected or not. Open(file, Out_File, "*stder") tried to open a disk file with that name.

To what operating system do those results apply ?



  reply	other threads:[~2002-11-08 15:55 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04 22:34 Can I treat Current_Output as a file of bytes? Bj�rn Persson
2002-11-05 14:30 ` Ted Dennison
2002-11-05 16:01   ` Bj�rn Persson
2002-11-05 18:13     ` Warren W. Gay VE3WWG
2002-11-05 22:14       ` Bj�rn Persson
2002-11-05 22:48       ` Robert A Duff
2002-11-06  0:42         ` Jeffrey Creem
2002-11-06  7:14         ` Dale Stanbrough
2002-11-06  8:45         ` Fraser Wilson
2002-11-08 10:03         ` Jacob Sparre Andersen
2002-11-05 22:27     ` Ted Dennison
2002-11-06 23:40       ` Randy Brukardt
2002-11-07  2:45         ` Larry Kilgallen
2002-11-07  4:04         ` Ted Dennison
2002-11-07 19:01           ` Bj�rn Persson
2002-11-07 21:04           ` Randy Brukardt
2002-11-08  0:03             ` Bj�rn Persson
2002-11-08  1:36               ` Larry Kilgallen
2002-11-08 14:53                 ` Stephen Leake
2002-11-09 14:33                   ` Marin David Condic
2002-11-09 15:26                     ` Preben Randhol
2002-11-09 14:36                       ` Larry Kilgallen
2002-11-10 15:37                       ` Marin David Condic
2002-11-08 16:40                 ` Bj�rn Persson
2002-11-08 15:55                   ` Larry Kilgallen [this message]
2002-11-08 18:07                     ` Bj�rn Persson
2002-11-08 19:09                 ` Matthew Woodcraft
2002-11-08 20:34                 ` Randy Brukardt
2002-11-08 15:10               ` Ted Dennison
2002-11-08 15:57                 ` Larry Kilgallen
2002-11-08 16:16                 ` Preben Randhol
2002-11-08 17:30                 ` Bj�rn Persson
2002-11-08 20:32                 ` Randy Brukardt
2002-11-07  0:44       ` Bj�rn Persson
2002-11-07 14:41         ` Ted Dennison
2002-11-07 17:41           ` Bj�rn Persson
2002-11-09 11:37         ` Georg Bauhaus
2002-11-06  8:26 ` Pascal Obry
  -- strict thread matches above, loose matches on Subject: below --
2002-11-06  5:54 Grein, Christoph
2002-11-07  6:28 Grein, Christoph
2002-11-07 17:04 ` Bj�rn Persson
2002-11-07 19:05 Kees de LezenneCoulander
replies disabled

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