home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3084 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!wupost!gumby!yale!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!eichin
  3. From: eichin@athena.mit.edu (Mark W. Eichin)
  4. Subject: Re: Questions/problems with 386BSD 0.1
  5. In-Reply-To: cs481a07@umbc5.umbc.edu's message of 29 Jul 92 04:22:44 GMT
  6. Message-ID: <EICHIN.92Jul29005512@tsx-11.mit.edu>
  7. Sender: news@athena.mit.edu (News system)
  8. Nntp-Posting-Host: tsx-11.mit.edu
  9. Organization: Massachusetts Institute of Technology
  10. References: <1992Jul29.042244.29277@umbc3.umbc.edu>
  11. Date: Wed, 29 Jul 1992 04:55:20 GMT
  12. Lines: 20
  13.  
  14. >>     I've been trying to get RNto compile on 386BSD 0.1. It dies on
  15. >> linking with a undefined _stty and _gtty. I've dug through everything I
  16. >> can think of and can't find a way around/fix for this. Has anyone gotten
  17. >> RN to work?
  18. There was a posting about a week ago, here's the relevant part:
  19.  
  20. >From: rivers@ponds.uucp (Thomas David Rivers)
  21. Subject: General problems (serial line, spontaneous reboots)
  22. Summary: Reboots, serial probs
  23. Date: 21 Jul 92 02:51:30 GMT
  24. ...
  25. So, now, after complaining so much :-), let me offer one trivial
  26. helpful hint.  To compile trek (in the etc01 distribution) you need
  27. to remove the -lcompat from the Makefile line (there is no compat library
  28. for 386bsd), and properly define gtty() in main.c.  I added the following
  29. two lines just before main():
  30.  
  31. #define gtty(fd, argp) ioctl(fd, TIOCGETP, argp)
  32. #define stty(fd, argp) ioctl(fd, TIOCSETP, argp)
  33.  
  34.