What's the problem? The fact that it generates aEmacs seems to have a problem with BACKSPACE
C-h? Which starts the Emacs help system instead of deleting a character?Yes, becauseDo other programs also generate C-h when hitting BACKSPACE?
C-h generates an ASCII control character with a value of decimal 8 called BS (BACKSPACE). However, Emacs overrides this by using C-h as a keybinding to access the help system using the letter 'h' as a mnemonic for help. To return the BACKSPACE key to it's original functionality of deleting characters rather than starting the help system follow one of the instructions in the following link.Well, that depends on what you want to happen. In Emacs My BACKSPACE key performs a DEL operation and C-h brings up the help system, which works for me. I'm using vanilla Emacs and don't seem to have changed this setting explicitly, so I'm assuming that it's the default. If you're using Doom Emacs then you may need to set or override a setting somewhere.Is there a generally accepted solution?
Emacs seems to have a problem with BACKSPACE, at least in my installation. Do other programs also generate C-h when hitting BACKSPACE and is there a generally accepted solution since I've come across several.
Well, that depends on what you want to happen.
So isn't it the matter with emacs key bindings?I just want BACKSPACE to act the same everywhere. ie move the cursor one space to the left and delete the character under the cursor.
I suspect balanga is talking about the [backspace] key on the right of the [+] key.I think using Ctrl-H (also known as ^H) to anything other than BS is abuse.
root@W520:~ $ stty all
speed 9600 baud; 64 rows; 266 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk iutf8
oflags: opost onlcr -ocrnl tab0 -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf rtsdtr
discard dsusp eof eol eol2 erase erase2 intr kill
^O ^Y ^D <undef> <undef> ^? ^H ^C ^U
lnext min quit reprint start status stop susp time
^V 1 ^\ ^R ^Q ^T ^S ^Z 0
werase
^W
# Fix home/del for mobaxterm
bind ^[[5~ ed-move-to-beg
bind ^[[6~ ed-move-to-end