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

  1. Xref: sparky comp.unix.internals:1622 comp.unix.questions:9450
  2. Newsgroups: comp.unix.internals,comp.unix.questions
  3. Path: sparky!uunet!psgrain!hippo!ucthpx!aim1!aim1!gram
  4. From: gram@aim1.aztec.co.za (Graham Wheeler)
  5. Subject: Re: Termio ioctls panicking system! Help!
  6. Message-ID: <gram.712252068@aim1>
  7. Organization: Aztec Information Management
  8. References: <gram.711971201@aim1>
  9. Date: Mon, 27 Jul 1992 15:47:48 GMT
  10. Lines: 18
  11.  
  12. With regard to my previous post, I havce stopped the panic. It seems that
  13. getty does not allocate a buffer in TCGETA/TCGETS ioctls. If I allocate a 
  14. buffer myself before ACKing the ioctl, no panic happens.
  15.  
  16. I still would like to know why ldterm passes these ioctls on after I send
  17. it a DO_CANON message from my driver. Also, although the system no longer
  18. panics, when I do an stty after logging in from a remote site I lose my
  19. connection; it seems the shell dies and I get thrown out, as the disconnection
  20. is not initiated by my driver. And without stty, ldterm is not much use.
  21.  
  22. So, any ldterm experts out there who can offer any advice? Else I will just
  23. have to do termio handling myself. 8-(
  24.  
  25. -- 
  26. Graham Wheeler                     | "That which is weak conquers the strong,
  27. Software Systems Engineer/Student  | that which is soft conquers the hard."
  28. Aztec Information Management/UCT   |         Lao Tzu - Tao Te Ching Ch. 78
  29. gram@aim1.aztec.co.za / gram@cs.uct.ac.za 
  30.