From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 9 17:30:22 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F37F16A41C for ; Sat, 9 Jul 2005 17:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD3DA43D49 for ; Sat, 9 Jul 2005 17:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j69HULmh025564 for ; Sat, 9 Jul 2005 17:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j69HUL1m025563; Sat, 9 Jul 2005 17:30:21 GMT (envelope-from gnats) Resent-Date: Sat, 9 Jul 2005 17:30:21 GMT Resent-Message-Id: <200507091730.j69HUL1m025563@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 131EF16A41C for ; Sat, 9 Jul 2005 17:22:32 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E2543D45 for ; Sat, 9 Jul 2005 17:22:31 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: (qmail 12840 invoked from network); 9 Jul 2005 17:22:30 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jul 2005 17:22:30 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j69HMJi6036711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 9 Jul 2005 13:22:21 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (mi@localhost.video-collage.com [127.0.0.1]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j69HM91h072912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 9 Jul 2005 13:22:14 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from mi@localhost) by corbulon.video-collage.com (8.13.4/8.13.4/Submit) id j69HM9Re072911; Sat, 9 Jul 2005 13:22:09 -0400 (EDT) (envelope-from mi) Message-Id: <200507091722.j69HM9Re072911@corbulon.video-collage.com> Date: Sat, 9 Jul 2005 13:22:09 -0400 (EDT) From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/83195: nvi loses edited file on network disconnection X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 17:30:22 -0000 >Number: 83195 >Category: bin >Synopsis: nvi loses edited file on network disconnection >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 09 17:30:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.10-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: System: FreeBSD corbulon.video-collage.com 4.10-STABLE FreeBSD 4.10-STABLE #1: Sun Oct 24 01:01:39 EDT 2004 root@corbulon.video-collage.com:/maxtor/tmp/src/sys/compile/Corbulon i386 >Description: Here is, what just happened: 1) I logged in to a remote server over ssh; 2) I started editing a file (an e-mail reply using elm); 3) halfway through the Internet connection froze for 30 seconds, but (foolishly) continued to type; 4) impatient ssh broke the connection; 5) I re-logged in immediately, and found there being no vi process; 6) Unfortunately, `vi -r' does not list any files. Sometimes vi manages -- like when a file is still being edited at system shutdown, so, perhaps, it would not be that difficult to fix... >How-To-Repeat: See description. >Fix: >Release-Note: >Audit-Trail: >Unformatted: