In one of my remote machines, I try to use
vim to edit a file.
When I press the Backspace key, the output is not deleting my character but adding
^? which is in a different color.
What is this and how can I avoid it?
This was known bug in Xterm which produced the wrong backspace character.. Upgrading to the latest version of XTerm should fix the issue. Otherwise, you can use a workaround the issue by adding