Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site crystal.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!linus!philabs!cmcl2!seismo!uwvax!crystal!shp From: shp@crystal.UUCP Newsgroups: net.games,net.sources.games Subject: Re: Battleships -- quick'n dirty patch for 4.2 (at least) Message-ID: <473@crystal.UUCP> Date: Fri, 21-Jun-85 12:53:48 EDT Article-I.D.: crystal.473 Posted: Fri Jun 21 12:53:48 1985 Date-Received: Mon, 24-Jun-85 04:38:52 EDT References: <1264@cbosgd.UUCP> <290@ucdavis.UUCP> Organization: The Life Is A Rock Foundation Lines: 31 Xref: watmath net.games:1975 net.sources.games:175 > hope that is the only thing needed). If the author of "battleships" is reading > this, could he please post the missing information and perhaps a documentation > page? > > Dan > Included is the trivial patch to make the damn thing work under 4.2. Also, probably, 4.1, and Lord knows what else. No shell archive; you'll have to use an editor (it isn't worth the time to write one). The lines flagged by ']' are added; the rest is for context. = = = = = = = = = = #define YES 0 ]/* LOCAL HACKS TO MAKE IT WORK */ ]#define cbreak() crmode() ]#define flash() putchar('\07') /* this gets stale, fast */ ]#define wattron(win, x) wstandout(win) ]#define wattroff(win, x) wstandend(win) #include . . . = = = = = = = = = = Don't forget to compile as "cc bs.c -o bs -lcurses -ltermlib"! Gripes/flames to /dev/null; it's a stupid game, anyway (:-) =shp