Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site hpda.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!hplabs!hpda!jrg From: jrg@hpda.UUCP (Jeff Glasson) Newsgroups: net.sources,net.games Subject: Re: Battleship source for Unix w/curses Message-ID: <1358@hpda.UUCP> Date: Mon, 10-Mar-86 12:55:40 EST Article-I.D.: hpda.1358 Posted: Mon Mar 10 12:55:40 1986 Date-Received: Wed, 12-Mar-86 05:04:15 EST References: <314@drivax.UUCP> <11587@watnot.UUCP> Reply-To: jrg@hpda.UUCP (Jeff Glasson) Distribution: net Organization: Hewlett-Packard Co., Cupertino, CA Lines: 27 Xref: watmath net.sources:4521 net.games:2610 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? The undefined routines you see are from the AT&T version of curses. BSD curses does not have those routines. Here's a brief description of the routines (maybe someone out there has BSD versions): saveterm: save current modes as "in curses" state. cbreak: set cbreak mode beep: ring the terminal's bell resetterm: set tty modes to "out of curses" state Hope this helps, Jeff Glasson Hewlett-Packard ISO ucbvax!hpda!jrg