tput: unknown terminal "term-256color" When I open a new terminal I keep having following warning message:
tput: unknown terminal &quot;term-256color&quot;
tput: unknown terminal &quot;term-256color&quot;
tput: unknown terminal &quot;term-256color&quot;
tput: unknown terminal &quot;term-256color&quot;
$

How can I fix this? What may be the main cause of it?
Unix uses the TERM environment variable to look up various escape sequences in the termcap database to allow programs to do more than just output characters to the terminal (which in these days typically are emulated in CMD.EXE, Putty or similar).  Examples are &quot;clear the screen&quot;, &quot;move cursor to a specific spot on the screen&quot;.
Your terminal emulator is configured to tell Unix that it emulates &quot;term-256color&quot; but Unix does not have that terminal in its termcap database.
Reconfigure your terminal emulator to tell that it is one that it knows.  Typical examples are &quot;vt100&quot; and &quot;xterm&quot;.  Which one exactly may require some experimentation after close reading of the documentation.