nvi dying with "Resource temporarily unavailable"

Stephen McKay smckay at internode.on.net
Thu Aug 7 17:57:39 PDT 2003


On Thursday, 7th August 2003, Chuck Swiger 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
>> 
>> and you are staring at your command prompt.
>> 
>> I googled for this message and found that people here and there have been
>> complaining of this since about FreeBSD 4.2, but that absolutely none of
>> them have received a reply.
>
>Are you using bash as your shell, by any chance?

Zsh, actually.  Long live zsh! :-)

I suppose zsh could be interfering with the pty, but this failure happens
in the middle of an editing session, not at the start.  I assumed some sort
of race condition, but couldn't (easily) find anything in the nvi code.

Stephen.


More information about the freebsd-stable mailing list