shp@crystal.UUCP (06/21/85)
> 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 <curses.h> . . . = = = = = = = = = = 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
shp@crystal.UUCP (06/22/85)
Forgot to mention, and disclaim: I am NOT the author of the game; I merely hack 4.2. =shp