ron@dsi1.UUCP (Ron Flax) (03/11/86)
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
boyce@daemen.UUCP (03/15/86)
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 > Bsd fixes: #define beep() putchar('\07'); fflush(stdout); saveterm() would be savetty() cbreak() would be crmode() resetterm() would be resetty() -- Doug Boyce Daemen College, Buffalo NY UUCP : decvax!sunybcs!daemen!boyce or ihnp4!kitty!daemen!boyce ARPA : boyce%buffalo@csnet-relay.arpa "The mind is a terrible thing....and most be stopped in our lifetime."