[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] xterm termination problem fixed(?) in CVS
From: |
David Lawrence Ramsey |
Subject: |
[Nano-devel] xterm termination problem fixed(?) in CVS |
Date: |
Sun, 19 Mar 2006 16:53:09 -0500 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
I've added code to nano CVS that should fix the problem described in
http://bugs.gentoo.org/show_bug.cgi?id=124888
Note that the problem doesn't occur in rxvt-unicode. In rxvt-unicode,
nano properly gets a hangup signal and terminates, but under xterm and
XFce Terminal, the blocking wgetch() returns -1, but errno is 0
(Success) instead of EIO (Input/output error). Going back to the old
way of terminating unconditionally whenever wgetch() fails is not an
option, due to the problems it caused when running nano in a chroot
under certain circumstances, so I've added code to make it terminate if
wgetch() fails over MAX_BUF_SIZE (default: 128) times in a row.
Aside from this, there have only been a few minor FAQ updates to CVS, so
I'm not sure if this is worthy to be made 1.3.11pre2. I'd appreciate it
if someone could verify that it still works in the aforementioned
chroots, so that 1.3.11 can finally be rid of the termination problem
(and so I can eventually port it to the 1.2 branch).
Thanks in advance.
- [Nano-devel] xterm termination problem fixed(?) in CVS,
David Lawrence Ramsey <=