i know a little about this but not alot
not clear to me if older termcap was replaced by terminfo or if they are the same thing.
this is somehow related to ncurses so make sure you have that and its devel packages installed
ncurses has programs that translate terminfo to termcap and back and forth
my system as best as i can tell has nothing called termcap
if you have an older system like debian check a link in /etc called termcap to make sure it points to something valid. if not try to fix it.
(possibly /usr/lib/termcap is the proper thing ?)
i think if you are using emacs in an x session it shouldn't need terminfo/termcap
are you using it from a terminal or in an x session ?
did you compile this emacs yourself ? possibly without x support by mistake.
type the command "toe"
you get a bunch of output about available terminal types ?
try
toe | grep emacs
mine says
eterm gnu emacs term.el terminal emulation
sun-e-s Sun Microsystems Workstation with status hacked for emacs
(like i said not actually sure if thats termcap or not)
do you have a file /usr/lib/terminfo/d/dumb and not a file /usr/lib/terminfo/e/emacs
if so try
cp /usr/lib/terminfo/d/dumb /usr/lib/terminfo/e/emacs
just to see
sorry i can't help more
termcap = conceptual black hole
Last edited by foo_bar_foo; 04-01-2006 at 01:53 PM.
|