Sunday, April 11, 2010

Linux:bash:about "delete key"

When I use "delete key" in some bash terminal, the key sends a tilde "~" instead of deleting the char that is supposed to be deleted.

Find a solution:
1. In your $HOME directory, create or edit your keyboard-mapping file, $HOME/.inputrc
2. Add one mapping line:

"\M-[3~": delete-char

3. restart your terminal

No comments:

Locations of visitors to this page