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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90557de632b4af52 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-18 06:59:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3CBED119.D0325FD8@raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Getting Information already displayed on terminal window References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 18 Apr 2002 08:58:49 -0500 NNTP-Posting-Host: 192.27.48.39 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1019138380 192.27.48.39 (Thu, 18 Apr 2002 08:59:40 CDT) NNTP-Posting-Date: Thu, 18 Apr 2002 08:59:40 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:22720 Date: 2002-04-18T08:58:49-05:00 List-Id: Fraz wrote: > > yeah i know, but there must be a way to build this into the program so that > if i run the exe outside of ada gide it creates the file as well?? > On unix, you could "tee" the output (and errors...) to display and capture into a file. Since you said "exe" though you might be on Windows & I don't know the equivalent (other than to copy & paste from the terminal window - extend the history buffer if needed). Otherwise, if you had the discipline to not call text_io & friends directly, you could have a package with the same interface as text_io that does what you want. Retrofitting this into existing code is drudgery - from past experience.... --Mark