If you use urxvt and ssh chances are you’ve ran into the same issue as I have:
As it turns out, it’s quite easy to fix. All you have to do is copy over your local terminfo to the server which is giving you the problem.
create the terminfo folders on user@remotehost:
copy over the terminal profile ( urxvt in my case ):
All new ssh sessions will support the terminal profile you added :)