LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2006, 09:43 AM   #1
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Rep: Reputation: 30
emacs won't run


What does this mean?

emacs
emacs: Cannot open termcap database file
 
Old 04-01-2006, 01:51 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I don't want emacs to run as a window! mimithebrain Linux - Software 3 11-07-2005 04:39 PM
can't run emacs as root resist_r Linux - General 1 10-07-2005 05:54 PM
how can I run my perl scripts in emacs linjia Linux - Software 1 12-05-2004 10:30 AM
Emacs is there but wont run! aromes Linux - Software 1 09-29-2003 03:21 PM
run sqlplus under emacs fei Linux - Software 0 08-18-2003 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration