cancel
Showing results for 
Search instead for 
Did you mean: 

Can not set delete key

SOLVED
Go to solution

Can not set delete key

Ok I have a hard one. at least I think its hard.

I am using citrix to login to an xterm session. from there execute an sshx command to ssh to different places and execute xterm.

Linux) cmd="/usr/bin/X11/xterm -display $DISPLAY -bg darkblue -f
g white -geometry 120+0+0 -name "$TITLE" -title "$TITLE" -sb -vb -ls -sl 25000"
;;

However when I log in and type stty I get

speed 38400 baud; line = 0;
erase = ^H;
-brkint ixoff -imaxbel

also the backspace key erases one character then toggles the next character between upper and lower case. if I do a contrl-v backspace I get ^[[3~ no idea why this is happening. why is backspace mapped wrong? this only happens on a few Linux machines not all. Mostly red-hat boxes.

Any help would be appreciated.

Shane
2 REPLIES
Alex Glennie
Honored Contributor
Solution

Re: Can not set delete key

Re: Can not set delete key

Thank you for the input. I did find the solution.

/usr/lib/X11/app-defaults/XTerm

BackSpace: string(0x7f) \n\

that worked like a charm. now CNTRL-v is ^? like it is supposed to be so all is well.

Shane