I have SSH'd into a gateway computer and then from there SSH'd into another computer. Every time I click on backspace the entire line gets deleted...
stty -a gives me the following (partial excerpt):
As you can see, backspace ("^?") is binded to
erase, so I would expect using it to erase only a single character. Yet for some reason, it is behaving like ^U, where the entire line is deleted... As you can see below, as soon as I press backspace, the "^?" character is sent and the entire line is deleted despite it being mapped to
There are many similar questions already posted but none of those solutions work here since stty already maps to
erase. (i.e. this)
I'm using bash.