in reply to TERM problems

Heya Hotshot. I just had this problem due to adding colors to my PS1 prompt. I changed it to the following:
if [ $TERM != "dumb" ];then export PS1=... fi
I've also read tput can be called by the "clear" command, so check those dotfiles for clear! Hope this helps. :)