From tjg@maze.meitech.com  Fri Jul  2 11:28:11 2004
Return-Path: <tjg@maze.meitech.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0A39316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Jul 2004 11:28:11 +0000 (GMT)
Received: from maze.meitech.com (maze.meitech.com [69.33.133.24])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9932B43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Jul 2004 11:28:10 +0000 (GMT)
	(envelope-from tjg@maze.meitech.com)
Received: from maze.meitech.com (localhost [127.0.0.1])
	by maze.meitech.com (8.12.11/8.12.9) with ESMTP id i62BQRZK058353
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 2 Jul 2004 11:26:31 GMT
	(envelope-from tjg@maze.meitech.com)
Received: (from tjg@localhost)
	by maze.meitech.com (8.12.9p2/8.12.9/Submit) id i62BQQ4h058352;
	Fri, 2 Jul 2004 11:26:26 GMT
	(envelope-from tjg)
Message-Id: <200407021126.i62BQQ4h058352@maze.meitech.com>
Date: Fri, 2 Jul 2004 11:26:26 GMT
From: Tim Gustafson <tjg@meitech.com>
Reply-To: Tim Gustafson <tjg@meitech.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: vi crashes with "Error: input: Resource temporarily unavailable" randomly
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68600
>Category:       bin
>Synopsis:       vi crashes with "Error: input: Resource temporarily unavailable" randomly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 02 11:30:20 GMT 2004
>Closed-Date:    Fri Jul 02 16:14:34 GMT 2004
>Last-Modified:  Fri Jul 02 16:14:34 GMT 2004
>Originator:     Tim Gustafson
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
MEI Technology Consulting, Inc
>Environment:
System: FreeBSD maze.meitech.com 4.10-RELEASE FreeBSD 4.10-RELEASE #6: Mon Jun 7 21:24:05 UTC 2004 root@maze.meitech.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	When running vi, I randomly get an error message stating "Error: input: Resource temporarily unavailable".
	There seems to be no specific trigger to make this happen.  Some days I can go all day without getting it
	once, other days I get it a dozen times.  Usually, once I start getting it during an SSH session, I will
	keep getting it until I log out and log back in again.  The error is not isolated to editing one particular
	file or folder, and seems to happen on any login account into the machine, not just mine.  The error happens
	usually immediately after pressing a key on the keyboard.  If you type nothing on the keyboard, the program
	will sit idle, and the error does not occur.

>How-To-Repeat:
	On my system, just run vi a few times and you're likely to reproduce the problem.

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Fri Jul 2 16:12:40 GMT 2004 
State-Changed-Why:  
This happens when some program does something bad to the 
settings of your TTY, which upsets vi(1).  The fix is to 
``stty sane'', then run vi(1) again. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68600 
>Unformatted:
