Monday, December 3, 2007

Assigning Backspace key to console Terminal

On some consoles like AIX when we hit backspace you get control characters.
So the below can be used to assign the backspace key to erase backwards:

$ stty erase ^?

where ^? is equivalent to pressing the Backspace key.

No comments: