A Debian terminal problem

When connecting from an OpenBSD box to a Debian / Ubuntu box via SSH, if TERM is set to xterm-color, backscape and Ctrl+H work incorrectly.

Debian's terminfo for xterm-color seems to be broken. Since there are similar problems when using a real xterm with TERM set to xterm-color under a Debian based system.

One solution is to set the TERM variable to xterm-debian on the Debian marchine:

When using X11, edit the file ${HOME}/.Xdefaults; add the following line.

XTerm*termName: xterm-debian

set the TERM variable when connection via SSH

$ env TERM=xterm-debian ssh debian-box