I have a MacBook pro for work use, and just got my hands on an apple USB keyboard.
When I am in the terminal, using the external keyboard ONLY I receive weird characters when I hit the UP arrow key. For instance, hitting the up arrow either enters a "~" (tilda) character. I tried changing the keyboard settings, and after doing that I started getting garbage characters "]]&D]]" and the like (that's not the actual error – it's the sort of character output you get when using a box remotely with the shell not configured properly for arrow keys).
The weird thing though is that while doing this with the external keyboard, the macbook's built in keyboard has no issues, all arrow keys work just fine. So this seems to be entirely related to the external keyboard.
Does anyone have any ideas what could be going on or how it could be fixed?