Introduction

The UNIX terminal interface is a masterpiece of generalized programming. It tries to be all things to all hardware, and, for the most part, it succeeds. Consequently, however, it is a little complicated.

Because the control codes for monitors vary widely from vendor to vendor and from model to model, program output used to be hardware-specific. In effect, every time you wanted a program to run on a new piece of hardware, you had to rewrite the program. Obviously, this got cumbersome very quickly.

Linux uses intermediate programs to take the output of application programs and translate it into whatever format the display device needs. In effect, these programs are databases of hardware capabilities and control codes. These programs ...

Get Linux® Desk Reference, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.