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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no 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 21:49:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!isdnet!137.194.32.100.MISMATCH!enst.fr!not-for-mail From: "Grein, Christoph" Newsgroups: comp.lang.ada Subject: Re: gnat: time-slicing Date: Thu, 18 Jul 2002 06:44:27 +0200 (MET DST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: avanie.enst.fr 1026967746 44066 137.194.161.2 (18 Jul 2002 04:49:05 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 18 Jul 2002 04:49:05 +0000 (UTC) Return-Path: X-Authentication-Warning: mail.eurocopter.com: uucp set sender to using -f Content-MD5: gUCUsS1FgFNFdj80I4R+aA== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.11 Precedence: bulk X-Reply-To: "Grein, Christoph" List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:27213 Date: 2002-07-18T06:44:27+02:00 From: Jan Prazak >> 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. Before arguing, please have a look at the Ada Reference Manual... For the RM, the screen _is_ a file, named Standard_Output; and the = keyboard is=20 also a file, named Standard_Input. (Actually the RM does not specify = what=20 Standard_Output and Standard_Input stand for since this is OS = dependent, it only=20 says that there are these two files.) You urgently need the RM. Go get it :-)