SCO Unix 3.2.2 ksh seems to hang mmdf->uucp connection

Sean Eric Fagan sef at kithrup.COM
Wed Jun 19 15:37:15 AEST 1991


In article <1991Jun18.235817.3784 at shograf.com> jim at shograf.COM (jim morris) writes:
>On a SCO Unix SYSvR3.2
>Has anyone else noticed this problem?? I am trying to localize it.

Yes, and it's been talked about before.

ksh is not causing the problem.  Well, not directly.  What's happening, as
near as I could figure out, is that cu is doing something to the tty device
when it sees any one of a few special characters (intr, eof, or a couple
others, I think).  It's either closing and then reopening, or doing an
ioctl; I don't recall which.  In any event, if you have job control "turned
on" (via a 'set -m', which is automatic in an interactive ksh), the second
cu process gets a SIGTTOU (I believe), and ... stops.

Work around:  do

	set +m ; cu <...> ; set -m

If you have paid SCO for support, call them up and ask if they've got
anything to fix it.  It was common enough that they may have.  (I kinda
cheated... I didn't feel like delving through the source, so I just put in
some signal(SIG_IGN, signo); calls...  Not the proper thing to do, I know,
but it let me do what I wanted to do.)

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef at kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.



More information about the Comp.unix.sysv386 mailing list