I'm using GNU emacs 20 with mule. In xterm and on console emacs gives me what I consider to be proper behaviour. My BackSpace key on keyboard will quote as '^?' and is described with 'describe-key as 'DEL runs the command backward-delete-char-untabify'. My Delete key quotes as '^[[3~' and is described as 'deletechar runs the command delete-char'.
However, when I run emacs in native X mode, both the BackSpace and Delete keys behave as the BackSpace key, quoting as '^?' and describing as 'DEL runs the command backward-delete-char-untabify'. xemacs works 'correctly' in native X mode, but has a much larger footprint. So what do I need to do with GNU emacs to make it work in native X the way I want it to?