View Single Post

   
  #6 (permalink)  
Old 02-15-2008, 05:27 PM
Ian Wilson
 
Posts: n/a
Default Re: another newbie question

chabral wrote:
> Hi,
> Is there a way to have the "backspace" key behave as it does in linux, I
> mean, deleting the character to the left of the cursor instead of causing a
> "break" or "abort" action?
> I'm using the bash shell, but with sh is the same.


man stty

stty intr ^C
stty erase <press backspace key>

If you are logging in from a terminal or terminal emulator (e.g. a
telnet client) then you can usually alter the behaviour of the backspace
key it the client end instead.
Reply With Quote