miles compilation problem/ what system is this really meant for?

Brandon Allbery allbery at ncoast.UUCP
Sat Feb 6 10:51:31 AEST 1988


As quoted from <2192 at chinet.UUCP> by dag at 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."



More information about the Comp.sources.bugs mailing list