shell problems after ssh login
I'm using ssh on slackware 10.1 to connect to a server remotely. The server terminal emulation is vt100. my $TERM is set to xterm. When I run emacs on the remote machine, the backspace doesn't work and some other keys do strange things. I tried setting my own $TERM to vt100, but this doesn't solve the problem. I know vi will probably work, but I like emacs better for what I'm doing. I've been able to fix this problem in fedora core but I just can't seem to figure it out on slackware. I'm using bash on both my machine and the remote machine. Thanks for any help.