vim / vi / crontab -e all throw an error about “terminal compatibility”.
This is because your TERM value is set to “screen” as you are no doubt connecting to a box inside a screen session, or are just using screen.
“E437: terminal capability “cm” required”
Quickest fix run:
Or if for some reason you are not connecting via screen, check your TERM variable by:
If this doesnt work, then you need a terminal that supports ncurses. Easiest way is to just search your package manager for “ncurses”. (I suggest urvxt or gnome-terminal)