Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 13:22:09 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/83195: nvi loses edited file on network disconnection
Message-ID:  <200507091722.j69HM9Re072911@corbulon.video-collage.com>
Resent-Message-ID: <200507091730.j69HUL1m025563@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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