- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backspace key problem
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
Discussions
Discussions
Forums
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
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
тАО01-29-2008 08:40 AM
тАО01-29-2008 08:40 AM
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:06 AM
тАО01-29-2008 09:06 AM
Re: Backspace key problem
stty | grep erase
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:17 AM
тАО01-29-2008 09:17 AM
SolutionI'd start by comparing the output of:
# stty -a|grep erase
...before and after the 'su -' operation. If you are doing 'su -' then the login profile of the target account is run. This may have redefined the backspace (erase). Another was to test this is to compare an 'su' with an 'su -'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:17 AM
тАО01-29-2008 09:17 AM
Re: Backspace key problem
Before su
intr = ^C; erase = ^H; kill = ^U; (backspace key works)
After su
intr = ^C; erase = DEL; kill = ^U; (backspace key works)
Exit from su
intr = ^C; erase = DEL; kill = ^U; (no longer working!)
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:21 AM
тАО01-29-2008 09:21 AM
Re: Backspace key problem
...and I meant to add: look in the 'profile' of the account that "disables" the behavior you seek (assuming that you 'su -' to it. It is quite likely that an 'stty erase=
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:21 AM
тАО01-29-2008 09:21 AM
Re: Backspace key problem
Things may not work this way any longer, or it could be that we were on muxes but...
As possible proof I offer the following:
Waaaaay back when (right after electricity was created), I was an operator, and we often had users who had problems with their backspace. Well some, of them never quite "got it", and couldn't edit their .login or .cshrc to save their life, and if we did it for them, they would somehow mess it up (I'm talking about just a few of the users).
I had observed that I could fix it for them from the operator console if I just did an
$> "stty erase
/dev/
if their terminal was left open for writing, which was easist to allow via "biff y".
And it would fix their problem with this.
Meaning that, at least back then, it was their terminal that we affected by "stty" not just (or maybe not even) their shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 12:01 AM
тАО01-30-2008 12:01 AM
Re: Backspace key problem
erase = DEL; kill = ^U; (backspace key works)
When did the backspace key work, while you were logged into root? I can't see how since it set backspace to the delete key.
So you can either change root's .profile or you can manually reset it with "stty erase ..." as TwoProc said.