Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!watmath!clyde!cbosgd!hplabs!amdahl!drivax!holloway From: holloway@drivax.UUCP (Bruce Holloway) Newsgroups: net.sources.games Subject: BSD version of Battleship Message-ID: <332@drivax.UUCP> Date: Thu, 13-Mar-86 13:20:52 EST Article-I.D.: drivax.332 Posted: Thu Mar 13 13:20:52 1986 Date-Received: Sat, 15-Mar-86 03:55:24 EST Distribution: net Organization: Digital Research, Monterey, CA Lines: 37 Thanks to Chris Grevstad, here is the diff file to make battleship BSD Unix compatible. This patch assumes you've applied the previous patch to the original battleship (with curses) posting. Remember to remove all this header stuff and the disclaimer at the bottom. ---------snippety snip------------cut here----------snickety snack------------ 509d 11c /*#define SEEMISS 0 */ /* Defined if the player sees the computer's . 9c /*#define NOASK 0 */ /* Defined if the computer figures out whether . 4a /* #define BSD 1 /* Define BSD if compiling for BSD Unix */ #ifdef BSD #define beep() write(stdout,"\007",1); #define cbreak crmode #define saveterm savetty #define resetterm resetty #define nocbreak nocrmode #endif . -- +----------------------------------------------------------------------------+ |Whatever I write are not the opinions or policies of Digital Research, Inc.,| |and probably won't be in the foreseeable future. | +----------------------------------------------------------------------------+ Bruce Holloway ....!ucbvax!hplabs!amdahl!drivax!holloway (I'm not THAT Bruce Holloway, I'm the other one.)