I'm not sure that bash will pick up the new $TERM with your export command. try: export TERM=screen exec bash Please do not set TERM to screen before starting screen, it'll just mess up screen's key translation. I suspect all this is because the 'screen-xterm-256color' entry is very broken. Which package does it belong to? I.e. what's the output of: rpm -qf /usr/share/terminfo/s/screen-xterm-256color