Xshell Knowledge Base
Backspace not Recognized
Last modified: Thursday, January 21, 2016 8:45 PM
Unable to delete characters backwards with the Backspace key.
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.