Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rlgvax!dsi1!ron From: ron@dsi1.UUCP (Ron Flax) Newsgroups: net.sources.bugs Subject: Re: Battleship source for Unix w/curses Message-ID: <533@dsi1.UUCP> Date: Mon, 10-Mar-86 22:23:22 EST Article-I.D.: dsi1.533 Posted: Mon Mar 10 22:23:22 1986 Date-Received: Thu, 13-Mar-86 06:41:11 EST References: <314@drivax.UUCP> <11587@watnot.UUCP> Distribution: net Organization: Dynamic Systems, Inc., Arlington VA Lines: 24 In article <11587@watnot.UUCP>, cagordon@watnot.UUCP (Chris Gordon) writes: > Using the following compile command, I got the following undefines below: > cc -O -o bs bs.c -lcurses -ltermcap > Undefined: > _saveterm > _cbreak > _beep > _resetterm > > Can someone (probably the original poster) help? It appears that the author wrote bs with a newer version of the Curses Library Package. Your problem can easily be fixed by prepending the following macro defines to the original source: #define saveterm savetty #define resetterm resetty #define cbreak crmode #define beep putchar('\7') -- Ron Flax (ron@dsi1.UUCP) ARPA: dsi1!ron@seismo.arpa UUCP: ..!{seismo, rlgvax, prometheus}!dsi1!ron