by Brian_K_White · 2d ago · 0 comments
You can render a gui on a dot matrix printer if you wanted to, and that does not make "parallel port is a gui framework".
But aside from ripping apart the atrocious title... what about the actual idea?
There is no reason or advantage to delivering a gui via enhanced terminal graphics. It is not good engineering.
It's amusing, sure. But that's what it is, a silly thing that's fun to do just to see it done.
some terminals have some extra features that can be completely abused into rendering a gui, inefficiently, and unportably.
TTYs and vtxx terminals are so great because they are ubiquitous, but servers and clients that know kitty graphics are not.
Terminals are useful because they only use a tty, and all terminals since before they were even software or networked, all already support the same basic tty and terminal feature set. It's a standard that everything in the world already supports.
It's only useful as long as that's true. Once you do anything else, you are no longer within that standard and now you need a special server and a special client, and then you no longer have any advantage for doing it over ssh except that the firewall rules already allow the ssh port.
It's strictly worse to deliver a gui via terminal graphics than than just using RDP. There are more rdp server & client implimentations on more platforms than any enhanced terminal graphics capable terminals, and they can all be tunneled over ssh if you want.
That's totally disregarding X, NX, and RFB for different reasons in each case. They are also all better choices but they each also have some disadvantage. (X is inconvenient because although it has ui primitives & other desktop features it's client vs server is backwards from the way most people and firewall admins want to operate, and vnc & nx are inefficient because they are plain framebuffers however compressed and differential).
But rdp has actual ui primitives and other whole desktop features like channels for sound and peripherals. It's designed to actually do the job of delivering a ui.
And it's old as the hills and purpose-built and already implimented many times over everywhere on everything since decades ago. I had rdp clients on 160x240 palmos phones at least as far back as 2000-2005.
This is a fun stunt but purely silly.
I could make an ultra-complete, elegant client that uses RDP, or tunnel RDP over SSH as you said, but in practice I've found SSH with optimizations fast enough to practically use. The point was proving that it's actually accessible to a large number of people and surprisingly capable, not demonstrating that SSH is the perfect UI framework sent down from the heavens.
I treat the desktop like a "multiplexer-on-steroids" with a microVM and graphics built in behind the scenes to turbocharge it. I don't run my multiplexers on RDP.
Also, we're not making UI primitives from scratch, we have a custom Wayland compositor built upon Smithay, so any Wayland app works on SSH (XWayland is also automatically included, and WebKit has a custom implementation that bypasses display servers via DMABUFs).
Did you make every word in the title misleading on purpose?