Backspace stty inconsistency

I have this in my .profile:
stty erase `tput kbs`

which sets erase to ^H for a vt and ^? for an xterm.

This has been fine up until now on all systems whether I login using a vt terminal emulator or an xterm.

On this new system though, if I log in directly using an xterm, backspace doesn't work unless I set "stty erase ^H".

However, if I rlogin from an xterm session on another system then backspace won't work unless stty erase is ^?.

Is there any way to make this consistent and work in all cases?

Thanks...

Not that I know of...
Because the main problem comes from the diverses OS... e.g. solaris uses ^?
Unless you only have HP boxes, this will remain...