The ``termlib'' library is now named ``termcap''. See ``man 3 termcap''.