41. Terminal and Serial Line Settings
41.1 Delving a Little Deeper
Article 5.2 and others introduce parts of UNIX terminal handling. This chapter contains several articles that show a little more about how UNIX handles terminals and other serial devices. Beginners don't always realize that there are several overlapping mechanisms at work. Programs like tset and tput , and the termcap and terminfo databases they depend on, actually configure the terminal or window (or tell other programs about their characteristics), while stty affects the operation of the UNIX device drivers that handle the serial line. From a user's point of view, the distinction isn't always clear, especially since tset does some of its work on both levels.
Perhaps we're continuing the confusion by putting information about both of these topics into the same chapters. Oh well. What we have here are a miscellany of topics that delve a little deeper than we've gone before into how terminals work under UNIX.