Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ncr-sd.UUCP Path: utzoo!watmath!clyde!cbosgd!ncr-sd!geoff From: geoff@ncr-sd.UUCP (Geoff Walton ) Newsgroups: net.wanted.sources Subject: Re: BSD equivalents to System V curses functionality Message-ID: <426@ncr-sd.UUCP> Date: Thu, 13-Mar-86 11:06:54 EST Article-I.D.: ncr-sd.426 Posted: Thu Mar 13 11:06:54 1986 Date-Received: Fri, 14-Mar-86 06:56:48 EST References: <331@drivax.UUCP> Reply-To: geoff@ncr-sd.UUCP (Geoff Walton ) Distribution: net Organization: NCR Corporation, San Diego Lines: 31 >Our System V curses library has the following functions, but BSD curses >doesn't. We're just about to go from System V to BSD, and I'd like to >port some programs over that use these functions. Could anyone tell >me the equivalent BSD curses functions, or post the source to some >equivalents? > > Routine Function > =================== ========================================= > beep() Beeps the terminal > cbreak() Put the terminal into cbreak mode > saveterm() Save the current terminal characteristics > resetterm() Restore previously saved TTY chars > nocbreak() Remove cbreak mode > Looks like Bruce is worried his "battleship" game won't run under BSD. Not to worry, Bruce! There have been numerous recent postings in net.sources listing the BSD equivalents for all these functions, except beep(). What about me? My "battleship" runs fine, but I've got BOTH BSD and SYSV curses available. :r all usual disclaimers Geoff Walton NCR E&M San Diego {wherever}!ucbvax!sdcsvax!ncr-sd!geoff Even the smallest problem becomes unsolvable if enough meetings are held to discuss it.