- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't erase the backspace !
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 02:56 AM
02-20-2002 02:56 AM
In the /etc/profile I put the line stty erase and then the sequence
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:04 AM
02-20-2002 03:04 AM
Re: Can't erase the backspace !
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:13 AM
02-20-2002 03:13 AM
Re: Can't erase the backspace !
I just tested - after doing a "stty sane", backspace does not erase characters on my terminal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:13 AM
02-20-2002 03:13 AM
Re: Can't erase the backspace !
On HP it should be:stty erase "^H"
Now, you havent mentionned what you are using (vt emulation, X like reflectionX ?) you might have to map the backspace in your emulator...
Just thoughts...
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:25 AM
02-20-2002 03:25 AM
Re: Can't erase the backspace !
stty erase "^?"
regards Seba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:25 AM
02-20-2002 03:25 AM
Re: Can't erase the backspace !
xterm
I had the line stty erase ^? in my profile
and the backspace key would work as expected.. i.e. deleteing the previous character. I commented out the stty line and logged out and in and then the backspace key would no longer work; I would get ^?^?^? evertime I hit it. I also notice that stty erase "^H" was in the /etc/profile but obviously this hasn't had an effect.
baffled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:28 AM
02-20-2002 03:28 AM
Re: Can't erase the backspace !
Then do a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:29 AM
02-20-2002 03:29 AM
Re: Can't erase the backspace !
do
vi .profile
and insert line
stty erase \backspace
and press enter it will change \backspace to right code
hope it help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:32 AM
02-20-2002 03:32 AM
Re: Can't erase the backspace !
the error you describe sounds as if you use RefletionX as emulator. If so, you can simply use the style manager "keyboard" to change behaviour with a mouse click.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 03:42 AM
02-20-2002 03:42 AM
SolutionIf you don't want to set erase in .profile you could use resources :
Create $HOME/.Xdefautls and put the following line in it:
*ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z
for system wide settings use files in /usr/dt/config/C probably sys.resources.
Also bear in mind dtterm does not automatically reference a users .profile ... dtterm -ls will though.