From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: Can Ada print coloured/styled text to the terminal? (ANSI escape sequences?)
Date: Tue, 7 Aug 2018 06:59:01 -0700 (PDT)
Date: 2018-08-07T06:59:01-07:00 [thread overview]
Message-ID: <e73872cf-15b2-4969-982c-18a1bdbe0be0@googlegroups.com> (raw)
In-Reply-To: <pkblh9$b97$1@gioia.aioe.org>
On Tuesday, August 7, 2018 at 3:33:47 AM UTC-5, Dmitry A. Kazakov wrote:
> On 2018-08-07 00:15, Randy Brukardt wrote:
> > Briot Emmanuel wrote in message
> > news:810948b7-1370-4c0d-aaf3-ed66b7dfbba5@googlegroups.com...
> >
> >> You can also take a look at GNATCOLL.terminal, in the GNAT
> >> Components Collection. It will do colors either using ansi escape
> >> sequences or, on Windows, proper system calls. In terms of
> >> portability, better to think early on that not all terminals support
> >> escape sequences...
> >
> > And they don't all support the same escape sequences, either. But most
> > important is that Windows almost never supports escape sequences, so any
> > code that you want to be reasonably portable has to avoid them.
>
> I didn't test it, because the idea to use character terminal in XXI
> century is beyond silly, …
Conversely, on the major widely-deployed UIs/UXes {X Window, Win32, Windows UWP, Cocoa, Cocoa Touch, Android, Java Swing} the •only• technology in common among all of them is terminfo/termcap-specified POSIX terminals for escape-sequence ChUIs in terminal windows. Some of us still appreciate the ability to fire up Vi or Emacs in terminfo-/termcap-specified ChUI mode. Indeed, some of us still appreciate the ability to use old software that isn't forcibly deprecated due to fads & fashions. (Which is worse? 1. Escape-sequence ChUI still working versus 2. deprecation of Display Postcript of yesteryear or Mir nowadays, as fads & fantasies pass us by. ) And even more to the point, how much churn & vicious not-invented-here/not-in-my-backyard tug-of-war has Gnome and KDE (and Ubuntu's divergent UX/UI strategy du jour) gone through in recent years for no good reason?
the purported replacement for X Window 11:
https://en.wikipedia.org/wiki/Mir_(software)
next prev parent reply other threads:[~2018-08-07 13:59 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-04 1:37 Can Ada print coloured/styled text to the terminal? (ANSI escape sequences?) Hazz
2018-08-04 1:59 ` Lucretia
2018-08-04 2:21 ` Hazz
2018-08-04 9:07 ` Jeffrey R. Carter
2018-08-06 6:35 ` briot.emmanuel
2018-08-06 22:15 ` Randy Brukardt
2018-08-07 5:12 ` Per Sandberg
2018-08-07 22:31 ` Randy Brukardt
2018-08-08 6:39 ` Per Sandberg
2018-08-08 17:59 ` Randy Brukardt
2018-08-08 18:28 ` Dmitry A. Kazakov
2018-08-08 19:23 ` Dan'l Miller
2018-08-07 8:33 ` Dmitry A. Kazakov
2018-08-07 13:59 ` Dan'l Miller [this message]
2018-08-07 22:36 ` Randy Brukardt
2018-08-09 17:08 ` G. B.
2018-08-07 0:01 ` Aurele
2018-08-12 20:56 ` Matt Borchers
2018-08-13 10:23 ` Aurele Vitali
2018-08-16 9:58 ` alby.gamper
2018-08-16 12:29 ` Aurele Vitali
2018-08-16 12:52 ` alby.gamper
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox