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,b25b20d0724a5ccc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-12 16:45:39 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!207.114.4.11!nntp.abs.net!newshub2.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ms-dos windows References: <8un7b7$msq$1@reader1.fr.uu.net> X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 13 Nov 2000 00:45:38 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 974076338 24.20.190.201 (Sun, 12 Nov 2000 16:45:38 PST) NNTP-Posting-Date: Sun, 12 Nov 2000 16:45:38 PST Organization: @Home Network Xref: supernews.google.com comp.lang.ada:2057 Date: 2000-11-13T00:45:38+00:00 List-Id: If you want to position and color text, there are three ways to do it: 1) If you are using a version of Windows that supports ANSI.SYS, you can send escape codes and treat the screen as an ANSI terminal. Look at www.adapower.com to find Mike Feldman's packages. 2) In a true Windows app, text is not written with Ada.Text_IO, nor keystrokes gotten with Get_Immediate. It's handled quite differently with MS Windows API calls. This can be substantially simplified by using a thick binding such as CLAW (www.rrsoftware.com - I'm one of the authors). The last time I looked, though, the demo OA version had limits that prevented it from compiling even the small demo CLAW version. 3) If you are really emulating DOS, you can stick character and control codes wherever you want in screen RAM. jvandyk (sp?) has packages for that. Take a look in www.adapower.com