From owner-freebsd-questions Wed Oct 14 09:02:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12459 for freebsd-questions-outgoing; Wed, 14 Oct 1998 09:02:53 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12434 for ; Wed, 14 Oct 1998 09:02:43 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id JAA26485; Wed, 14 Oct 1998 09:02:10 -0700 (PDT) (envelope-from dhw) Date: Wed, 14 Oct 1998 09:02:10 -0700 (PDT) From: David Wolfskill Message-Id: <199810141602.JAA26485@pau-amma.whistle.com> To: freebsd-questions@FreeBSD.ORG, Leon@TicketWeb.co.za Subject: Re: Recovering edited file In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: Leon Myburgh >Date: Wed, 14 Oct 1998 16:56:44 +0200 >Does VI make ANY backups of the files you edit? I edited a file and >would like to get back to the original contents. This was done today and >is really critical. Yes; in /var/tmp/vi.recover. But as far as I know, those backups are only used in the event that the editor session is killed prior to a graceful termination. Other than that, it makes backups every time you enter ":w" in command mode.... david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message