Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!ssc-vax!voodoo!bcsfse!bill
From: bill@bcsfse.UUCP (Bill Sears)
Newsgroups: comp.sources.bugs
Subject: Re: UMORIA: undefined symbols saveterm, cbreak, etc on USG system
Message-ID: <149@bcsfse.UUCP>
Date: Fri, 20-Nov-87 14:28:09 EST
Article-I.D.: bcsfse.149
Posted: Fri Nov 20 14:28:09 1987
Date-Received: Tue, 24-Nov-87 01:35:54 EST
References: <345@kosman.UUCP>
Reply-To: bill@bcsfse.UUCP (Bill Sears)
Organization: bcs
Lines: 46

In article <345@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes:
>I just tried to compile umoria, and can do that just fine, but it fails to
>link because of four undefined symbols in io.c:
>
>saveterm
>cbreak
>nocbreak
>resetterm
>
>These appear to be function calls, and I can kind of guess what they ought
>to do, but I'm not sure.  What gives?  
>
>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.
>
>HELP???
I have the same problem.  I'm running a Megadata Model 7 with Unix SYSV.  I
have looked through libcurses.a (that's where the calls are on the system at
work) but they're not there.  I tried writing some of my own with ioctl calls
using ICANON and various other things but I can't seem to get the correct
combination.
Another problem I am having is that I keep getting the error message

	Illegal Row = -12, Col = -9

or something like that (this is from memory).  Why might there be negative
number being passed to move (wmove(stdscr))?  I have looked through my
source and can't find anything wrong.  I have seen the same source working
on other systems.
I get all the way through the character selection phase and when it asks me
to enter my character name it says,

    Enter character name [Press  when finished]         or
                                 ^sic^

    Enter character name [Press ?x52?.>2?=+x:@-!
                                ^garbage^

Can anyone see a possible reason for this?  Then after I enter my characters
name and press RETURN, I get the stats block and the TOWN LEVEL message, but
that's it.  None of the town gets displayed and I start getting the illegal
row and column message like above.
-- 
	Bill Sears            ...!uw-beaver!ssc-vax!voodoo!bcsfse!bill
			FSE development project
    All I ask of life is a constant and exaggerated sense of my own importance.