Taking a look at the loadkeys and dumpkeys source, it looks as though it'll be pretty horrible to port - the loadkeys code is in a Bison wrapper, so something seems to be determined in the compile process that changes the way the program runs... Still, I'll have a go if anyone has a desperate need. Rob