Vi Editor keys adding characters

You are using Vi Editor and press the backspace and it adds a new line with letter “D” in it. Or hitting arrow keys adds characters. Or a whole other random behavior and you...