comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <mcondic.nospam@acm.org>
Subject: Re: Ms-dos windows
Date: 2000/11/13
Date: 2000-11-13T13:03:04+00:00	[thread overview]
Message-ID: <3A0FE66E.DE5073CA@acm.org> (raw)
In-Reply-To: SQGP5.415815$i5.7103352@news1.frmt1.sfba.home.com

Tom:

Did I miss something here? I think the guy is just trying to get a
plain-vanilla text_io thing to work from the window that pops up from
AdaGide when you run. Is it possible that he has some sort of terminal
emulation options set that is preventing the usual Ada.Text_IO stuff from
coming out? I don't think its a case of escape sequences. He says he can't
get my little "Hello_World" example to display text and I'm doubtful that
it relies on anything unusual.

MDC

tmoran@acm.org wrote:

> 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

--
======================================================================
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
======================================================================






  reply	other threads:[~2000-11-13  0:00 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
2000-11-13  0:00       ` Marin David Condic [this message]
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