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