Forward delete does not work in emacs?

I use emacs as my command line text editor of choice. Pretty much because it is the only one I have learned how to use. I had been having a problem on my new linux server (battlix) though. The forward delete key didn't work inside of emacs, although it worked fine in bash. After some not-so-helpful googling and confusion as to delete, backspace, DEL, forward-delete, etc, etc I was able to arrive at the solution. Typing C-h followed by the forward delete key told me that delete forward was sending the key sequence ESC [ 3 ~. So I added this to my .emacs file:
(global-set-key "\e[3~" "\C-d")
And all is now well.

Posted by dustin on June 9, 2004 with category tags of

1 comment

   

VorgTag Cloud

Written by dustin
Latest Photo
Quote of Now:
Friends
Popular Posts
Computer Games

Hey You! Subscribe to dustin's RSS feed.
Or get wider opinion in the Vorg All Author feed.

 
 

Members login here.
© Vorg Group.