comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Get_Immediate has raised CONSTRAINT_ERROR : s-wchcnv.adb:207 explicit raise
Date: Wed, 18 Feb 2015 21:36:14 +0100
Date: 2015-02-18T21:36:14+01:00	[thread overview]
Message-ID: <8ll33c4cxuyh.8qret9lwow81.dlg@40tude.net> (raw)
In-Reply-To: 458d2dc3-ecbb-44d1-aaae-75e5fa6b23e9@googlegroups.com

On Wed, 18 Feb 2015 11:34:34 -0800 (PST), darek wrote:

> So, are there any alternatives in Ada (GNAT) that should/may  be used for
> this trivial task? 

It is not a trivial task, even in the days of teletypes, it was not. As for
alternatives, Ada or not, use ncurses if you have to stay console-only, or
a console terminal emulator, see below.

Better make a proper GUI using GTK, Qt, WinGDI or gnoga. All have Ada
interfaces, of course.

Any such library provides an abstraction level between your application and
the input devices.

AFAIK, there exist some implementations of famous MS-DOS ANSI.SYS for
Win32. E.g.

   https://github.com/adoxa/ansicon

Never tried it, though.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2015-02-18 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18 17:29 Get_Immediate has raised CONSTRAINT_ERROR : s-wchcnv.adb:207 explicit raise darek
2015-02-18 18:34 ` Dmitry A. Kazakov
2015-02-18 19:34   ` darek
2015-02-18 20:36     ` Dmitry A. Kazakov [this message]
2015-02-18 21:19       ` darek
2015-02-18 21:44         ` Dmitry A. Kazakov
2015-02-18 22:09       ` Georg Bauhaus
2015-02-18 20:16 ` Simon Wright
2015-02-18 20:34   ` darek
2015-02-19 21:37 ` Björn Lundin
replies disabled

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