Jul 17, 2017

How to fix screen Cannot find terminfo entry for 'screen.xterm-256color'

Switch back to the terminal app that we first set the screen. For example, switch from Gnome Terminal to LXTerminal.


Find out which TERM is supported:
ls /usr/share/terminfo/x
this will give you a list of supported TERMs i.e.
set the environment variable:
export TERM=xterm-xfree86
and run screen:
TERMINFO='/usr/share/terminfo/' screen