stty and SIGWINCH?
Joakim Tjernlund
joakim.tjernlund at transmode.se
Thu May 7 18:41:02 UTC 2009
Mike Frysinger <vapier at gentoo.org> wrote on 07/05/2009 20:24:29:
>
> On Thursday 07 May 2009 09:00:41 Joakim Tjernlund wrote:
> > Using BB 1.12.1 and I have noticed that if I change rows and cols with
> > stty,
> > bash does not notice this change.
> > Should not stty send a SIGWINCH to the shell to inform it of the changes?
>
> i'm pretty sure it is not stty's business to locate processes whose ctty is
> the tty it modified and send a SIGWINCH to them. sounds more like it's the
> job of the tty layer in the kernel.
Hi Mike,
hmm, how is this supposed to work. If it is the kernels job to
send them, are recent kernels then broken?
If I telnet into the board and then resize my x-terminal, all
works as it should. I assumed the telnet daemon made sure to
send the SIGWINCH but I havn't checked.
Perhaps the serial console is a special case that dosen't get SIGWINCH?
Jocke
More information about the busybox
mailing list