Language Selection

English French German Italian Portuguese Spanish

the futility of termcap in Linux

Filed under
Linux

Let's stop a moment and examine the futility of termcap in Linux.
Back in the 1970's Unix systems used to output to various hardware devices. First there were teletypes (most often the ASR-33, because they could be bought cheaply secondhand and refurbished by hobbyists). Teletypes were printers with keyboards attached, hooked up to a serial cable. Everything sent to the serial cable was printed with ink on paper, and the keys pressed by the user were sent the other way along the serial cable for the computer too read.

Note: we're not even talking dot-matrix printers here, the ink ribbon was generally struck by a daisy wheel or similar, so there was no possibility of bitmapped graphics. The characters were struck by good old metal type, dating back to Gutenberg.

This is what "tty" is an abbreviation for: teletype. The Unix console infrastructure still thinks in terms of serial ports connected to printers with keyboards attached. Newline and linefeed being separate characters, waiting until a full line of text is typed before processing it, inability to programmatically read back what was written. Even the ctrl-G "bell" character rang an actual metal BELL. These machines not only needed their ink ribons replaced, they needed to be periodically cleaned, oiled, and various pieces tightened and straightened because they rattled apart. It was almost steampunk.

Then in the 1970's "glass tty" devices were introduced, which connected the serial cable to a box with a CRT and keyboard, instead of printer and keyboard. This new style of terminal was a drop-in replacement for teletypes.

rest here




More in Tux Machines

Linux-based postmarketOS project aims to give smartphones a 10-year lifecycle

The folks behind postmarketOS want to go even further: they’re developing a Linux-based alternative to Android with the goal of providing up to 10 years of support for old smartphones. That’s the goal anyway. Right now the developers have only taken the first steps. Read more

Canonical Fixes Regression in the Linux 4.4 Kernel Packages of Ubuntu 16.04 LTS

Earlier this month, on August 3, Canonical published multiple security advisories to inform Ubuntu users about the availability of new kernel releases for all supported Ubuntu Linux operating systems. Read more Also: GCC 7 Now Default Compiler in Ubuntu 17.10 (Artful Aardvark), Qt 5.9 Coming Soon

Ubuntu Conference UbuCon Europe to Take Place September 8-10 in Paris, France

The second UbuCon Europe event, a conference dedicated to the European Ubuntu community, is taking place next month, between September 8 and September 10, in Paris, France. Read more

Linux & Radio: What You Can Do With It Now

Third, there is a belief that Linux apps are still too primitive to get anything productive done. Besides (whiny voice), “I tried Linux in 2005, and it was just too ha-r-r-d.” Sorry. A lot of those objections are no longer valid. Linux is solid, stable, free for the most part and has become as easy to navigate as Windows. And those old apps are all grown up now. You may have skipped over previous Linux articles we’ve run, but don’t skip this one. We’re not going to crow about Linux like it’s something brand new, because we both know it has been on your radar screen for 20+ years. This time, we’d rather you read about what you can do with it at your station — and primarily in your production studio — right now. Read more