home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / internal / 1634 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.5 KB

  1. Xref: sparky comp.unix.internals:1634 comp.unix.questions:9586
  2. Path: sparky!uunet!ogicse!psgrain!hippo!ucthpx!aim1!aim1!gram
  3. From: gram@aim1.aztec.co.za (Graham Wheeler)
  4. Newsgroups: comp.unix.internals,comp.unix.questions
  5. Subject: Re: Termio ioctls panicking system! Help!
  6. Message-ID: <gram.712506019@aim1>
  7. Date: 30 Jul 92 14:20:19 GMT
  8. Article-I.D.: aim1.gram.712506019
  9. References: <gram.711971201@aim1> <gram.712252068@aim1> <154662INNo9k@smurf.smurf.sub.org> <gram.712502042@aim1>
  10. Organization: Aztec Information Management
  11. Lines: 20
  12.  
  13. gram@aim1.aztec.co.za (Graham Wheeler) writes:
  14.  
  15. >In the case when I allocated a termio structure myself in a message
  16. >continuation block, I was still just filling this with zeros. Perhaps this
  17. >is enough to kill a UNIX system; if so, that is quite disturbing. I will
  18. >try this again and put in some more sensible values, particularly for the
  19. >c_cflag field, and see what happens - it could well work.
  20.  
  21. Well, I'll be damned. I changed it so that I sent back all zeroes except for
  22. c_cflag, which I set to B9600|CS8, and it works! (no more hung system).
  23. I can hardly believe it after all this. Thanks Matthias!
  24.  
  25. Any UNIX gurus out there who can speculate why a return of 0 in c_cflag
  26. hung the whole OS?
  27.  
  28. -- 
  29. Graham Wheeler                     | "That which is weak conquers the strong,
  30. Software Systems Engineer/Student  | that which is soft conquers the hard."
  31. Aztec Information Management/UCT   |         Lao Tzu - Tao Te Ching Ch. 78
  32. gram@aim1.aztec.co.za / gram@cs.uct.ac.za 
  33.