3 ms·
Someone really ought to design a new text terminal protocol with a strict binary separation between data and control information and eliminate the regrettable s
by butlerm 3y ago
Someone really ought to design a new text terminal protocol with a strict binary separation between data and control information and eliminate the regrettable scourge of escape sequences forever. Then using a command like "cat" to output a binary data to the screen would cause no unfortunate side effects under any conditions, a program would have to use a different interface to control the terminal, even to move the cursor from one place to another or to clear the screen. A proper terminal should not even process backspace characters unless they arrive via a control channel rather than the data channel, let alone process all sorts of other more dangerous control sequences.
- JdeBP 3y agoThat was invented in 1986. It was called the VIO subsystem of OS/2, and was followed by the console paradigm of Windows NT.
- butlerm 3y agoIs there a network protocol that goes along with that? Something suitable for a text terminal? Not just a proprietary and more than likely underdocumented API?