[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pty question



> I noticed some strange behaviour of Mint regarding to pty's:
> 
> If the masterfd is closed, the process having opened the slavefd does not
> terminate, but takes about all CPU cycles it can, slowing down my Atari
> considerably.
> Shouldn't it be that Mint sends SIGHUP or SIGTERM to the process(es) having
> opened the slavefd when the masterfd is closed?

I have a similar problem with term but vice versa. The slave is closed and
the process which hab the pty as its controlling terminal exits. But the
master is not closed, because the term server gets no EOF on the master.

Kay.