![](https://seccdn.libravatar.org/avatar/64f8793c7ad0eef351592c4bdcc34aff.jpg?s=120&d=mm&r=g)
Werner I made the following changes to the /usr/lib/kbd/keytables/us.map file. #keycode 14 = Delete Delete changed to keycode 14 = BackSpace BackSpace #keycode 111 = Remove changed to keycode 111 = Delete Delete The console keys BackSpace and Delete now work as they should with no other changes. I would assume the us-prokey.map should get the same treatment. wayne Subject: [S.u.S.E. Linux] Re: BackSpace in XTerm SuSE differences. Date: Fri, Feb 13, 1998 at 01:26:28PM +0100 In reply to:Dr. Werner Fink Quoting Dr. Werner Fink(werner@suse.de):
Werner
With the ~/.inputrc file removed the Xterm works correctly. Delete, BackSpace, Home and end work as they should. The problem is, as I stated below, on the console the Delete key does not work correctly. The Delete key deletes the character to the right of the cursor rather then the character the cursor is on. This is the reason I added "Del: delete-char" to the .inputrc file in my home directory.
Hmmm ... it seems to a bug in the console map. You can test this by using Ctrl-V and pressing BackSpace, this should give
^?
the same for Delete ... Ctrl-V and pressing Delete should give
^[[3~
(^? is \127 also known as DEL and ^[ is \033 also known as ESC).
I did not expect for all the keys to work in X and am happy that you have done all the work required to make them work. I do, however, want to get the console Delete key to work. I had already done all this for the Slackware distribution and had everything working correctly. I am now 99% there except for that darn Delete key!
I will load the xlogin and xtelnet packages and read up on them. If I understand you correctly, you think that the keyboard is working correctly and I should leave it as is. Or that there may be some file in /etc/skel that has changed something. I am sorry if I have mis-understood you.
Please have a look into your map file in /usr/lib/kbd/keytables/. Note that on linux console the keycode of BackSpace key should repeat the ASCII-DEL character and the keycode of the Delete key should repeat the ANSI-DELETE-CHAR sequence (also known as Remove). With this mapping the /etc/inputrc works:
home/werner> grep delete /etc/inputrc "\e[3~": delete-char # do `backward-delete-char' # Note: `delete-char' is maped to \033[3~ "\C-?": backward-delete-char "\C-H": backward-delete-char
(\C-? is identical with ^?)
Werner -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
.
--
Information Center, n.:
A room staffed by professional computer people whose job it is
to tell you why you cannot have the information you require.
_______________________________________________________
Wayne T. Topa