Path: utzoo!utgpu!water!watmath!clyde!cbosgd!mandrill!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon Allbery) Newsgroups: comp.sources.bugs Subject: Re: miles compilation problem/ what system is this really meant for? Message-ID: <7191@ncoast.UUCP> Date: 6 Feb 88 00:51:31 GMT References: <1529@bgsuvax.UUCP> <2192@chinet.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.sources.bugs Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 25 As quoted from <2192@chinet.UUCP> by dag@chinet.UUCP (Daniel A. Glasser): +--------------- | I don't know what the initial system was, but I suspect BSD... | | Most of the missing functions are in libtermlib.a, but the following | two functions are not (exactly) there: | | cbreak() Enters raw mode on the terminal. Some | | beep() There does not appear to be an analogy | | On my system III machine I had to do the following to get miles to | compile (without changing the posted sources at all...): +--------------- Actually, it's System V. Try the following: #define cbreak() crmode() #define beep() write(1, "\7", 1) Works fine when I have to compile a System V program under System III. -- Brandon S. Allbery, moderator of comp.sources.misc {well!hoptoad,uunet!hnsurg3,cbosgd,sun!mandrill}!ncoast!allbery KABOOM!!! Worf: "I think I'm sick." LaForge: "I'm sure half the ship knows it."