Well... I've narrowed it down somewhat... the originator of the problem
is in /etc/bashrc. When the backspace key is set:
if [ -x /usr/bin/tput ]; then
if [ "x`tput kbs`" != "x" ];
stty erase `tput kbs`
elif [ -x /usr/bin/wc ]; then
if [ "`tput kbs|wc -c `" -gt 0 ];
stty erase `tput kbs`
fi
fi
fi
It screws up the terminals in some form. Commented out, and all but
xterm work correctly, but with it in, all of them (including xterm) are
messed up.
It would appear that the problems lies within the ncurses package,
though vim can't be completely ruled out.
Anyways, I don't use xterm (I prefer aterm), so I've commented it out in
/etc/bashrc for now. I haven't encountered any issues.
John