Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site minnie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!psivax!nrcvax!minnie!chris From: chris@minnie.UUCP (Chris Grevstad) Newsgroups: net.sources.games Subject: Re: BSD version of Battleship Message-ID: <164@minnie.UUCP> Date: Sun, 16-Mar-86 02:47:12 EST Article-I.D.: minnie.164 Posted: Sun Mar 16 02:47:12 1986 Date-Received: Tue, 18-Mar-86 07:21:20 EST References: <332@drivax.UUCP> Reply-To: chris@minnie.UUCP (Chris Grevstad) Distribution: net Organization: The Zoo Lines: 21 holloway@drivax.UUCP (Bruce Holloway) says: >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. -- Chris Grevstad {sdcsvax,hplabs}!sdcrdcf!psivax!nrcvax!chris ucbvax!calma!nrcvax!chris ihnp4!nrcvax!chris "No, I'll tell you the truth. She was a striptease dancer. I saw her first in an obscene movie, one of those things in obscenacolor. Naked of course. They had a Kodiak bear strapped to a table, muzzled..."