[comp.sources.games.bugs] Galactic Bloodshed compilation saga

unocc07@zeus.unl.edu (Dave Caplinger) (05/04/89)

I just spent a few hours fighting with the distribution(s) of GB..  It was
"interesting".  I got the anon-ftp distribution from ssyz.ucsc.edu, and tried
to make it.  Numerous files were missing (fortunately, I had the "pre-patch"
version around as well to get the files from...), and many used the info in
files.h but did not bother to #include it.  Besides this, our cc wouldn't take
it.. It would give up in dosector.c with "can't reclaim".  So...  I had to
modify the makefile so I could use gcc instead... 

In any case, I finally got it to compile!  :-)

I did NOT run "make install" because I didn't want to lose all my .o files
if it crashed, but I did the commands in it by hand (except rm-ing the .o's).
I did a makeuniv < planet.list and it worked great, made the new directories,
etc in about 1 minute (not the advertised 20).  BTW: Instead of dropping out
when there is an error opening a file, it just waits until it tries to write
to that (non-existant) file and core dumps instead.  An interesting method
of error-trapping.. :-)

So, here are my questions:  I've compiled GB using BSD 4.2 and gcc, but when
I run it, I get "what person would you like to log in as?"  Since I don't
know what else to do (did I miss something in the docs?), I type in "dent",
which happens to be the "god" account.  This may be the source of my error,
but I think it does the following with other accounts there too.

It tells me "there is room for you!" and I give a race name.  As soon as I
hit return, it goes off into never-never land, and never-never comes back.
After about 5 minutes of nothing, I tried to put it in the background, but
as soon as GB noticed, it said "hey! character output!", so I thought it
actually did somehting.  I re-fg-ed it, and it cleared the screen, nothing
else.  Repeatedly putting it back into the background produces the same thing
over and over, but it still doesn't get it to do anything.

So my question is:  What the heck is it doing?  :-)

One more thing:  Does anyone understand "make chmod"?  The makefile will
sgid the GB file, and then give group rwx to all the Data/* and Data/Tele/*
files.  It then opens up the Docs/* for group read, and all the *.dat* files as 
well.

My only guess is the game assumes that I am going to install this in it's own
account ("games" perhaps) and that that account has it's own group all to
itself.  I can't install it like that here, so is merely installing it setuid
instead sufficient?  (I took out the setegid call wherever it was, since I
had no idea what the exact number of my group was at the time.. :-)

Does anyone have it working in a BSD 4.2 environment that I might be able to
get a full source distribution from (including any changes you had to make to
get it to run)?  Or does DYNIX just not hack it? :-)

-/ Dave Caplinger /------------------+-----------------------------------
 Microcomputer Specialist            |  Internet: unocc07@zeus.unl.edu
 "Computing and Data Communications" |  UUCP:     uunet!btni!unocss!dent
 University of Nebraska at Omaha     |  Bitnet:   UNOCC07@UNOMA1
 Omaha, NE 68182                     |    or      dc3a+@andrew.cmu.edu

srt@aerospace.aero.org (Scott "CBS" Turner) (05/09/89)

In article <1293@zeus.unl.edu> unocc07@zeus.unl.edu (Dave Caplinger) writes:
[background; "character output"
>So my question is:  What the heck is it doing?  :-)

Means the program has the terminal in "raw" mode or whatever.  Does GB uses
curses?  This is the typical behavior of backgrounding a program that uses
curses.

						-- Scott Turner