Why is there a separate xterm-debian termcap entry? It is kind of annoying, as when I brint up a shell to another (non-debian) machine TERM is still set to 'xterm-debian', which of course the other box doesn't know about...
Setting the XTerm.termName xresource to 'xterm' works around the problem, however you seem to lose the use of (at least) the 'Home' and 'End' keys. What is the difference between xterm and xterm-debian, and indeed xterm-xfree86 which is also present in /etc/termacap/x/? Regards, Ben