Something that I never quite got working right was the key mapping on my FreeBSD box, at least when I was working locally and using Emacs. The normal key mapping has the Backspace key generating a Ctrl-h, which translate to a call for help in Emacs. But you really want it to behave by deleting the previous character, which is the default for the DEL key in Emacs. Why? Who knows.
It's not quite as important now for me, because I use a terminal program to connect to my remotely hosted box now, and it does the remapping for me.
Anyway, there's a function that plays some serious games with this and does it in a simpler way than mucking about with the translate table. Check out 'normal-erase-is-backspace-mode' - very interesting routine.
Man, Emacs has almost as many nooks and crannies as FreeBSD!
No comments:
Post a Comment