home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / sysv386 / 13323 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.1 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!kd4nc!n4hgf!wht
  2. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: TCXONC hangs on SCO 3.2.2
  5. Message-ID: <563@n4hgf.Mt-Park.GA.US>
  6. Date: 18 Aug 92 23:15:37 GMT
  7. References: <Bt65yu.4rn@ibmpcug.co.uk>
  8. Organization: TuckerWare, Roswell GA
  9. Lines: 24
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. gaffer@ibmpcug.co.uk (Andrew Beattie) writes:
  13. : If I do:
  14. : fd = open("/dev/tty01",O_RDWR|O_NDELAY);
  15. : followed by:
  16. : ioctl(fd, TCXONC, 0);
  17. : On SCO 3.2.4, it works fine (stopping output on tty01).
  18. : If I do it on 3.2.2, the ioctl hangs.  (the output also slows down, as if
  19. : something is trying to stop it but failing)
  20. : Needless to say, I need it to work on 3.2.2
  21. : Can anyone throw some light on this problem?
  22. : Andrew (gaffer@ibmpcug.co.uk)
  23.  
  24. Use signal(SIGTTOU,SIG_IGN) before you open any ttys.
  25. This is not necessary for 3.2v4.
  26.  
  27. Warren Tucker, Mountain Park, GA      n4hgf!wht -or- wht@n4hgf.Mt-Park.GA.US
  28. "Is there enough magic out there in the moonlight to make dreams come true?"
  29. "What would you say if I said, 'Yes'?"
  30.