unknown terminal type 

> > How Can I fix the "unknown terminal type" problem?:
> >
> > $ clear
> > 'xterm': unknown terminal type.
> In any
> case, xterm should be in your termcap/terminfo database,
> so having clear complain that it's an unknown terminal
> type indicates to me that the database has not been
> properly installed.  What system are you using?

I fixed by pointing env var to

TERMINFO=/usr/share/lib/terminfo