[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Terminfo and emacs

Harry Putnam <reader@newsguy.com> writes:

> I may have jacked up my terminfo database. 
> I built emacs from sources today.  A very recent beta of emacs-21. 
> Something like the rpm commands `rpm -qf </path/FILE>' will tell 
> exactly what package  a file belongs to.  Then with that info you can 
> say rpm -V <package> to find out if the package or its files are 
> screwed. 
> dpgk -l 'terminfo*' doesn't know anything about terminfo 

No. I think the terminfo stuff comes with the ncurses packages. I
find doing this:

  dpkg -l | grep term

works better than looking for specific packages. When I do this it
turns up the ncurses-base package, if you do:

   dpkg -L ncurses-base

You'll see the terminfo stuff there.

> People have told me the debian package manager is more sophisticated 
> yet, and can pull up more detailed info.  What do I need to read to get 
> on top of those kind of commands? 

The deb package manager is more sophisticated (AFAIK) because it
tracks dependancies and versions much better than RPM which only does
a cursory job.

> Any hints on what is causing the emacs problem. 

You can fix emacs by using 

   apt-get install termcap-compat

It's about time that emacs supported terminfo but unfortunately there
is no one with the time to do the work.


Reply to: