I have installed Mandrake 10.0 Official in my HP Compaq laptop for some development activities in C language. I was using vi - editor and today, when I made a save from the editor “:wq”, something happened accidentally and os started behaving strangely. I mean, when I type char ‘r’ in the keyboard, the console/text editors displaying ‘gr’, similarly when I type ‘g’, its displaying ‘gr’. This problem exists for a few keys(displaying multiple chars for a single key stroke). Also I am not able to do save from the vi editor, bcoz the char ‘q’ is not displaying in a single stroke. When I press ‘q’ continuously, the vi editor shows recording… and not exiting the editor

What could be the reason behind this, Please advice….

Thanks in advance