Hacker News new | ask | show | jobs
by xxpor 5 days ago
For TUIs, I wish a 5250-style block based terminal had won over VT100 stream based terminals.

For those not familiar, with a block oriented terminal, the native "chunk" of data is an entire screen. So you can put information in there like "this is a text box". This allows, for example, you to move around the screen with tab and type _with no round trip back to the server_. There's 0 latency. Data is only sent when you hit enter.

On high latency or flaky connections the experience is a million times better.

2 comments

DEC terminals did have block support! Almost nobody used them on unix afaik, but I saw a lot of VMS stuff that used a combination of the "protected" SGR, the local-editing mode, "media copy to host", and hotkey programming to produce a really similar experience to IBM.

I think xterm just doesn't support some of this stuff because it was easier than fixing write/ptys.

One day I'll actually get my hands on a real terminal!
You should visit Vintage Computer Festival (VCF) events across the US. I bumped into a working DEC terminal on my every visit. Some let you use it too.
Your comment made me realize my idea in this thread (https://news.ycombinator.com/item?id=50650758) was a block-oriented terminal, something I have read about but not used. One could borrow from that parallel lineage; for example, implement an RFC 4777 server that provides an administrative interface for Linux.