Depending on where you log in from, the keys you type may not do exactly what you wish them to. stty allows you to fix many of these problems.
If you hit delete, and see a ^H, from your shell, type
stty erase '^H'
If you hit delete, and see a ^?, from your shell type
stty erase '^?'
columnsoptions let you reset these manually:
Or X (when configured right) will do it automaticallystty rows 24 columns 80
(Remember the backquotes!!)eval `resize`
stty <function> '<key>'. <key> is the keyboard control key you want to use for the given function... for example, to specify Control-C, use '^C' ('^' means "Control", typically.) The most common functions you might need to change are:
|erase||^H or ^?||Backs up one character and erases it.|
|kill||^X||Cancels everything on the line you're typing|
|intr||^C||Tells the current process to interrupt itself, usually used to abort a running program|
|start||^Q||Restarts paused output|
|susp||^Z||Suspends the current program, returning you to your shell. (From here, you can type 'fg' to resume, or 'bg' to place the program into the "background" and let it resume.)|