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!burl!ulysses!bellcore!decvax!decwrl!amdcad!amdahl!drivax!holloway From: holloway@drivax.UUCP (Bruce Holloway) Newsgroups: net.sources.games Subject: Re: BSD version of Battleship Message-ID: <346@drivax.UUCP> Date: Tue, 18-Mar-86 13:25:07 EST Article-I.D.: drivax.346 Posted: Tue Mar 18 13:25:07 1986 Date-Received: Fri, 21-Mar-86 05:38:46 EST References: <332@drivax.UUCP> <164@minnie.UUCP> Reply-To: holloway@drivax.UUCP (Bruce Holloway) Distribution: net Organization: Digital Research, Monterey, CA Lines: 24 In article <164@minnie.UUCP> chris@minnie.UUCP (Chris Grevstad) writes: >>Thanks to Chris Grevstad, here is the diff file to make battleship BSD Unix >> ... >> ... >>#ifdef BSD >>#define beep() write(stdout,"\007",1); > ^^^^^^ >I appreciate the public thanks, but I think I said 'write(1, "\007", 1)' rather >than the above. If I actually did say that, then I apologise, because >write(stdout, buf, len) will never work. write() requires a file desriptor >and stdout is a file pointer. Hmmm.... so THAT's why it didn't work. Solly. -- +----------------------------------------------------------------------------+ |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.)