I installed Ubuntu 12.04 LTS in Windows 8.1 using vmware workstation. When I open a file in the terminal using vi filename.c
, the arrow buttons will not work properly, pressing up arrow prints A, down arrow B, right arrow C,left arrow D. How can I overcome this problem?
Asked
Active
Viewed 126 times
0
1 Answers
1
Your Shift key is probably stuck.
This can happen because either the keyboard key switch is physically stuck a bit or because the last time you released the key the system did not properly detect it.
Both causes should get eliminated by hitting the key a few times.
It's perfectly normal behaviour that the key combinations Shift+↑, Shift+↓, Shift+→ and Shift+← in a terminal window result in the characters A
, B
, C
and D
to be printed.

Byte Commander
- 107,489
nano
) and what terminal-emulator (e.g.gnome-terminal
) you use. Besides this, are you holding theSHIFT
key in the meanwhile?SHIFT
+↑
is "A",SHIFT
+↓
is "B",SHIFT
+→
is "C" andSHIFT
+←
is "D", that's normal. – Byte Commander Sep 25 '15 at 08:01