E437: terminal capability “cm” required in Redhat or Centos 6

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.

 

 

posted @ 2013-03-29 11:35  破军  阅读(2197)  评论(0编辑  收藏  举报