home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / acorn / tech / 1457 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!uknet!gdt!uwe-bristol!r_voisey
  2. From: r_voisey@csd.uwe.ac.uk (R Voisey)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: Curses, foiled again.
  5. Message-ID: <1993Jan28.104851.14447@csd.uwe.ac.uk>
  6. Date: 28 Jan 93 10:48:51 GMT
  7. References: <727749140snx@klaatu.demon.co.uk>
  8. Organization: University of the West of England, Bristol
  9. Lines: 33
  10.  
  11. In article <727749140snx@klaatu.demon.co.uk> steve@klaatu.demon.co.uk writes:
  12. >the compiler and see what happens.  It complains that it can't find
  13. >"sgtty.h", and sure enough I don't seem to have anything called that
  14.  
  15. sgtty.h is an include file which usually just includes (into itself) the
  16. system dependent headers concerned with talking to terminals.  I vaguely
  17. recall that in unix ioctl.h is included, which contains mainly compiler
  18. definitions (such as BELL 07 etc).  It also contains some very OS
  19. dependent stuff such as socket support etc.
  20.  
  21. So, basically, it's specific to Unix (and a couple of similar OSs) so does
  22. not appear in the standard Archimedes C library.  You'll have to remove
  23. the #include <sgtty.h> statement, then run it through the compiler again
  24. and see what it complains about.  I haven't seen the source in question, but
  25. it's possible it just uses a few of the compiler definitions which you can
  26. pick out of the throwback and derive yourself.  If, however, it expects to
  27. use sockets, pipes and so forth you have a problem.
  28.  
  29. >Any suggestions as to what I can do now?  ("Give
  30. >up, you fool" is acceptable, and very tempting, although things did seem
  31. >to be going rather well up until this point).
  32.  
  33. I recall that somebody did a Unix library for the Arch, so maybe it will
  34. make life easier (I haven't seen it).  If not, you're in for some fun I
  35. suspect.
  36.  
  37. Cheers
  38.  
  39. Bob
  40. -- 
  41.   Robert J. Voisey  :  r_voisey@csd.uwe.ac.uk
  42.          -- Probug Software Developments --
  43. 162 Staplehill Rd, Fishponds, Bristol, Avon, England
  44.