1833786 Members
2307 Online
110063 Solutions
New Discussion

Terminal Backspace

 
SOLVED
Go to solution
Craig A. Sharp
Super Advisor

Terminal Backspace

I need to set my backspace key to work on hp telnet sessions. I used to have the entry but since cannot find it.
Currently it is set to ^h but I want to use backspace.

Thanks,

Craig
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: Terminal Backspace

Try this:

stty erase ^?

The ^? you will get by pressing the backspace key.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
James R. Ferguson
Acclaimed Contributor

Re: Terminal Backspace

Hi Craig:

# stty erase=''

...where is the backspace.

Regards!

...JRF...
Bharat Katkar
Honored Contributor

Re: Terminal Backspace

Hi Craig,
See man stty to set.

# stty erase

This will set Backspace to backspace, i mean it will move backwards deleting the characters if any.

Regards,

You need to know a lot to actually know how little you know
Craig A. Sharp
Super Advisor

Re: Terminal Backspace

Perfect! Thanks to all.
Craig A. Sharp
Super Advisor

Re: Terminal Backspace

Closing this thread.