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!sun!amdahl!drivax!holloway From: holloway@drivax.UUCP (Bruce Holloway) Newsgroups: net.sources,net.games Subject: Re: Battleship source for Unix w/curses Message-ID: <328@drivax.UUCP> Date: Tue, 11-Mar-86 12:24:42 EST Article-I.D.: drivax.328 Posted: Tue Mar 11 12:24:42 1986 Date-Received: Fri, 14-Mar-86 04:09:59 EST References: <314@drivax.UUCP> <11587@watnot.UUCP> Reply-To: holloway@drivax.UUCP (Bruce Holloway) Distribution: net Organization: Digital Research, Monterey, CA Lines: 35 Keywords: Cursing at Curses Xref: watmath net.sources:4540 net.games:2620 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? All four of those functions are in both CURSES and MINICURSES here on our System V implementation. According to the CURSES documentation, they are standard functions which are used by "most interactive, screen-oriented programs". So you must have a different version of curses than we do. Here's how I compile it: cc -o battle battle.c -lcurses Which works fine. -- +----------------------------------------------------------------------------+ |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.)