Operating System - HP-UX
1825766 Members
2035 Online
109687 Solutions
New Discussion

Re: About backspace key in CDE & Display

 
SOLVED
Go to solution
Ruben Cardenal
Frequent Advisor

About backspace key in CDE & Display

Hi.

I'm sure this is a very simple issue, but i can't "reparir" it :) Pressing the backspace key at any display window (including the login at CDE) doesn't work: I have to go back with direction key and use the Delete key. How can I make the Backspace key work? Thanks.
5 REPLIES 5
Animesh Chakraborty
Honored Contributor

Re: About backspace key in CDE & Display

Hi,
#stty erase ^H(backspace)

for permanent solution
insert the below line in your .profile

stty erase "^H" kill "^U" intr "^C" eof "^D"
Did you take a backup?
Bill McNAMARA_1
Honored Contributor
Solution

Re: About backspace key in CDE & Display

You're probably using reflection and have an option in X CLient Manager > settings > keyboard > backspace sends delete

stty erase
for a temporary fix..

Later,
Bill
It works for me (tm)
Ruben Cardenal
Frequent Advisor

Re: About backspace key in CDE & Display

Aimesh, that works (and is as is configured) for normal shell access. The solution was what Bill said. Thanks :)
Jdamian
Respected Contributor

Re: About backspace key in CDE & Display

The universal command to solve this is:

[ -t 0 ] && stty erase $(tput kbs)
Jon Jenkins_1
Occasional Contributor

Re: About backspace key in CDE & Display

When you use CDE it doesn't run .profile, it runs .dtprofile. You can make .dtprofile run .profile by uncommenting (removing the #) from the line

#DTSOURCEPROFILE=true

at the end of the .dtprofile file. Or add the line suggested above to the .dtprofile file.