Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256358
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: should CLI have a nice UI today? |
| Date | 2023-03-25 07:40 +0100 |
| Message-ID | <Gd5Jf-eVIX-1@gated-at.bofh.it> (permalink) |
| References | <GcNW1-eJYT-37@gated-at.bofh.it> <GcX90-eQvU-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Mar 24, 2023 at 05:26:07PM -0400, Stefan Monnier wrote: > > Should CLI (command line interface) have a nice UI library? > > I don't understand the question. A library that does what? > "Nice" in which respect? > > > today web dev has so many libraries that make web pages with rich/colorful > > interactive views. > > Not sure how that's relevant to a UI library for a CLI. > > > But CLI is still in dull mode. That should be improved in these days. > > for example, run "df -h" we got the statistics with plain text. But web > > statistics for cloud storage (GCP,AWS etc) are chart like, which give people > > more intuitive feeling. > > Do you mean CLI tools should be able to generate&display images? > That could be useful, and indeed xterm and friends nowadays are able to > display images so it's possible, but I suspect it's just easier to have > CLI tools generate JPEG files and then display them in > a separate window. > > But maybe it's easier to go the other way: look for a GUI that can be > conveniently controlled from a "command line" or some such combination. > There's a lot of work in the general vicinity. I think Jupiter could > qualify for some cases, Emacs for others, or you could use the > Javascript console of Firefox for that as well. After a detour around whiptail I ended up full-circle with Tcl/Tk. It is still the nicest, smallest self-contained graphical toolkit enabling one to wrap some GUI around CLI programs. The whole pack is one or two orders of magnitude smaller than some web browser monstrosity and much easier to extend, handle and embed. The language (Tcl) may be a bit alien at first, but all in all I think wrapping one's head around a "modern" toolkit programming interface (à la Gtk or Qt) is still at least one order of magnitude less fun than that. Why is it that complexity takes over and we end up painting ourselves into corners? Then, corporate folks ramble about "path dependencies" and things, instead of acknowledging that we humans sometimes just aren't good at taking decisions ;-) But perhaps that's just me. Cheers -- t
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
should CLI have a nice UI today? coreyh@free.fr - 2023-03-24 12:40 +0100
Re: should CLI have a nice UI today? Jude DaShiell <jdashiel@panix.com> - 2023-03-24 12:50 +0100
Re: should CLI have a nice UI today? Dan Ritter <dsr@randomstring.org> - 2023-03-24 13:00 +0100
Re: should CLI have a nice UI today? Tom <tom@virta.be> - 2023-03-24 17:00 +0100
Re: should CLI have a nice UI today? Javier Barroso <javibarroso@gmail.com> - 2023-03-25 23:40 +0100
Re: should CLI have a nice UI today? Tom <tom@virta.be> - 2023-03-24 17:10 +0100
Re: should CLI have a nice UI today? Richmond <dnomhcir@gmx.com> - 2023-03-24 16:20 +0100
Re: should CLI have a nice UI today? davidson <davidson@freevolt.org> - 2023-03-24 21:40 +0100
Re: should CLI have a nice UI today? davidson <davidson@freevolt.org> - 2023-03-25 00:20 +0100
Re: should CLI have a nice UI today? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-24 22:30 +0100
Re: should CLI have a nice UI today? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-24 22:50 +0100
Re: should CLI have a nice UI today? <tomas@tuxteam.de> - 2023-03-25 07:40 +0100
Re: should CLI have a nice UI today? <tomas@tuxteam.de> - 2023-03-25 11:10 +0100
Re: should CLI have a nice UI today? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-29 16:00 +0200
Re: should CLI have a nice UI today? <tomas@tuxteam.de> - 2023-03-29 16:10 +0200
Re: should CLI have a nice UI today? Nicolas George <george@nsup.org> - 2023-03-29 16:30 +0200
Re: should CLI have a nice UI today? Erwan David <erwan@rail.eu.org> - 2023-03-29 16:50 +0200
Re: should CLI have a nice UI today? Nicolas George <george@nsup.org> - 2023-03-29 17:10 +0200
Re: should CLI have a nice UI today? debian-user@howorth.org.uk - 2023-03-30 13:10 +0200
Re: should CLI have a nice UI today? The Wanderer <wanderer@fastmail.fm> - 2023-03-29 16:50 +0200
Re: should CLI have a nice UI today? Nicolas George <george@nsup.org> - 2023-03-29 17:20 +0200
Re: should CLI have a nice UI today? debian-user@howorth.org.uk - 2023-03-30 16:50 +0200
Re: should CLI have a nice UI today? Dan Ritter <dsr@randomstring.org> - 2023-03-30 17:40 +0200
Re: should CLI have a nice UI today? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-31 03:50 +0200
Re: should CLI have a nice UI today? Emanuel Berg <incal@dataswamp.org> - 2023-03-30 07:50 +0200
Re: should CLI have a nice UI today? David Christensen <dpchrist@holgerdanske.com> - 2023-03-30 09:30 +0200
csiph-web