nemesis's Journal

Broken TERM in screen on Redhat

Wednesday 18th April, 2007

So, your DELETE, BACKSPACE and END keys don't work properly under screen in RedHat?

Redhat, for some reason, doesn't have a proper definition for the 'xterm' terminal type. There is however, one for xterm-color.

Throw this in your .bash_profile to fix it:

if [ "$TERM" = "xterm" ]
then
  export TERM=xterm-color
fi

0 Responses

Leave a comment

Sign in to leave a comment!

Don't have a login yet? Get one now!