Delete key not working in terminal emulators
I am used to my delete key deleting the character at the current cursor position. Mine does this except in terminal emulators such as Konsole and xterm.
I'm on a Thinkpad T60 and Slackware 12.2. Here is the keyboard section of my xorg.conf Code:
Section "InputDevice" I assume I must need an .Xmodmap entry for the key, but I'm not sure how to do this. Specifically, how do I determine what keycode my delete is generating? Or is there something else I should look at? |
Quote:
BTW, my delete key works in all the terminal emulators and I didn't do anything to configure it. Brian |
Quote:
Quote:
|
Try the following on the command line, after entering each cat|od command press
DEL enter ctrl-d. If your delete key is working you should get something similar to this. Code:
bash-3.1$ echo $TERM You may also want to ensure your $TERM is set appropriately for the type of terminal you're using. |
Quote:
Code:
$ echo $TERM When I saw that, I did Code:
export TERM=linux So, since I have the same problem in an actual xterm, does this mean there is a problem with the xterm terminal type for my system? Should I therefore set TERM to linux in my .bashrc? |
Just to follow-up. After the discovery that my delete key worked with TERM=linux I went into the Konsole configuration dialog. There is a spot to set the TERM variable. After some trial and error I determined that with $TERM=linux and the Keytab as XTerm (XFree 4.x.x) my keys work as intended.
Thanks for the suggestions that put me on this path. |
All times are GMT -5. The time now is 11:05 AM. |