Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ritcv.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!rocksvax!ritcv!sma8465 From: sma8465@ritcv.UUCP () Newsgroups: net.sources,net.games Subject: Re: Battleship source for Unix w/curses Message-ID: <9428@ritcv.UUCP> Date: Tue, 11-Mar-86 14:12:10 EST Article-I.D.: ritcv.9428 Posted: Tue Mar 11 14:12:10 1986 Date-Received: Wed, 12-Mar-86 22:57:24 EST References: <314@drivax.UUCP> <11587@watnot.UUCP> Reply-To: sma8465@ritcv.UUCP (Mad Wabbit) Distribution: net Organization: Rochester Institute of Technology, Rochester, NY Lines: 30 Xref: watmath net.sources:4533 net.games:2613 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? Well, I'm not the original poster, but I can help. First, use -ltermlib instead of -ltermcap. This will clear up all errors except for _beep (at least it did for me). You just have to write your own beep function which prints out a ctrl-G to the terminal. ex: beep() { printf("%c",7); /* beep! */ } I worked with the curses version and beep was the only thing that didn't work. I hope your's works ok. Steve Abbott (c) Mad Wabbit Software, Inc. Webster, New York 14580