Vi
If the cursor keys don't work as expected (displaying characters A B C D instead of moving the cursor). This can be corrected by adjusting the configuration.
set nocompatible
This setting can be done per user in /home/user/.vimrc
or /etc/vim/vimrc
.