After upgrading my system to the latest snapshot my Emacs META bindings
are not working properly in the terminal. For instance, from xterm, the
bindings:
M-B (backward-word),
M-F (forward-word),
M-D (kill-word),
output the the characters, â, æ, ä, respectively.
However, the standard or control bindings work as expected. For example:
C-D (delete-char)
C-B (backward-char)
C-E (end-of-line)
How can I get the META bindings working normally at the command line?
Things I've Tried
==========
Adding either or both of the following to my ~/.Xdefaults makes my Emacs
META bindings work at the command line, but breaks my Vim mappings which
use ALT/META.
XTerm*metaSendsEscape: true
XTerm*eightBitInput: false
Additional Info
=========
$ xev # press Left ALT key
KeyRelease event, serial 32, synthetic NO, window 0x2600001,
root 0xa9, subw 0x0, time 971309600, (178,136), root:(623,676),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
$dmesg | head -2
OpenBSD 5.2-current (GENERIC.MP) #1: Wed Aug 29 21:17:12 MDT 2012
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP