Red Hat Bugzilla – Bug 64803
tput shouldn't be run in emacs shells
Last modified: 2007-04-18 12:42:32 EDT
Description of Problem:
The line in /etc/bashrc saying
if [ -x /usr/bin/tput ]; then
if [ "$TERM" != "emacs" -a -x /usr/bin/tput ]; then
so that tput is not run in emacs shells, which doesn't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This implies emacs doesn't have a proper termcap/terminfo entry.
What's the problem you're seeing? I'm not noticing anything when running shells
When I start a shell in xemacs (my own compiled version, but I have the emacs
RPMs installed), I get:
"unknown terminal emacs"
Since I have emacs-21.2 installed, and there's no emacs entry in /etc/termcap (but
there is an eterm), I presume there's something wrong. I will probably revert to the
XEmacs RPMs now that you ship 21.4 in any case, but that shouldn't be the
Closing, as I can start a shell multiple ways in emacs and never see this.