Sunday, April 5, 2009

Changing Backspace to Delete

When we telnet into some of the unix servers, we need to either press delete or control backspace to delete characters. This is sometimes very inconvenient. The trick to change the backspace to delete is to type the following command:

stty erase ^H

Note that when you set the stty, press the backspace (which is represented by ^H here - on windows telnet command prompt, it will appear as ^?

This works for Sun Solaris and HP-UX - in korn shell. I found that Linux already knows backspace is delete.

Here is an article talking about this.

No comments: