Friday, October 16, 2009

How to use backspace in emacs from remote terminal

For classes i have to use linux for development. So I have to use SSH to connect to the linux servers. The problem I always run into is using EMACS to edit C++ source files. The problem is whenever I hit "backspace" to delete something it does some crazy shit and I have to exit emacs and start over.

Note: This is for SSH Secure Shell. Other remote terminal programs should have a similar setting.

The way to solve this is to:

1. Go to "Edit"
2. Go to "Settings" at the bottom
3. expand "Profile Settings" and in "Keyboard"
4. Check "Backspace sends delete" and OK