emacs does not work on MacOSX server

William H. Magill magill at me.com
Thu Mar 24 18:53:48 PDT 2011


On Mar 23, 2011, at 1:19 AM, Rodolfo Aramayo wrote:

> Folks,
> 
> This is a MacOSX server-specific problem
> 
> After applying the latest Apple server updates and port selfupdate and updates, which included emacs, I cannot use emacs anymore
> 
> After invoking emacs I get the following:
> 
> "emacs: Cannot open termcap database file"
> 
> Any ideas??

Emacs is like Perl ... it's a philosophy of life...

Been a long time -- I forget all my emacs internals ... but:

system-uses-terminfo
Variable: Non-nil means the system uses terminfo rather than termcap.
This variable can be used by terminal emulator packages.

I think....

(setq system-uses-terminfo y) 

in your .emacs file will switch to using terminfo, which is what OSX ships with -- i.e. no termcap file, just terminfo files.

No guess as to what might have changed or why. (It still works nicely in 10.6.7.)

T.T.F.N.
William H. Magill
# iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.7
# MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.7
# Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.7
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a 
# XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at me.com
whmagill at gmail.com










More information about the macports-users mailing list