problem connecting a ps/2 keyboard with arduino

Hi,

Since your code is one of the example sketches I expect we can exclude it as the source of the issue. In your Serial Monitor session is there a chance your baud rate (lower right hand corner of the screen) is selected as something other than 9600?

Cheers !
Geoff