Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 10:40:48 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Stephen McKay <smckay@internode.on.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: nvi dying with "Resource temporarily unavailable" 
Message-ID:  <20030809103630.Q59623@carver.gumbysoft.com>
In-Reply-To: <200308080057.h780vDdx005361@dungeon.home>
References:  <200308071230.h77CUMgj003099@dungeon.home> <3F327F44.9080909@mac.com> <200308080057.h780vDdx005361@dungeon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



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