by MBCook · 7mo ago · 0 comments
They’re attempts at pretending to have Windows (etc.) GUIs in a terminal.
Same stuff people made for DOS when Windows wasn’t common or good enough yet.
I’m not surprised they’re a disaster. Or built without understanding the abilities of the terminal they’re running on.
A more textually oriented environment (like a normal Unix shell) is, in my experience, usually referred to as a CLI: Command Line Interface.
I did find an interesting hybrid in the Pi coding agent: it seems to leverage the normal terminal scrollback, while still enhancing it with things like transient input fields and status lines, so that it can display those without cluttering scrollback.
That's what a terminal UI is, and has been since Emacs was a thing.
Actually, I think that is close to a good name for them: Terminal-based GUIs.
Some are pretty useful, for instance I like lazygit as a simple dashboard/panel for a small repo (or when making small changes to a larger one), some make me wonder what those who made them were smoking!
The less silly ones are handy when you are tinkering with a far away machine and want something a little more interactive than CLI commands and stuff connected by pipes and scripts but don't want to deal with the latency of GUI remoting. Some, though, are so badly thought out that they are slower than using a browser over long-distance X…
My objection to TUI is I don’t think it’s clear enough for what’s happening here. I think you could easily argue that applies to most readline style stream CLI programs.
Would you call a fully 3D UI in VR, not a planar in the VR world but true 3D, a GUI? It is graphical by definition. But if you talked to someone about a GUI that’s not what they’d think you’re talking about without additional context.
That’s my objection. I think TUI implies way less than what these programs are doing. Yeah it can describe them but I don’t think it should be the word for them.
the real question is why are we still using text terminals?
the short answer is that on remote connections graphics is still a performance issue. in fact the popular solution to making remote graphics performant is webbrowsers. they are the graphical terminals of today.
if i want to build a graphical interface to a remote service, then i build a webinterface.
locally, the answer is historical tools, and that text interfaces are easier to develop and still more efficient to use. but not easier. especially commandline tools without an actual visual interface.
i just had this situation. the dolphin filemanager has a feature to add tags and comments to files. the interface is very clunky. but there is a commandline that lets me set those tags and comments which is much more efficient once you learned how to use that command.
Of course, these were just examples to show that a computer terminal didn’t have to - and doesn’t have to - be like a VT100 or similar. And I realize that nowadays, when we hear the word "terminal," we tend to think of something like a VT100. Especially since the Linux (kernel) includes emulation for something like that.
However, historically, the first devices to be called computer terminals (and to enable interactive operation) were typewriters and teletypes. That is why one of the names given to newer CRT terminals was "glass teletypes." To distinguish these terminals from their predecessors, they were also referred as video terminals (VT) or video display units (VDU) etc.
Note that in addition to built-in VT102/VT220 emulation, xterm also includes built-in Tektronix 4014 emulation, which, to use your terminology, is a graphics terminal.
But on the topic, IMHO those "text terminals" represent the lowest common denominator, and using them as a user interface causes the least friction compared to true GUIs. For example, after booting Linux, I can basically start using those TUI programs right away without having to install or configure a graphical environment (X11 or Wayland). Remote computing also causes less friction and can essentially be used out of the box.
And TUI programs, like GUI programs, also make it easier and faster to explore compared to programs that run exclusively in CLI mode.
Personally I regret that Plan9-style computing and Oberon/ACME user interfaces didn’t become mainstream...
i have in more than 30 years of using X11 never once seen an application that would actually use that tektronix emulation. so i am absolutely clueless in what it can do and how it works. i'd really love to see that and especially learn how it works remotely. apparently telnet has support for it.
Wrong answer. Performant remote graphics is a solved problem (streaming video services like Netflix and online graphics-heavy games like Fortnite wouldn't exist otherwise).
Text terminals still exist because text is - currently - the most flexible and powerful method to provide commands, simple to complex. In a GUI you're usually using a mouse/touchpad/etc to navigate menus, click buttons, etc. And the more flexible the app and complex the ask, the more noisy or tedious the GUI will be. I'm unsure if it's still a thing today, but I remember when I was a Windows user and had to click through multiple windows selecting various options to get a regular app installed.
Meanwhile with a CLI, you type in a command with arguments and options, and everything remains relatively very clean and visible regardless of how complex the ask. Like installing something via CLI is maybe 5 elements on average.
those are not remote graphics applications. streaming is one way, and on slow connections it still fails. fortnite is local graphics. like a webbrowser. i already mentioned that. by remote graphics i mean a GUI application that runs 100% on a remote machine, and displays the output locally. like streaming, it depends on a fast connection. unlike streaming the fast connection needs to go both ways and it needs low latency (streaming doesn't need low latency, it just needs bandwidth.
your other example is similar to mine. but, in my opinion there is no reason why we couldn't have better graphical visualization of the commands we type. the browser model seems to be the right approach. local graphics working with remote data structures.