Is this in Windows? Are you running 'command' or 'cmd'?
If you are running Win2kX or XP, use 'cmd', not 'command'.
As an experiment though, if you type a bunch of characters and then go wave the mouse around, do the keystrokes all show up all of a sudden? I had some behavior like that...