Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. curses is a
terminal control library for Unix-like systems, enabling the
construction of text user interface applications. The name is a pun on
the term "cursor optimization". It is a library of functions that manage
an application's display on character-cell terminals. The curses API is
described in several places. Most implementations of curses use a
database that can describe the capabilities of thousands of different
terminals. There are a few implementations, such as PDCurses, which use
specialized device drivers rather than a terminal database. Most
implementations use terminfo; some use termcap. Curses has the advantage
of back-portability to character-cell terminals and simplicity. For an
application that does not require bit-mapped graphics or multiple fonts,
an interface implementation using curses will usually be much simpler
and faster than one using an X toolkit.