Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!psivax!nrcvax!kosman!kevin
From: kevin@kosman.UUCP (Kevin O'Gorman)
Newsgroups: comp.sources.bugs
Subject: Re: UMORIA: undefined symbols saveterm, cbreak, etc on USG system
Message-ID: <352@kosman.UUCP>
Date: Thu, 26-Nov-87 11:33:18 EST
Article-I.D.: kosman.352
Posted: Thu Nov 26 11:33:18 1987
Date-Received: Sun, 29-Nov-87 20:47:50 EST
References: <345@kosman.UUCP> <5719@ncoast.UUCP>
Reply-To: kevin@kosman.UUCP (PUT YOUR NAME HERE)
Organization: K.O.'s Manor - Vital Computer Systems, Oxnard, CA 93035
Lines: 30

In article <5719@ncoast.UUCP> allbery@ncoast.UUCP (Brandon Allbery) writes:
|As quoted from <345@kosman.UUCP> by kevin@kosman.UUCP (Kevin O'Gorman):
|+---------------
|| saveterm, cbreak, nocbreak, resetterm
|| 
|| I'm running on an AT&T UNIX PC (3b1), and I guess that makes me as USG as
|| you can get.  I'm not at all sure I know how to write the four routines.
|+---------------
|
|You're not as USG as you can get; the UNIX PC runs CTIX from Convergent
|Technologies....
|
|Sounds like you didn't install the Curses/Terminfo Development Package.  The
|functions in question are terminfo functions, as opposed to termcap ones.
|Alas, the default curses on the 3B1 uses termcap rather than terminfo (I find
|terminfo to be much cleaner).  You probably need to be at the 3.5 release or
|later to get this; it comes with the 3.5 and 3.51 development systems.


Nope.  I tried this solution, and MORIA still refused to link.  I eventually
stuck some extra stuff into CFLAGS in the Makefile:

	-Dsaveterm=savetty -Dresetterm=resetty \
	-Dcbreak=crmode -Dnocbreak=nocrmode

and this fixed the problem.  Moria runs just fine now.  I dunno what those other
calls are, but it isn't terminfo, at least as I got it from AT&T.
-- 

Kevin O'Gorman ( kevin@kosman ) Vital Computer Systems, Oxnard, CA  93035