Operating System - HP-UX
1837191 Members
2377 Online
110114 Solutions
New Discussion

Re: exceed xterm delete key not working ?

 
Sammy_2
Super Advisor

exceed xterm delete key not working ?

Trying to use delete key for deleting last character. When I
stty erase (hit the delete key). I get
# stty erase ^[[
How do I fix it. Delete key works with exceed on another box fine connectig to another hp server but here I cant make it work.

# stty -a
speed 38400 baud; line = 0;
rows = 24; columns = 80
min = 4; time = 0;
intr = ^C; quit = ^\; erase = DEL; kill = ^U
eof = ^D; eol = ^@; eol2 = ^@; swtch = ^Z
stop = ^S; start = ^Q; susp = ^@; dsusp = ^@
werase ; lnext
parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
echoctl -echoprt echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
good judgement comes from experience and experience comes from bad judgement.
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: exceed xterm delete key not working ?

echo $TERM

Is TERM set to something exceed supports?

try

TERM=vt100
export TERM

If vt100 solves the problem check your /etc/profile and or .profile configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sammy_2
Super Advisor

Re: exceed xterm delete key not working ?

# echo $TERM
xterm
# TERM=vt100
# export TERM
(Again , whe I hit delete key after stty erase, I get ^[[)
# stty erase ^[[
good judgement comes from experience and experience comes from bad judgement.
Robert Salter
Respected Contributor

Re: exceed xterm delete key not working ?

In a X session, I didn't have any problems setting the Delete key to do an erase. But when I did the stty it looked like this "stty erase ^?" ANd it works.

In a VT session the default keyboard mapping of the Delete key is as an "editing" key. You would have to re-map it to be a backspace key and then it will work in your VT session.
Time to smoke and joke
Sammy_2
Super Advisor

Re: exceed xterm delete key not working ?

How do you change it from editing mode so it works for me ?
I have another system where it works fine. Can I copy a particular file from one server to another ?
Thansk
good judgement comes from experience and experience comes from bad judgement.
Uday_S_Ankolekar
Honored Contributor

Re: exceed xterm delete key not working ?

on command line type
# stty erase "^?"

# stty -a will show you current settings

-USA..
Good Luck..
Robert Salter
Respected Contributor

Re: exceed xterm delete key not working ?

Are you using a X session or VT session?

If it's a X session, go to the Exceed icon in the taskbar,right click it, goto "Tools" > "Configuration" > "Keyboard" check to see what mapping is set. Mine shows "us.kbf". I had no problem doing the stty erase ^? using the Delete key.

If it's a VT session, got to "Options" in the Tool bar and select "Keyboard Mapping". Click the Delete key, mine shows "a|b" instead of Delete. The instructions on what to do are located on the lower left side, just drag and drop.
Time to smoke and joke
Sammy_2
Super Advisor

Re: exceed xterm delete key not working ?

Doing stty erase ^? does not help.
for some reason, I get ^[[ character when I hit delete key.
Using xsession, mine is set to us.kbf as well.
good judgement comes from experience and experience comes from bad judgement.
Amit Agarwal_1
Trusted Contributor

Re: exceed xterm delete key not working ?

Try

$ stty erase ^H

To get ^H press Ctrl-v followed by Ctrl-h. Check if delete key works fine as expected.

or as an alterntaive you can put this line in your .profile

stty erase ^?
Suraj Singh_1
Trusted Contributor

Re: exceed xterm delete key not working ?

I use exceed hummingbird as well, and am not facing any problem. May be u can try folloing settings.
Open Xconfig Console, go to Keyboard Input:
Primary Keyboard: Auto Select
Alternate Keyboard: us.kbf
What we cannot speak about we must pass over in silence.
Sammy_2
Super Advisor

Re: exceed xterm delete key not working ?

I don't see auto select as an option for primary key.
I have tried stty erase Cnt-V and ? but it does not work . For some reason, my delete key is using ^[[ characters
Thanks though.
good judgement comes from experience and experience comes from bad judgement.