Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!kluft
From: kluft@hpcupt1.HP.COM (Ian Kluft)
Newsgroups: comp.sources.d
Subject: Re: spacewar madness...
Message-ID: <6890003@hpcupt1.HP.COM>
Date: 27 Jun 88 20:39:58 GMT
References: <303@unocss.UUCP>
Organization: HP Systems Technology Div, Cupertino CA
Lines: 36

dent@unocss.UUCP (Dave Caplinger) writes:
> A desperate question: has /anyone/ successfully compiled spacewar
> under:
>
> 1) SYS V
> 2) BSD 4.2 (or 4.3)
> 3) VMS 4.6 (or 4.7)

I got it running on HP-UX 2.0 which is System V with BSD extentions.  The only
BSD feature I needed to use was the dbm library.

> So, I gave it up and tried compiling it in the AT&T universe, but to no avail
> because it wouldn't find termlib.a, dbm.a, and m.a.  So I copied them into my
> account and it finally gave up with __ctype__ undefined.

Use curses instead of termlib.  You may need to check the comp.sources directory
to find a dbm library for SysV.

> So I'm a little lost, and was wondering if anyone could post a "success story"
> concerining the successfull compilation and execution of spacewar, on any of
> the three systems.  Your help would be /greatly/ appreciated!

Another note is that you need to create a named pipe called swcomm.  Otherwise,
the processes can't talk to each other.

BTW, by giant coincidence, the original author of Spacewar, David Fotland,
(Dan Rosenblatt credits him with the original version in the opening paragraph
of the docs) **just happens** to work downstairs in the same building I work
in.  He says he's got a different version he's been working on and it's for
System V.  So, SysV people may yet have hope of a multi-user spacewar game if
they can't get this working.

------------------------------------------------------------------
    Ian Kluft			RAS Lab
    UUCP: hplabs!hprasor!kluft	HP Systems Technology Division
    ARPA: kluft@hpda.hp.com	Cupertino, CA
------------------------------------------------------------------