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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Get_Immediate has raised CONSTRAINT_ERROR : s-wchcnv.adb:207 explicit raise Date: Wed, 18 Feb 2015 21:36:14 +0100 Organization: cbb software GmbH Message-ID: <8ll33c4cxuyh.8qret9lwow81.dlg@40tude.net> References: <234cdad3-5c41-4b0d-b611-01c53273cb7f@googlegroups.com> <1uhwqdsrdxacw$.jmvurilykvf4.dlg@40tude.net> <458d2dc3-ecbb-44d1-aaae-75e5fa6b23e9@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: w2sqUGEBZqsVBYNL7Ky3Kg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:192289 Date: 2015-02-18T21:36:14+01:00 List-Id: 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