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 your 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


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

  1. Holy cow, thank you!! I’m trying to configure my Linux environment so that the crusty old Unix users can work in monochrome (while providing the new Linux hires with 256-color) and this was a huge help! Thank you!

  2. Did not work for me , it went tho a myriad of mirrors
    We are on GNU

    Last said:
    Trying other mirror.
    0208.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 – “Couldn’t resolve host ‘mirror.
    Trying other mirror.
    Error Downloading Packages:
    ncurses-term-5.7-3.20090208.el6.x86_64: failure: Packages/ncurses-term-5.7-3.2
    0090208.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.

Leave a Reply

Your email address will not be published. Required fields are marked *