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

Wormhole in Interstellar Movie Designed with a Linux OS – Gallery

The Interstellar movie has been released not long ago and it was an instant success, despite some of the criticism that has been expressed by a number of physicists. To make thinks even more interesting, at least for Linux users, it looks like the production team used Linux to built the black hole in the movie. Read more

Pear OS Linux Concept Revived as Pearl Linux 1.0 – Screenshot Tour

Pear OS Linux was a very successful Linux distribution based on Ubuntu that wanted to provide an experience similar to Mac OS X. That operating system is gone now, but Pearl Linux wants to replace it. Pear OS Linux managed to have quite an impact on the community, despite the fact that it was offering an almost identical experience to the Mac OS X desktop. Read more

We have a winner! Fresh Linux Mint 17.1 – hands down the best

Linux Mint 17.1 is the first example of what the Mint project team can do when they're focused on their own system rather than on making the latest Ubuntu work with Mint. That’s because Mint 17.1 sticks with the Ubuntu released earlier this year – the first time this desktop Linux has not gone with the more recent Ubuntu. Read more

6 tips for adopting open source

Open source code drives collaborative innovation from a larger pool of developers at a lower cost, which is why federal agencies are adopting the "open source first" model. In fact Sonny Hashmi, CIO of the General Services Administration, recently announced that implementing open source software is among his top priorities this year. Read more