Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Code Block
$ stty -a


Image RemovedImage Added

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.

Image RemovedImage Added

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.