From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 09:42:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9990016A4CE for ; Thu, 1 Jul 2004 09:42:26 +0000 (GMT) Received: from ns3.tele-kom.ru (ns3.tele-kom.ru [217.107.251.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D18C43D58 for ; Thu, 1 Jul 2004 09:42:25 +0000 (GMT) (envelope-from doublef@tele-kom.ru) Received: (qmail 319 invoked from network); 1 Jul 2004 08:39:36 -0000 Received: from mx.tele-kom.ru (213.80.148.6) by ns.tele-kom.ru with SMTP; 1 Jul 2004 08:39:36 -0000 Received: (qmail 80794 invoked by uid 555); 1 Jul 2004 09:42:32 -0000 Received: from shark (213.80.149.180) by t-k.ru with TeleMail/2 id 1088674951-80778 for benlutz@datacomm.ch; Thu, Jul 1 13:42:31 2004 +0400 (MSD) Received: by shark (Postfix, from userid 1000) id E15AD399; Thu, 1 Jul 2004 13:42:10 +0400 (MSD) Date: Thu, 1 Jul 2004 13:42:09 +0400 From: Sergey Zaharchenko To: "Gustafson, Tim" Message-ID: <20040701094209.GA344@shark.localdomain> Mail-Followup-To: Sergey Zaharchenko , "Gustafson, Tim" , "freebsd-questions @ freebsd. org" , Benjamin Lutz References: <86ECB35C998DCC49AD435A099AFACCD1E8DA54@RIPLEY> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <86ECB35C998DCC49AD435A099AFACCD1E8DA54@RIPLEY> User-Agent: Mutt/1.4.2.1i X-Listening-To: /Machina_Vremeni/Rozhdestvenskaya_pesnya cc: Benjamin Lutz cc: "freebsd-questions @ freebsd. org" Subject: Re: vi / EAGAIN Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 09:42:26 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 30, 2004 at 07:24:57AM -0400, Gustafson, Tim probably wrote: > Hello everyone. >=20 > I finally have the output of a ktrace of the problem where vi returns > "Error: input: Resource temporarily unavailable" to me. It can be > downloaded from the following link. Reading the kdump of your file is interesting, but at the first glance the only peculiar thing that precedes the failing call is changing signal handler for sig18, which is a #define SIGTSTP 18 /* stop signal from tty */ Could this be something? One more thing I thought of is watch(8)-ing the terminal, redirecting all output to a file, and then `playing it back' (cat'ting onto another terminal). If, after that, vi would produce the same results on the new terminal, then I'd try trimming the output until it can't reproduce the problem. This way, we could narrow down the problem a bit.=20 Unfortunately, I can no longer reproduce the problem:( CC'ing Ben, who is also interested. --=20 DoubleF 1.79 x 10^12 furlongs per fortnight -- it's not just a good idea, it's the law! --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA49xuwo7hT/9lVdwRAvgBAJ9CIbBGX+EztF8VvqgzWk1PSXNGNQCfT7In xnIsB3FfNMtmOdwfYVNM+4c= =j7D+ -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--