Many years ago I knew how to enter the scan code for a particular key in hex and generate a keystroke. I've completely forgotten how to do that. That was under DOS, but I'm assuming that such a function can be used under FreeBSD... The reason I ask is that I have a ThinkPad X220 which physically has a US keyboard but I've configured FreeBSD to use a UK keyboard and am unable to generate keys such as a pipe symbol. How would I go about creating characters that are not available on my keyboard? Or is there a dynamic way to alter 'keymap'?