From xemacs-m  Mon May 19 13:28:52 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA26140
	for <xemacs-beta@xemacs.org>; Mon, 19 May 1997 13:28:47 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id UAA02148; Mon, 19 May 1997 20:27:52 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: [patch] Console resizing
References: <kighgfzsc23.fsf@jagor.srce.hr> <QQcqfs20525.199705191713@crystal.WonderWorks.COM>
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-NSA-Fodder: Rule Psix Peking colonel spy South Africa fissionable NSA
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 19 May 1997 20:27:51 +0200
In-Reply-To: Kyle Jones's message of Mon, 19 May 1997 13:13:44 -0400 (EDT)
Message-ID: <kig2073s4ew.fsf@jagor.srce.hr>
Lines: 29
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Kyle Jones <kyle_jones@wonderworks.com> writes:

> Hrvoje Niksic writes:
>  > SIGWINCH should be assumed when a TTY console is resumed, too.
> 
> Does this fix anything in particular?

Yes.

Start XEmacs, execute `gnuclient -nw', suspend the client, resize its
xterm and foreground it.  It now resizes correctly.

> SIGWINCH isn't discarded if it generated while a process is
> suspended.  The process will notice the signal when it is continued.

SIGWINCH is discarded (the comments in the source weren't written by
me, and they are correct).  It didn't work before this change -- now
it does.

> I worry about Unintended Consequences.

There are no problems.  This has been the default behavior when
suspending the whole of XEmacs for ages.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Thou Who might be our Father Who perhaps may be in Heaven...
                                                -- Roger Zelazny

