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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Get_Immediate has raised CONSTRAINT_ERROR : s-wchcnv.adb:207 explicit raise Date: Wed, 18 Feb 2015 23:09:31 +0100 Organization: A noiseless patient Spider Message-ID: References: <234cdad3-5c41-4b0d-b611-01c53273cb7f@googlegroups.com> <1uhwqdsrdxacw$.jmvurilykvf4.dlg@40tude.net> <458d2dc3-ecbb-44d1-aaae-75e5fa6b23e9@googlegroups.com> <8ll33c4cxuyh.8qret9lwow81.dlg@40tude.net> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 18 Feb 2015 22:08:52 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="560c2bc0576b9b023839d812c681af8b"; logging-data="3152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bH43Xj6j8m+vaEMcKyYdbtn8d6FeCA1o=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <8ll33c4cxuyh.8qret9lwow81.dlg@40tude.net> Cancel-Lock: sha1:V2b8No9xeJmhfP9NhEvXlsHUCBI= Xref: news.eternal-september.org comp.lang.ada:24986 Date: 2015-02-18T23:09:31+01:00 List-Id: On 18.02.15 21:36, Dmitry A. Kazakov wrote: > 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. Ncurses, if at all necessary: in addition to the use case Darek has mentioned, another use case will not warrant a fancy GUI either; there will be cursing when one needs to (a) install a fully equipped graphical workstation(*) to manage a GNU/Linux based server system, say (b) which drags in a load of software for just that fancy GUI, inflating the software repertoire to be managed; the "real" software does not need it at all. Condescending comments will ensue, typically starting with "Just install …". But they will only be heard as long as the speaker has not had to manage a single task slightly different from what the GUI designers have covered, or has had to do it at a computer that isn't his own. Many GUIs I have seen were incomplete, sluggish, and non-standard. That's no surprise, I think, as it takes a fair amount of work to make them handle everything well. In particular, when the OS offers no direct support for such programs. The task is difficult already when using just text! Maybe there is a correlation between administrative GUIs being half-baked and graphical programming (not: GUI programming) being not that popular? Of course, all applies less to Windows™ XP style programming, as the feel of text or scripting is a fairly recent addition to Windows™ NT based OSs, and as users expect installers, say, to be as good as those programs for controlling driver software. 8-) __ (*) the screen may actually be virtual, without an option to quickly alter its size, which adds another set of display problems, e.g. dialogue windows being too large.