upvote
So basically expanding on remote X11/X forwarding?
reply
X forwarding is the complete opposite of that - it's non-semantic, doesn't abstract away styling, heavily relies on bitmaps, and generally a lot noisier than a terminal. It needs to be replaced with something better thought out for GUI remote access to be a viable alternative. Same goes for SPICE (as far as I remember how it works).
reply
The X protocol is semantic[1] and when used as originally intended is very fast even on 1990s networks. But GUI toolkits ended up heavily relying on local rendering and shipping bitmaps over the wire, which is why Wayland advocates argued bitmaps are good enough.

It's kinda like the way PostScript evolved into early PDF which evolved into modern PDF, where pages are basically assemblies of prerendered images. The original, semantic aspects are still there, just not used, or rather abused to dumb it down.

[1] At least in the way you mean. Semantic like SVG, which is still literal, just abstract.

reply
I remember running the original Citrix client for Windows over a 14k modem.

It worked remarkably well, the only real nut was the typical “splash page” on launch, which was typically a large bitmap. Those stalled pretty hard, but once you got past that and up and running, apps were quite smooth over the crummy bandwidth.

reply
SVG is also semantic; you can write (and even read!) SVG in a text editor just fine. Not every SVG is semantic though; many of them are just a single <path>.
reply
Yeah, my biggest pain with inkscape. Editing and saving a clear handwritten SVG there meant no more semantic SVG afterwards.
reply
"you can write it in a text editor" is not the definition of "semantic", you can also write PPM bitmaps in a text editor
reply
You can also write AVI videos, there's even a webcam package for emacs.
reply
> It's kinda like the way PostScript evolved into early PDF which evolved into modern PDF, where pages are basically assemblies of prerendered images. The original, semantic aspects are still there, just not used, or rather abused to dumb it down.

that is definitely not the case for any sensible use case. PDF that's just bitmaps is a shitty hard to use one

reply
The X protocol has some semantic drawing primitives, but modern applications rarely use them. Partly because they don't look very good, and partly because it is often easier to draw bitmaps, and the X primitives can't make use of the GPU.
reply
I am pretty sure many primitives are hardware accelerated.
reply
Modern GPUs don't do 2D acceleration, there isn't any hardware to map those primitives to. Layers such as Gallium map the old primitives onto software routines running on the GPU.

Some SoCs such as those from Rockchip and Allwinner do have 2D acceleration provided by their display controllers separate from the GPU but there isn't much software support for them.

reply
I think you meant Glamor, which implements X11 acceleration through OpenGL, replacing hardware-specific DDX drivers; Gallium is the abstraction layer between Mesa drivers and graphics APIs. Don't confuse with Glamo, which was the Neo Freerunner's GPU and had its own DDX driver :)
reply
Time to bring back https://en.wikipedia.org/wiki/Display_PostScript ?

I remember seeing a DPS terminal around 1988 or so. It was pretty.

reply
Have you actually tried it? Most modern apps and frameworks render to bitmaps on the GPU and pass that over X11 but that isn't the only thing you can do with X11.

And nobody mentioned "semantic". Focus on "semantic" usually turns out to be ivory tower nonsense that impedes progress towards working systems, anyway.

reply
I’ve not done X forwarding in decades but it definitely was semantic and abstracted styling back when i used it to connect to Solaris boxes over dial up.

Maybe the bitmap problem was an issue with modern DEs? Many of them were likely bitmap-heavy for window chrome anyway.

reply
Modern toolkits are optimized for GL rendering and the shared memory extension. They produce beautiful effects and animations, and give the X server large bitmaps already in VRAM, much like a video player.

Toolkits like Athena back in the day dealt in terms of lines, rectangles, and text strings to be rendered locally, more like, say, HTML does.

The latter approach did work over dialup. The former struggles to be smooth even over 100mbps Ethernet.

reply
You misspelled "useless" as "beautiful"

It still works fine over local lan

reply
How about HTML/CSS/JS
reply
HTML started somewhere between semantic and layout oriented; now it is more the latter. CSS is a powerful selector language but it selects... layouts.

JavaScript is a general-purpose language and does none, some or all of the above.

The web’s biggest problem IMO is that it has evolved in the direction of giving content providers more and more control over how that consumption is consumed. I miss the gopher days when content was 100% semantic and layout was 100% a client-side task.

What I would love to see is a semantic-only language that is textual (easy for a human being to type in a text editor) but more structured with extensible semantics. Instead of using | and - to “draw” tables, just express the data and leave it to the renderer to choose the best (or user-preferred) rendering.

Maybe I’ll mock one up.

Ed: spelling “not”—>”now”

reply
What if - I know this is a tall order - instead of arguing about the layers a program should be divided into, we spend time making it easier to write your own program from scratch and then it won't matter if one of them sucks because you can replace it wholesale
reply
It's fun though. I think this is a fun demo of forgotten/overlooked ssh capabilities.
reply
It's worth trying. I have thought that you might be able to replace most TUIs, which rely on presentation-oriented ANSI, with a lightweight markup language that includes forms. [1] A form would be interactive while current and become part of a static log once submitted. I guess that's pretty much a block-oriented terminal? [2]

You could use a controlled subset of HTML. It naturally comes to mind. However, an implementor could then embrace, extend, and extinguish your protocol by allowing full HTML.

[1] A language like Markdown/djot or Creole, https://web.archive.org/web/20260000000000*/https://www.wiki....

[2] https://en.wikipedia.org/wiki/Computer_terminal#Block-orient...

reply
I mean, one could argue that the web is just a remotely accessible hypertext protocol we've been increasingly abusing to make whatever arbitrary GUIs we want.

