From owner-freebsd-current@FreeBSD.ORG Tue Jun 9 18:26:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30710106568D; Tue, 9 Jun 2009 18:26:31 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id E94488FC16; Tue, 9 Jun 2009 18:26:30 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5621B1CD98; Tue, 9 Jun 2009 20:26:30 +0200 (CEST) Date: Tue, 9 Jun 2009 20:26:30 +0200 From: Ed Schouten To: Gabor Kovesdan Message-ID: <20090609182630.GK48776@hoeg.nl> References: <20090526213921.GD48776@hoeg.nl> <20090608182658.GY12796@egr.msu.edu> <4A2EA4E0.3090506@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUR78EuMd8EhT3+C" Content-Disposition: inline In-Reply-To: <4A2EA4E0.3090506@FreeBSD.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Adam McDougall , FreeBSD Current Subject: Re: CFT: ee 1.5.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 18:26:31 -0000 --CUR78EuMd8EhT3+C Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Gabor, Adam, * Gabor Kovesdan wrote: > Adam McDougall escribi=F3: >> After using the new ee in a -current build, it seems like an old issue >> has come back where if the containing xterm is resized, ee ungracefully >> exits without saving. I think it was fixed a while ago but a quick look >> at the modern ee.c seems to indicate this was lost: The resize issue: i tried to fix it properly, but the issue is that the fix that we had was not accurate. It could cause ee to keep spinning infinitely. I tried to fix it, but it turned out wgetch() doesn't really do what the manpage states: | Programmers concerned about portability should be prepared for either | of two cases: (a) signal receipt does not interrupt getch; (b) signal | receipt interrupts getch and causes it to return ERR with errno set to | EINTR. Under the ncurses implementation, handled signals never inter- | rupt getch. It turns out ncurses just returns with errno set to 0, very weird. > There's another regression. If you edit more files with one command line = =20 > (ee foo bar baz ...) and modify one of them and just look into the rest = =20 > each file will be treated as modified and you will be asked if you want = =20 > to save it. This wasn't the case before the upgrade. Editing multiple files: it probably has to do something with text_changes not being set to FALSE properly. I'll see if I can find some time to look at these issues within the next couple of days. Hang in there! ;-) --=20 Ed Schouten WWW: http://80386.nl/ --CUR78EuMd8EhT3+C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkouqVYACgkQ52SDGA2eCwUVBACfXMeROqnF2Mea4oUxEzythEEB DREAn1N+j+wS+ttYjJNsYIrnZDGUvKYA =0tVt -----END PGP SIGNATURE----- --CUR78EuMd8EhT3+C--