The ncurses package provides a huge amount of functionality, but occasionally only a small part of that is needed. For example, the terminal attributes (from the TERMINFO database) are useful without enabling the entire ncurses package. These two programs provide first (termidemo1.c) just about the simplest access possible, and second (termidemo2.c) a much more complex do-almost-anything demonstration of taking it to a limit that approaches making it better to just use the whole ncurses package. Note that the results obtained depend very much on exactly how the TERM environment variable is defined, and on what the TERMINFO database says a particular terminal can do. The distribution "xterm" definition, for example, does not provide color, while the "xterm-color" definition does. All of these are interesting variations to try: > TERM=xterm ./termidemo2 > TERM=xterm-color ./termidemo2 > TERM=vt100 ./termidemo2 > TERM=linux ./termidemo2 The first two are for use under X, and the last two for a virtual terminal. $Id: README,v 1.1.0.0 2003/11/05 19:39:36 floyd Exp floyd $