This version of the termcap library was ported from 4.2 BSD Unix.  Only
termcap.c required changes.
