*BSD News Article 37468


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!gatech!purdue!mozo.cc.purdue.edu!oddity!blewis
From: blewis@oddity.vampyre.org (Benjamin Lewis)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Anyone succesfully compiled chimera+term for NetBSD-1.0_BETA??
Date: 04 Nov 1994 10:21:41 GMT
Organization: Purdue University
Lines: 63
Message-ID: <BLEWIS.94Nov4052143@oddity.vampyre.org>
References: <397obg$cra@nntp1.u.washington.edu>
NNTP-Posting-Host: vet.vet.purdue.edu
In-reply-to: buckwild@u.washington.edu's message of 2 Nov 1994 10:06:40 GMT

>>>>> "Mark" == Mark Tamola <buckwild@u.washington.edu> writes:

    Mark> Has anyone out there successfully gotten chimera+term to
    Mark> work for NetBSD-1.0_BETA??  

I compiled Chimera1.61 with term-2.2.5, and it seems to work.  

I'll include the relevent parts of the configuration files below.


Common.tmpl:
	 * Check options.h to turn on TERM
	 */
	/* */
	TERMLIB = -L/usr/local/lib -ltermnet
	TERMINC = -I/usr/src/local/term-2.2.5
	//*


options.h:
	/*
	 * Uncomment if you want to use term 1.x
	 */
	/*
	#define TERM1 1
	*/

	/*
	 * Uncomment if you want to use term 2.x
	 */
	/* */
	#ifndef TERM1
	#define TERM2 1
	#endif
	/*  */

I also modified net.c, there seemed to be a bug in the #defines:
	 #ifdef TERM1
	 #include <client.h>
	 #endif

	 #ifdef TERM2
	 /* I believe this used to read #ifdef TERM */
	 #include <termnet.h>
	 #endif

I run NetBSD 1.0B and term-2.2.5 also.  Chimera runs fine.  I do
have a problem displaying pictures, but I think that is a problem
with my "mime.types" file, or my "convert" file.

I'm running XFree-3.1.  I edited the Common.tmpl and options.h files,
ran "xmkmf -a", ran "gmake MAKE=gmake", fixed net.c, ran gmake again,
and it worked.  I am using gmake for all of my X compiles, as imake
seems to generate Makefiles that won't work with BSD make.

Good luck!

	-Ben



--
Benjamin Lewis  (blewis@vet.vet.purdue.edu)