2
2

More than 5 years have passed since last update.

viやvimで「Encounter E437: terminal capability "cm" required」が出た時の対処法

Posted at

エラーの内容

CentOS 7でviを起動した時に、以下の様なエラーが発生し、他で見つけた情報にしたがって、"export TERM=vt100"などとしてみたのですが、私の環境では解決しませんでした。

Encounter E437: terminal capability "cm" required 
Press ENTER or type command to continue

対処法

下記の参照元にしたがって、ncurses-term をインストールしたところ、解決しました。

# yum install ncurses-term

以下のコマンドを実行して、多数のエントリーが表示されれば、正しくインストールされています。

# ls /usr/share/terminfo/d  

なお、参照元の情報はCentOS 6のものですが、私のCentOS 7の環境でも有効でした。

参照元

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2