Battleship source for Unix w/curses
Ron Flax
ron at dsi1.UUCP
Tue Mar 11 13:23:22 AEST 1986
In article <11587 at watnot.UUCP>, cagordon at 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 at dsi1.UUCP)
ARPA: dsi1!ron at seismo.arpa
UUCP: ..!{seismo, rlgvax, prometheus}!dsi1!ron
More information about the Comp.sources.bugs
mailing list