News for hackers. Stuff that matters.
Re:TUI Studio – visual terminal UI design tool by dec0dedab0de on Friday March 13, 2026 @09:55AM (#47364506)
It's a TUI if it uses text to build those elements.

You can be effective and powerful in any kind of interface, Just like you can be ineffective and weak in any kind of interface. People like TUIs because they're cool, and work over SSH.

Re:TUI Studio – visual terminal UI design tool by jvanderbot on Friday March 13, 2026 @10:24AM (#47364913)
Yes. A TUI runs in a text session. A GUI runs in a graphics session. A terminal emulator emulates a text session in a graphics session - and allows you to run TUI/CLI tools. This is apparently controversial?
Re:TUI Studio – visual terminal UI design tool by zabzonk on Friday March 13, 2026 @11:32AM (#47365824)
> TUI runs in a text session. A GUI runs in a graphics session

What do you mean by this? I have never heard these terms before. I can launch and interact with a GUI from a text application, or a text application from a GUI.

Re:TUI Studio – visual terminal UI design tool by tracker1 on Friday March 13, 2026 @11:54AM (#47366146)
It makes far more sense in the context of effectively a remote session or dumb terminal serial connection. Your "terminal" application is only emulating a text mode environment inside a gui, typically... you can ctrl+alt+F2 - F5 in a lot of Liknux's to switch to a terminal session if you want, but that's not what people tend to actually use.

Beyond this, without remote X properly configured, again, most don't and probably shouldn't.. you aren't running remote gui applications over an SSH session. Richer TUIs were pretty common in ye old days of DOS and other OSes before rich GUIs become the norm. DOSShell, Edit.com, etc. The IDEs of days past and Word Perfect even. These all interacted with Mice and were considered the norm. The features that allow this over a remote terminal today are pretty great IMO, the harder part is properly handling window sizes/resizes, etc.

With graphical extensions, there are even nice app explorers with image previews via TUI. It pushes the boundaries. For that matter, I often wonder what could have come with RIPscrip/RIPTerm if the leap to web didn't happen the way it did...

I think the single hardest part of TUI is dealing with wide characters and secondary fonts for color emojii that don't quite render in 2 spaces completely in a lot of termianls... it makes the line drawing harder too.

Re:TUI Studio – visual terminal UI design tool by nine_k on Friday March 13, 2026 @12:18PM (#47366416)
A remote GUI application now runs in a special client called a web browser; it's a recent development, barely 35 years old.
Re:TUI Studio – visual terminal UI design tool by dwedge on Friday March 13, 2026 @01:57PM (#47367521)
These sarcastic reddit style comments grate me. And it's also inaccurate, you're not runnning remote graphical applications from a remote headless webserver. You're rendering it locally.
Re:TUI Studio – visual terminal UI design tool by mikkupikku on Friday March 13, 2026 @04:11PM (#47369212)
He's functionally right though, a remotely served interface can be implemented as a TUI behind ssh, or it could be implemented as a website. Which is the better option depends on the context, but they're both serving the same function, and the terminal emulator you're using to view the TUI is most certainly rendering it on your computer.
Re:TUI Studio – visual terminal UI design tool by jvanderbot on Friday March 13, 2026 @05:50PM (#47370449)
This is true only up to "you can send and receive data".

A terminal is an OS construct mostly. It will, with permissions, allow you to do anything the OS can do, including shutdown, or serve more data. It's the default mode of operating the system.

The opposite is not true. The default mode of operating a web browser will not let you create a terminal access or do anything new with the machine.

Insofar as the previous is false - because it website has flaws that allow code execution, shell escapes, or remote package installations, it's worth pointing out that these are usually possible because your web server is running as a user on a system, effectively with system access via similar interfaces as the shell.

This is like saying you can operate a car from the truck - yeah maybe through some weird gymnastics, but the trunk is for transfer, and the drivers seat is for operating.

Re:TUI Studio – visual terminal UI design tool by mikkupikku on Friday March 13, 2026 @06:37PM (#47370923)
You can easily reboot a machine from a web interface, if rebooting the machine is intended to be part of that interface. I do it all the time with my shitty wifi router (which incidentally, also has a TUI interface.)

You're off base with your talk of terminals being "OS constructs" or whatever, I think it's because you're not being precise with what exactly you're talking about. "The terminal" is a combination of a terminal emulator, which is a userspace program which interprets control sequences that tell it which characters to render where. The terminal emulator is connected to a psuedoterminal, which is a pair of files for IPC with some special semantics, notably canonical mode. Importantly, in none of this is anything for controlling the system.

For controlling the system, you need some other program besides a terminal. A shell. A shell isn't part of the terminal, nor part of the operating system except in a broader sense of the term. And it doesn't have special abilities to control the system, anything the shell can do, a TUI or web interface, or any other kind of interface can be made to do.

Anyway, you ssh into a computer and start a TUI. The TUI doesn't render anything, it just sends you text and escape codes. The terminal emulator on your computer interprets this stream of escape codes and text, as a web browser interprets html, and renders it locally.

Re:TUI Studio – visual terminal UI design tool by jvanderbot on Saturday March 14, 2026 @03:26PM (#47380201)
Yeah I got off the main point. A shell is something else.

Text interfaces and text based sessions have a definition, as do graphical interfaces, as does web interfaces. They're separate and well defined even if there's some minor blurring at the edges or you can emulate one inside another.

Re:TUI Studio – visual terminal UI design tool by nine_k on Friday March 13, 2026 @04:08PM (#47369169)
An X server also normally renders things locally, as does a VT-compatible terminal. If you want no local rendering at all, there's VNC.

With a web app, you can slice and dice processing between local and remote by running JS locally. Most processing usually happens remotely though, and only the display and command logic is run in the browser.

Re:TUI Studio – visual terminal UI design tool by tracker1 on Monday March 16, 2026 @05:43AM (#47396914)
I've built my career in web based apps... Depending on what you're doing, your exponentially increasing you bug surface in a web based app vs a TUI over a remote shell/ssh.

It's not a matter of if you can do much as if it's practical, reasonable or worth the effort. I say this while writing an application that is effectively a remote web GUI over what can be done in their terminal sessions, because I want a nice UX.

I'm hoping to sell it commercially even. That doesn't mean TUI can't be a better option.

Re:TUI Studio – visual terminal UI design tool by tracker1 on Monday March 16, 2026 @05:37AM (#47396853)
Where did I say you couldn't create it use a web application? That said, it's not a their GUI, it's a local UI as part of a thick client.

You can definitely connect aWeb.UI to a remote system and over web sockets be really close to immediate. Though you're still interactive with disconnected state.

It's not usually an issue. That said, there is a lot more complexity and room for bugs for some use cases over a terminal session and plain text or TUI applications.

I've built a career on handling the complexities of web based applications over the past 3 decades. It's far from a panacea.

Re:TUI Studio – visual terminal UI design tool by chrisshroba on Friday March 13, 2026 @11:52AM (#47366122)
Sometimes your system doesn’t have a graphical session, like a raspberry pi with no x server running, or a cloud compute instance I’m ssh’ed into, or a docker image running on my laptop. Sometimes your system doesn’t have a (particularly usable) text system, like a work computer that disables the terminal or a family member’s MacBook who doesn’t have the time or space to install XCode terminal utilities to be able to use things like brew install.

My point is that it’s not a given that having one means you have the other.

TUIs are wonderful for the first case.

Re:TUI Studio – visual terminal UI design tool by riquito on Friday March 13, 2026 @11:49AM (#47366070)
Perhaps he's thinking about "console" / "display server" but the lines blur fast (e.g. you can run GUI in linux console with framebuffer with some limitations)

- https://en.wikipedia.org/wiki/Linux_console - https://en.wikipedia.org/wiki/Windowing_system#Display_serve...

Re:TUI Studio – visual terminal UI design tool by dec0dedab0de on Friday March 13, 2026 @12:07PM (#47366298)
It feels like a reference to DOS graphics mode.
Re:TUI Studio – visual terminal UI design tool by robotresearcher on Friday March 13, 2026 @12:47PM (#47366744)
Is it character mapped, designed to run in a tty terminal? TUI.

Is it pixel or vector mapped, designed to run in a graphics terminal? GUI.

Of course strictly speaking TUI is a subset of possible graphical user interfaces, but the term GUI was coined to denote interfaces other than the already-ubiquitous text terminal interfaces.

TUIs have since absorbed GUI interface elements like buttons, checkboxes, and even pointer input, which I think is causing the terminology complaint here. Classical TUIs like Norton Commander are more about keyboard input and navigation. But being text-mapped is the identifying feature of a TUI, I think most people accept.

Re:TUI Studio – visual terminal UI design tool by zahlman on Friday March 13, 2026 @02:39PM (#47367985)
In the Linux world, your GUI is built on a stack of separate programs. At the bottom is the "display server", such as X11 or Wayland. One of these needs to run to have GUI windows (or a full-screen background) at all; otherwise the screen is just covered by 80x24 terminal, and even if there were mouse support there would be nowhere to click or drag to change that. Without the display server, you are in a "text session". It's relatively rare to do this locally nowadays, but Linux still adheres to the highly modular UNIX philosophy.

Your terminal windows (whether that's "Terminal" or "cmd.exe" or anything else) are still fundamentally graphical programs that emulate such a text session.

Re:TUI Studio – visual terminal UI design tool by reaperducer on Friday March 13, 2026 @10:13AM (#47364752)
It's a TUI if it uses text to build those elements.

No. All you've done is make a low-resolution GUI.

Re:TUI Studio – visual terminal UI design tool by drakythe on Friday March 13, 2026 @10:27AM (#47364948)
TUI means "Terminal User Interface" or "Text User Interface"

A GUI that is built with Text, and intended to be used in a Terminal, is what a TUI is, colloquially AND definitionally.

What do you think qualifies as a TUI?

Re:TUI Studio – visual terminal UI design tool by reaperducer on Friday March 13, 2026 @10:58AM (#47365373)
I've been using TUIs since PR1MEOS mini-mainframes in the early 1980's, I know what I'm talking about.

The issue is not the text. It's the WIMP interface.

Re:TUI Studio – visual terminal UI design tool by mikkupikku on Friday March 13, 2026 @12:08PM (#47366322)
Define TUI. I'm genuinely curious what it means in your context.
Re:TUI Studio – visual terminal UI design tool by zahlman on Friday March 13, 2026 @02:46PM (#47368073)
This is a pointless semantic argument.

Of course you can use the primitives of TUI, especially with mouse support, to reproduce a large amount (if not all) of the standard GUI interaction paradigms.

But it's bizarre, and missing the point from a UX perspective.

As an extreme example, we can imagine a program that displays the borders of a 40x15 "window" in the middle of a console, with box-drawing characters, putting a "close box" in an upper corner, with text like "File Edit Help" in the top left. We can imagine it responding to a click on the "File" text by popping out a "menu"; we can imagine a drag starting from the "title bar" causing the window position to be update (and the entire terminal window redrawn).

A lot of those kinds of functions, ironically enough, might make sense for a TUI editor implemented as a TUI (except the "windows" might just be understood as panels where the ultimate program displays parts of its output). But as an emulation of GUI windows, it'd be a strange, impractical novelty.

Re:TUI Studio – visual terminal UI design tool by StableAlkyne on Friday March 13, 2026 @03:13PM (#47368406)
What's with the purism? It's just a term used to differentiate one way of making a UI from another. Who cares about what is practical when you're just trying to give a thing a name.

Even in your example, it's pretty clear cut. If the window is built with text and served in a terminal emulator, it's a TUI. If you build it with a graphical framework that now needs X11 or whatever, it's a GUI.

This is just needlessly pedantic.

Re:TUI Studio – visual terminal UI design tool by gambiter on Friday March 13, 2026 @10:21AM (#47364856)
Yeah, that's the point. Why did you think you needed to say it?

It's a GUI that works over SSH. There is a very valid use case for that.

Re:TUI Studio – visual terminal UI design tool by ralferoo on Friday March 13, 2026 @12:12PM (#47366363)
I assume his point is that making stuff that assumes a mouse makes for a bad text-based UI. Absolutely fine if everything is controllable via the keyboard, e.g. if the tabs were labelled F1-Fn and they function keys switched them, or they had an underlined letter and Ctrl+letter switched focus to it, or whatever.

But if this thing requires you to just tab a lot through lots of pointless and rarely used fields to get to a "button" so you can activate it, because it's really all designed to be used with a mouse, then it's a bad text-based UI.

There are some incredibly good text-based UIs around, some going back to mainframe stuff from the 70s. Most of them are optimised for speed of control via keyboard rather than for looking pretty. Almost none of them would be quicker to use with a mouse.

Re:TUI Studio – visual terminal UI design tool by dec0dedab0de on Friday March 13, 2026 @12:18PM (#47366419)
absolutely, but it's still a TUI. Just like if you made a GUI that didn't have any mouse support and needed all keyboard shortcuts, it wouldn't stop being a GUI.
Re:TUI Studio – visual terminal UI design tool by ralferoo on Friday March 13, 2026 @01:55PM (#47367503)
TBH I've always hated the backronym TUI anyway, so if TUI includes things that require mouse input, then maybe we can go back to using "text-based UI" for things that only require a keyboard like we used to 30 years ago.
Re:TUI Studio – visual terminal UI design tool by jandrese on Friday March 13, 2026 @12:50PM (#47366781)
Would you say old DOS applications like Borland's Turbo series of compilers were not TUIs? They ran in the console but had menus, mouse support, dialog boxes, etc...

How about those text games that used ASCII art and you typed in commands like "look" and "go north"?

I would say using text mode is the primary requirement for a TUI. The other requirement being some kind of human-machine connection, IE a User Interface.