I want to start GNU Screen from the Emacs terminal buffer. When I try to do this, I get an error message:
$ screen Cannot find terminfo entry for 'eterm-color'.
This error suggests that I should set the terminfo entry for the color label. I tried to do this in two ways that both failed.
The first attempt was to use the TERMINFO environment variable.
My .bashrc:
export TERMINFO=~/.terminfo
Then I did:
$ mkdir -p ~/.terminfo/e/ $ cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/* ~/.terminfo/e/
The eterm-color entry was not found in the terminal mode buffer. It says that it gets the eterm color from TERMCAP instead of the actual file.
$ infocmp
The second attempt was to use symbolic links.
$ sudo mkdir /usr/share/terminfo/e/ $ sudo cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/* /usr/share/terminfo/e/
This happened the same as the first attempt.
Why didn't any attempt work? How can I set the terminfo entry for the eterm color label?
I am running OS X 10.6.8 and Emacs 23.3.1.
source share