Remove dependency on termcap, which is uneeded