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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80db17e67d938b1f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news-out.octanews.net!mauve.octanews.net!border2.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Tue, 02 May 2006 16:03:32 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1146533046.9010.38.camel@localhost.localdomain> Subject: Re: plain Ada streams with Windows(TM) Date: Tue, 2 May 2006 16:03:51 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-imQD+jAQOrXp/pF5Tw8d89/jXG8YNJ889ltsbPka+qym3t3Kxa9c3bU3x8y+7+ef1d5tHuBG1tH+6Ln!6LvEIOoCkfPy4DX1gnxX6y+aPATLmxQ+1SUAlpnaHsREwK/X7gEgKdi79eagyt++DXVWB3oc2KDo!HbpQyH+aqeENzA== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4021 Date: 2006-05-02T16:03:51-05:00 List-Id: "Georg Bauhaus" wrote in message news:1146533046.9010.38.camel@localhost.localdomain... > Hello, for a Windows console application using > only plain Ada, is there a way to open standard > input/output using Stream_IO.Open, but not using > Text_Streams? [*] I don't think so; there is no name for the files. The program is given the handles at start-up. Janus/Ada provides some built-in names to access them ("STI:", "STO:", and "ERR:"), a feature carried over from our MS-DOS compilers. But this is implemented completely in the Janus/Ada runtime (it just binds the files to the appropriate handles). I don't think that there is any portable way to do it. (But I didn't think there was any on Unix systems, either.) Randy.