/
Backspace not Recognized

Backspace not Recognized

PROBLEM DESCRIPTION


Unable to delete characters backwards with the Backspace key.


RESOLUTION


The key for deleting characters backwards is different for each server. The key itself is defined by the stty environment. Run the following stty command with the option -a.

$ stty -a




The highlighted erase signal is the function that we want to use for deleting characters backwards with the Backspace key. Therefore, the Backspace key must be defined to the erase character.



Recent shells such as bash usually initiate a backwards delete of a character regardless of this Backspace key sequence, but many programs such as nslookup, apt-get, etc. require adjustment of the key sequence.

Related content

How to register a private key to servers
How to register a private key to servers
Read with this
Backspace not working on Y/n prompts [9]
Backspace not working on Y/n prompts [9]
More like this
Issue with 'Backspace' and 'Delete' Keys [17]
Issue with 'Backspace' and 'Delete' Keys [17]
More like this
Backspace not working [9]
Backspace not working [9]
More like this
Bug in default Backspace setting for TERM=xterm [3]
Bug in default Backspace setting for TERM=xterm [3]
More like this
Sending Delete for Backspace in key map for DEC VMS [2]
Sending Delete for Backspace in key map for DEC VMS [2]
More like this