On Tue, Apr 23, 2013 at 02:30:29PM +0000, Thorsten Glaser wrote: > [...] > XTerm handles that transparently: when in UTF-8 mode, Meta-d > is still CHR$(ASC("d")+128) = "ä", just U+00E4 instead of a > raw '\xE4' octet. > > This is *extremely* useful – especially as it leads people > away from national keyboard layouts towards QWERTY while > retainig the ability to write business eMails, which require > correct spelling. > [...]
Just use us intl-unicode as your keymap. That way, the right alt key becomes alt graph and two additional layers with diacritical characters are added to your keyboard layout. Works fine with st, and the regular "Left alt sends escape"-behaviour stays the same (and works fine with irssi and the like). -- Gregor Best