The following command fixes the error export TERM=xterm This can be used to test if it worked. echo $TERM