Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 20:26:30 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Gabor Kovesdan <gabor@FreeBSD.org>
Cc:        Adam McDougall <mcdouga9@egr.msu.edu>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CFT: ee 1.5.0
Message-ID:  <20090609182630.GK48776@hoeg.nl>
In-Reply-To: <4A2EA4E0.3090506@FreeBSD.org>
References:  <20090526213921.GD48776@hoeg.nl> <20090608182658.GY12796@egr.msu.edu> <4A2EA4E0.3090506@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--CUR78EuMd8EhT3+C
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Gabor, Adam,

* Gabor Kovesdan <gabor@FreeBSD.org> 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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090609182630.GK48776>