Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2003 16:52:08 +1000
From:      Stephen McKay <smckay@internode.on.net>
To:        Forrest Aldrich <forrie@forrie.com>
Cc:        Stephen McKay <smckay@internode.on.net>
Subject:   Re: Weird error when using VI on FreeBSD-4.x 
Message-ID:  <200310030652.h936q8JW009698@dungeon.home>
In-Reply-To: <6.0.0.22.2.20030922161741.01bcd6a0@192.168.1.1> from Forrest Aldrich at "Mon, 22 Sep 2003 20:19:11 %2B0000"
References:  <6.0.0.22.2.20030922161741.01bcd6a0@192.168.1.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 22nd September 2003, Forrest Aldrich wrote:

>I'm getting this error from time-to-time when using VI under 
>FreeBSD_4.9-prerelease:
>
>Error: input: Resource temporarily unavailable
>
>Basically, VI just exits/crashes (no core dump).
>
>The load average is pretty low:
>
>4:18PM  up 10 days, 23:42, 4 users, load averages: 0.13, 0.21, 0.21
>
>And I don't seem to have any other problems with the system.
>
>Wondering what this might be, or if it's a known problem, etc.

It's sort-of known.  It's been around for a while now, but nobody knows
how to fix it.  I've seen it since I upgraded to 4.8 (from 4.5).

As far as I can tell, *sometimes* a read from a pty returns EAGAIN when
it shouldn't.  This has happened to me with /bin/cat of stdin (which
was a pty in xterm), so it's nothing to do with VI as such.

Stephen.



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