Re: Console fixes for 2.1.113

Martin Mares (mj@ucw.cz)
Wed, 5 Aug 1998 10:46:54 +0200


> Make sure you remove the code in vt.c that sends SIGWINCH to all
> processes on all consoles.

There are only three places when SIGWINCH gets sent in the new console
code:

- vt.c:kd_size_changed which gets called only for VT_RESIZE and VT_RESIZEX

- tty_io.c: TIOCSWINSZ handling

- console.c: vc_resize (only for consoles affected by the resize)

It seems there is no extra SIGWINCH to be removed when the font changes, but
when studying these things, I realized SIGWINCH gets sent _twice_ when VT_RESIZE
or VT_RESIZEX gets called (once by vc_resize() and once in vt.c).

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"IBM = Inside Black Magic"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html