News for hackers. Stuff that matters.
Re:Ask HN: Stuck in terminal by mahmud on Friday July 16, 2010 @02:09AM (#1520437)

  stty erase ^v<backscpace>
Hold the control-key and the letter 'v' together: Ctrl-v

then press the backspace key.

For your future unix questions try google.

The purpose of it is that Unix uses a virtual terminal driver (combination of keyboard and display) so it can work with a large variety of vendor hardware across platforms. You need to map your actual keyboard keys to the virtual escape sequences that the terminal driver has builtin.

On any terminal, you can type Ctrl-h to do backspace.

http://alasir.com/books/bsd/514-517.html

Re:Ask HN: Stuck in terminal by macuser1234 on Friday July 16, 2010 @02:32AM (#1520473)
thanks, somehow my google search yielded no results.