Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!itsgw!brspyr1!tim From: tim@brspyr1.BRS.Com (Tim Northrup) Newsgroups: comp.sources.games.bugs Subject: Re: Fix for one spacewars 'bug' Message-ID: <3668@brspyr1.BRS.Com> Date: 7 Jun 88 21:13:51 GMT References: <4708@watcgl.waterloo.edu> Organization: BRS Information Technologies, Latham NY Lines: 39 From article <4708@watcgl.waterloo.edu>, by andrewt@watsnew.waterloo.edu (Andrew Thomas): > I recently got spacewars working fine on Ultrix 2.0 on a microvax, after > encountering the problem with 'psw' saying 'Wait ' etc and then hanging > forever. The problem is that spacewar.h has an ifdef statement which reads: #ifdef BSD } ... } Andrew left this part out! #else } > #ifdef VMS > # define SWCOMFILE "swmlbx" > #else /* SYSIII SYSV */ > # define SWCOMFILE "/usr/dir/sw/swcomm" > #endif /* VMS SYSIII SYSV */ #endif /* BSD */ >In fact, Ultrix and BSD need the SWCOMFILE defined as well, so just change this > file name to be something useful and it should work. This is incorrect -- I compiled SpaceWar without problems under the BSD universe on a Pyramid (same as 4.3). In a quick glance at the code, the SWCOMFILE is never used when BSD is defined -- it uses a SWPIDFILE instead. > My only question is, how do I format the documentation file 'doc.ms'? Use "nroff -ms doc.ms" to format. I've gotten it to play okay when running the "psw.sh" shell file, but not running the "psw" executable directly -- appearantly the permissions on your tty device need to be altered before the game can start. Also, the u+s and ownership of all files must be setup according to the directions in the README file, or it just don't work. Haven't played much yet, but I do get a viewscreen, and it does take commands. -- Tim Northrup +------------------------------------------+ +---------------------------------+ GEnie: TNORTHRUP | UUCP: uunet!steinmetz!brspyr1!tim | Air Warrior: "Duke" | ARPA: tim@brspyr1.BRS.Com +------------------------------------------+