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,bbeba936b24f1d90 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-21 16:02:52 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.mathworks.com!sunqbc.risq.qc.ca!news-out.usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!news.mindspring.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: modifying color of "Ada.Text_IO.Put" Date: Thu, 21 Dec 2000 19:01:23 -0500 Organization: Quadrus Corporation Message-ID: <3A4299D3.CF794D69@acm.org> References: <3A425FFC.3831ACE2@gmx.net> NNTP-Posting-Host: d1.56.b8.a7 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 22 Dec 2000 00:00:45 GMT X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:3344 Date: 2000-12-22T00:00:45+00:00 List-Id: This is going to be very machine/OS dependent and is therefore not part of the language standard. If you specify the equipment you are using, someone may have a package to help you out with it. Note that this is also true of C and other programming languages. You are probably confusing compiler specific packages or OS services with what is provided by a language standard. What works in C provided by Microsoft for the Windows OS using a DOS window is not going to be identical to what works using C provided by GCC on a Sun using X Windows. This is really important to understand if you want to write programs that will work in more than one environment. MDC Stefan Kombrink wrote: > Hi there, > > in C and other programming languages it's simply possible to change > the background and foreground color of text plotted on screen. But GNAT > doesn't seem to offer procedures to handle that. > > Moving the cursor may work with "Set_Col" and "Set_Line", but i need > routines to change color as well! > > Could anyone remember a small, simple easy-to-use package (OS > independent) or should it even be possible by using standard GNAT > packages? > > I'm lucky for every single answer, > thank you very much >8^) > > Stefan K. -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Giving money and power to Government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke ======================================================================