Sunday, April 26, 2009

Emacs ansi-term: eterm-color not found

So I had been playing around with a couple of MacPorts recently, and suddenly ansi-term was no longer happy with me trying to run mutt...it simply spit out the error eterm-color not found, and sent me packing back to a standard terminal. No good.

A quick search turned up this post describing the problem, and (not surprisingly) the ansi-term hints on emacswiki.org, which mentions the eterm-color terminfo files in question.

The solution turned out to be utilizing the tic command (which I had never heard of) to install the eterm-color terminfo file as follows:


tic -o ~/.terminfo /usr/share/emacs/22.1/etc/e/eterm-color.ti

No comments: