Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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 Joshi Jun 24 '13 at 12:10
The ALT key on your keyboard is stuck, most likely. – gertvdijk Jun 25 '13 at 20:29
@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

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


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.