comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Ms-dos windows
Date: Mon, 13 Nov 2000 00:45:38 GMT
Date: 2000-11-13T00:45:38+00:00	[thread overview]
Message-ID: <SQGP5.415815$i5.7103352@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: 8un7b7$msq$1@reader1.fr.uu.net

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



  parent reply	other threads:[~2000-11-13  0:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-11  0:00 Ms-dos windows Marc
2000-11-12  0:00 ` Marin David Condic
2000-11-12  0:00   ` Marc
2000-11-13  0:00     ` Marin David Condic
2000-11-13  0:45     ` tmoran [this message]
2000-11-13  0:00       ` Marin David Condic
2000-11-13  0:00         ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox