OS X ‘delete’ key not working in Terminal Fix
Posted by HokieTux on February 3, 2010 in Hacks
By default, the OS X terminal will not send the proper ‘^H’ character when you press the ‘delete’ key. This isn’t a problem if you are working locally, because the terminal knows how to interpret local keystrokes without issue.
However, if you are SSH’d to a remote machine and/or are using GNU screen, there is a chance that you will no longer be able to backspace properly.
Luckily, the fix is simple. Head into the Terminal preferences, click the ‘Advanced’ tab, and check the box about ‘delete’ sending the ‘^H’ character. It should look something like this on Snow Leopard:
And that’s it! You should be all set =)

3 Comments on OS X ‘delete’ key not working in Terminal Fix
I have no idea why this isn’t the default behavior, but this is certainly desired when working on remote Linux hosts.
This solution does not work for me (even though the screenshots are accurate). Frustrating. However, ‘fn + command’ seem to delete the appropriate way.
Really? That didn’t work? Strange.
Not sure what to say :-/
Subscribe
Follow comments by subscribing to the OS X ‘delete’ key not working in Terminal Fix Comments RSS feed.