ps -g or ps -x kill -9 [process number] if keyboard is dead, from another terminal, same machine, type "kbd-mode -a" (or is it "kbd-mode-a"??)