logoalt Hacker News

0c3ca83 • last Friday at 11:40 PM • 5 replies • view on HN

What if, dare I say it, we just served HTML over ssh, and let the browser render a proper UI, instead of layering hacks on top of hacks?


Replies

kodoman • yesterday at 1:38 AM

I think the other side of things is why have the graphic program run over ssh, just have raw text cli tools to manipulate what ever then have a program driving it. This for me is where emacs excels and some programs already fit well with this model and the fantastic (albeit hacky) tramp.

tcfhgj • yesterday at 2:32 AM

No, i really don't want to have electron level bloat as a terminal

rvz • yesterday at 12:18 AM

Honestly why? It is not designed at all for that.

In fact it just makes it less secure.

➕ show 2 replies
drdaeman • last Friday at 11:44 PM

> HTML

> instead of hacks on top of hacks

Afraid that’s a contradiction. In this role, HTML is a pile of hacks upon hacks that was not originally intended for UIs.

But, yeah, people are trying to reinvent GUIs. By layering hacks over TTYs. If only there’d be some protocol for widgets and events over a stream connection…

➕ show 3 replies
orbital-decay • yesterday at 12:48 AM

UI in a browser is a massive hack in itself, a clean design would be better. For example a compact semantic remote access protocol to use with UIs, something like SPICE but better optimized for networks, fully presentation-independent, and less janky. This would let everyone use a GUI framework of their choice with an adapter. But people building terminal GUIs are culturally not ready for this, they'd rather continue reinventing the wheel and piling up hacks in terminals. I wonder when they realize that proportional fonts are more readable when vertical alignment is handled separately, and introduce terminals with variable-width fonts. And the presentation layer (I suggest calling it CSS).