bacspace and arrow keys not working in vi editor

Asked by shreeharsha

first i open terminal then i press
vi filename.l.........
vi editor will be opened...
after i type few words...
if i want to delete a letter and press backspace...
.the letter is not getting deleted...
if i press upward arrow character A comes...
for downward arrow character B comes...
for left arrow C comes ...for right arrow D comes...
so i am unable to use the backspace button and arrow keys...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu vim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

https://answers.launchpad.net/ubuntu/+source/vim

Please try to install vim vim-common vim-runtime vim-tiny from terminal type:

sudo apt-get upgrade
sudo apt-get install vim vim-common vim-runtime vim-tiny

Revision history for this message
shreeharsha (shreeharshab09) said :
#2

marcobra thanks for ur reply........but since i am new to ubuntu i didnt understand ur solution properly.........first go to terminal then type "vim-common vim-runtime vim-tiny"
 then after this type "sudo apt-get upgrade sudo apt-get install vim vim-common vim-runtime vim-tiny"........is this what ru saying??????

Revision history for this message
pramod (pramod-t) said :
#3

try dis using ur internet connection on

in terminal window

sudo apt-get install vim

Can you help with this problem?

Provide an answer of your own, or ask shreeharsha for more information if necessary.

To post a message you must log in.