From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7ae711c481a7059 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-08 08:40:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!news-stob.telia.net!telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: Bj�rn Persson Newsgroups: comp.lang.ada Subject: Re: Can I treat Current_Output as a file of bytes? Message-ID: <20021108174023.69948170.bjorn_persson.spam-is-evil@sverige.nu> References: <20021104233454.2042ef78.bjorn_persson.spam-is-evil@sverige.nu> <20021108010337.395c1a90.bjorn_persson.spam-is-evil@sverige.nu> <8qGdDEJ$BoYu@eisner.encompasserve.org> X-Newsreader: Sylpheed version 0.5.0 (GTK+ 1.2.10; i386-redhat-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Fri, 08 Nov 2002 16:40:23 GMT NNTP-Posting-Host: 217.209.123.226 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1036773623 217.209.123.226 (Fri, 08 Nov 2002 17:40:23 CET) NNTP-Posting-Date: Fri, 08 Nov 2002 17:40:23 CET Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:30595 Date: 2002-11-08T16:40:23+00:00 List-Id: 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? 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. Bj�rn Persson