Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 12.04.2, and my keyboard doesn't work normally in terminal. When I press the arrow keys, the characters "a", "b", "c", or "d" appear. The Backspace key is also not working.

share|improve this question

migrated from stackoverflow.com Jun 25 '13 at 20:08

This question came from our site for professional and enthusiast programmers.

    
I know! But there are some commands in terminal. By that keyboard starts working neatly. So I'm looking for them. –  Chinmay Jun 24 '13 at 12:10
1  
The ALT key on your keyboard is stuck, most likely. –  gertvdijk Jun 25 '13 at 20:29
1  
@gertvdijk That'd explain the ABCD bit, but not backspace failing (alt+backspace deletes previous word, doesn't disable it) –  Jez W Jul 30 '13 at 11:14

1 Answer 1

By default, Ubuntu will install vim-tiny, a bare-bones version of vim. When you type vi in the terminal, it will start this minimal vim in vi compatible mode by default. From a normal vim user's standpoint, this is horrible, since vi compatible means backspace and all the normal vim behavior will behave in the original vi manner. so, install vim by typing the command :

sudo apt-get install vim

problem solved !! enjoy programming ;) :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.