I've always wanted a styling-independent protocol, which led me to the Gemini protocol (not the AI) for one, although I find that all such "next-generation" protocols don't see much traction.

I picked SSH as a convenient option that people already use to log into VMs.

reply
nit: CSS is the styling not the HTML :P
reply
[dead]
reply
The problem is a web browser is exactly that use case. Their whole function is to remotely render a GUI.

We gripe about web design when people start to act more like it's local, but all the things a browser does are essentially "I need a remote GUI" and a lot of effort has gone into that.

reply
They are not and the fact HTML/CSS is NOT designed to be "remote GUI" is precisely the problem web has.

It is document + styling format. It was not designed to do GUIs, It was roundpeg squareholed into being one, and only after throwing copious amount of JS on it it works okay while being okay on design side

reply
"designed for" is always a red herring. The question should be, what does it actually do?
reply
Well, it's surely not the most elegant thing ever, but it is so far above anything else in terms of being cross-platform, actually powerful and bandwidth efficient (if one wants it to be) that we should just accept the "costs".

Like you could write a full CAD app, online FPS shooter etc in it.

reply
A terminal with an HTML/CSS embedding mode would be interesting.

In the BBS days, there were some attempts to move beyond ANSI escape sequences, like RIPscrip: https://en.wikipedia.org/wiki/Remote_Imaging_Protocol

Once the web took off, all that stuff disappeared...

reply
Problem is the more flexible a contract/protocol/interface is for one side, the less flexible it is for the other.

For example a terminal supports flexible font (but only monospace!) and font size. If it was based on pixels those wouldn't be changeable. Conversely if it didn't have a character grid (like HTML doesn't) it could also support proportional fonts.

reply
I made something like that a while ago: https://github.com/breuleux/terminus

I'm currently working on something far better that allows for true interactive widgets over SSH (that does already work), but in my quest for perfection I'm about to rewrite the protocol for the third time, so I don't know if I should share that :P

reply
deleted
reply
it is annoying how poorly web browsers support the local or ssh tunneled application use case though. it would be nice if there was a way to get browsers to work more like X servers, presenting an unix socket that applications (either local or ssh-tunneled) could connect to. Or something along those lines.
reply
I've actually recently shipped something along these lines, now supported on all platforms. It's an SSH client fused with a browser: https://probablymarcus.com/blocks/2026/11/20/ssh-tunneling-h...
reply
Basically wireguard + Apache httpd with cgi-bin or websockets?
reply
the main difference between web UI and a terminal is that a terminal streams instructions. For HTML you usually need a whole program that compiles
reply
Modern web is a terrible abuse of what was originally a document viewer. A web app is not even in the same league with a TUI when it comes to remote access. It needs to be designed specifically to stay as noiseless on the network as a TUI app is by default, and the browser is incredibly janky and bloated, which is not avoidable. Don't worry though, modern TUIs are headed towards the same direction, because people want more and more features in a legacy thing instead of designing one for the purpose.
reply
I can compose a text with barely any network and then press send and it will eventually go through.

I literally have to find stuff like herdr web ui or whole mobile applications to write a longer text (e.g. a prompt) when I'm on patchy networks because the variable latency after each keypress makes it impossible to write on an SSH TUI. So if anything, it's the latter that is a "terrible abuse" of a GUI.

reply
how does hyper gui transfer protocol sound? :)
reply
How it sounds depends on how you pronounce GUI--do juniors say "gooey," or has that passed away with "sequel" and "clee"?
reply
Don't tell me, the correct pronunciation is actually jooey?
reply
printf "\007";
reply
That better solution is known as plain HTML over HTTPS. The user can write their own styles. The user can prohibit <img>s or selectively allow them.

But yeah the author is probably deliberately conflating between the Terminal which renders and the SSH protocol which just transports streams securely. It makes the title more enticing.

reply
html is ass for actual interactive UIs
reply
The large amount of effort needed for good interactive UIs in the terminal is comparable to that as a webapp.
reply
It exists. It's called HTTP and HTML.

If you do this, however, you quickly figure out that you're wasting bandwidth and the user's time by forcing a round trip to a far-off server on every button click (hence Javascript), and that the UI looks inconsistent in different browsers (hence CSS), and then, a few years later, you get the status quo.

reply
And then you've reinvented native apps but worse.

The point of design or abstraction is basically to pick out specific interesting points on a multidimensional spectrum. You can't cover a large swath of the spectrum and still have a good design.

Classic HTML forms were an interesting point. They are not the most efficient solution to every problem, but they have known properties which allows more to be said about then (for instance no code execution on the client, and you can "save as" and print). Fully native apps are another. There's very little that can be guaranteed about a native app but it has access to more ways to do things efficiently. By pulling HTML towards native apps, it becomes a jack of both trades, master of none. You can't guarantee many properties about an HTML page and more, you usually can't print one and definitely can't save-as, but it also can't be as efficient as a native app.

reply
I'd propose we define some kind of hypertext markup language. Probably allowing the app send some default cascading style sheets would not be bad, but we should be able to apply our custom ones over it. Then we find a way to represent our state transfers between the client and server.
reply
deleted
reply
Ultimately there's so little actual programming going on now it's automated with AI that larping is filling the time.
reply
>Terminal giving you a janky and limited remotely accessible canvas you can abuse to make primitive GUIs doesn't imply that "SSH is a GUI framework".

Sure it does.

>A lot better solution would be designing a compact, semantic, styling-independent remote access protocol

Sure. But something being a better <thing> doesn't mean something less good is not <thing>.

reply
Well, for one SSH != terminal, and a framework is supposed to be a lot more than just a canvas...
reply
yknow that sounds a lot like "the web"
reply
So something like FreeRDP?
reply