nvi dying with "Resource temporarily unavailable"
Doug White
dwhite at gumbysoft.com
Sat Aug 9 10:40:49 PDT 2003
On Fri, 8 Aug 2003, Stephen McKay wrote:
> >Stephen McKay wrote:
> >> Since I upgraded to FreeBSD 4.8 (from 4.5) I've noticed occasional failures
> >> of nvi. It will suddenly die as a key is pressed, emitting:
> >>
> >> Error: input: Resource temporarily unavailable
We went round and round on irc about this a few weeks back. We pinned it
down to a bad error check in nvi. Unfortunately the fix was non-obvious.
There's a read() that needs to check for EAGAIN and loop back around on
the read. If someone wants to take a crack at this, the offending read()
is at common/cl_read.c line 266.
> Zsh, actually. Long live zsh! :-)
I'm running tcsh and was able to reproduce on a 4.6-REL box a while back.
The shell doesn't appear to have a bearing.
--
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-stable
mailing list