E437: terminal capability “cm” required in Redhat or Centos 6
If you try to use vi or another curses based application in Redhat or Centos 6 and you get the error :-
E437: terminal capability “cm” required
Press ENTER or type command to continue
And you TERM type is something other than a vt100 like a dtterm then you need to install additional terminfo
The fix
yum install ncurses-term
Now ls /usr/share/terminfo/d shows lots of entries rather than dumb
Running "export TERM=xterm" seems to fix the issue.