[Top][All Lists]

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

Re: Crash in tparam.c on OpenBSD

From: Casper Gripenberg
Subject: Re: Crash in tparam.c on OpenBSD
Date: Fri, 2 Jan 2004 15:43:35 +0200
User-agent: Mutt/1.5.4i

On Fri, Jan 02, 2004 at 11:25:27AM +0200, Eli Zaretskii wrote:
> It means that your Emacs was compiled for termcap, but the TERM entry
> it gets fed is for terminfo, which is a newer method of specifying
> terminal capabilities.  Emacs as compiled on your machine cannot
> handle terminfo entries, so it barfs.
> There should be an entry in the PROBLEMS file named "Emacs aborts
> inside the function `tparam1'" which tells you more, including
> suggested ways to solve this problem.

Thanks. You are correct about the location of the problem.
After a bit of wrestling back and forth with the source, and 
not really getting anywhere, I figured out to check the newer 
OBSD 3.4 ports tree. In there was 21.3 patched the following 

$OpenBSD: patch-src_s_openbsd_h,v 1.1 2003/07/05 00:27:08 naddy Exp $
--- src/s/openbsd.h.orig        Wed Mar 22 13:08:18 2000
+++ src/s/openbsd.h     Fri Jun 27 01:17:51 2003
@@ -9,3 +9,8 @@
 /*  David Mazieres <address@hidden> says this
     is necessary.  Otherwise Emacs dumps core when run -nw.  */
+/*  Idea From the FreeBSD port. Seems to work well.
+    Needs testing and then commiting to emacs developers */
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses

Looks simple enough. Close to what I tried, but I was probably
editing the wrong files (manually patching config.h). 

Anyway the 3.4 port works beautifully. I get color in the
terminal too, which I did not get before. Happy now :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]