How to get BACKSPACE & DELETE working with Emacs 19.29 under X?

How to get BACKSPACE & DELETE working with Emacs 19.29 under X?

Post by Dave Toppe » Tue, 23 Jan 1996 04:00:00

I recall having problems like this a while ago with Netscape.  Essentially, my Backspace and Delete keys
do the same thing (erase to the left and move the cursor).  I would like Backspace to function this way
but I would like Delete to delete to the right and NOT move the cursor.

How might I set things like this up under Emacs 19.29 under XFree 3.1.2?

The modifications I made a while ago for Netscape (which I haven't changed) are:

in .xinitrc:

xmodmap -e "keycode 22 = BackSpace"
xmodmap -e "keycode 107 = Delete"

and in .Xdefaults (to fix things for Xterm) ... used to make Backspace and Del work properly when
running Emacs 19.25 (without X) in an Xterm.

.XTerm.VT100.Translations: #override <Key>BackSpace: string(0x7F)\n\
<Key>Delete:    string(0x04)\n\
<Key>Home:      string(0x1b) string("{1~")\n\
<Key>End:       string(0x1b) string("[4~")

So I am at a bit of a loss and would really like some help.


Dave Topper


1. Emacs 19.29 build troubles on linux.


I'm seeing the exact same problems on a Sun running Solaris 2.4 and
gcc 2.6.3. I traced it as far as `running_asych_code' not being
declared. I saw a note in ChangeLog to the effect that emacs.c had been
changed to include it, but there was no patch for emacs.c in the diff
I got (from Perhaps there are bad diffs
floating around?


 -- Of course I'm crazy, but that doesn't mean I'm wrong.

System administrator at DjungelData                 | Fax: +46 31 772 3202
Chalmers University of Technology, G|teborg, Sweden | Tel: +46 31 772 3241

2. Gnome?

3. emacs 19.29 problems with ispell dialog

4. Need linux kernel guru for $$

5. Emacs 19.29 and ncurses 1.9.4 -- conflict?

6. Driver question, video & sound. new computer

7. Linker Erros Compiling Emacs 19.29 on ELF System

8. More 3-button stuff

9. Emacs 19.29 with Athena toolkit?

10. errors with xterm.c when compile emacs 19.29 under Linux 1.2.11

11. building emacs 19.29 on linux

12. emacs 19.29 error -- esc [ 1 9 ~

13. emacs 19.29