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-7-bit X-Google-Thread: 103376,63360011f8addace X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-17 12:42:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: Re: gnat: time-slicing Date: Wed, 17 Jul 2002 21:44:00 -0100 Newsgroups: comp.lang.ada Message-ID: References: <5ee5b646.0207161329.5c8e387b@posting.google.com> User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: "Randy Brukardt" NNTP-Posting-Host: 213.6.148.14 X-Trace: 1026934954 news.freenet.de 8375 213.6.148.14 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:27205 Date: 2002-07-17T21:44:00-01:00 List-Id: On Wed, 17 Jul 2002 18:21:58 -0100, Randy Brukardt wrote: >>>> There is no output to a file. >>> >>> Standard output is a file. >> >>But Put_Line does not write to standard output, you would have to > specify >>a file as a parameter. > > When you don't specify a file parameter to Put_Line, it writes to > Current_Output which, if you haven't changed it, is Standard_Output. > Text_IO *always* writes to a file. Duh. If it's true, then the Linux console/terminal is a file. Duhuhuh. :) No, seriously, explain it a bit more. As far as I know, a terminal is a device in Linux, which is some kind of a file, maybe you mean this. When I run the program in konsole (KDE xterm), the output is on the screen, and that's logical, because I haven't specified a file in Put_Line.