From owner-freebsd-questions Tue Nov 27 3:27:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id 19E8B37B405 for ; Tue, 27 Nov 2001 03:27:27 -0800 (PST) Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 168gOa-0002oY-00; Tue, 27 Nov 2001 12:27:24 +0100 Received: from pd9e492c6.dip0.t-ipconnect.de ([217.228.146.198] helo=there) by mrvdom02.schlund.de with smtp (Exim 2.12 #2) id 168g8h-0001hF-00; Tue, 27 Nov 2001 12:10:59 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Robert Klein Reply-To: RoKlein@roklein.de Organization: roklein.de To: "default" Subject: Re: Stupid question about VI Date: Tue, 27 Nov 2001 13:12:21 +0100 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: Cc: "FreeBSD-Questions" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi "default", to get rid of the not yet recovered session, start vi, do a ":recover file" and "q!" quit the editor without writing. Problem solved. Regards, Robert > What I'd like to know, is how can I remove that recovered session > from memory without changing the file that I was editing? I > probably ctrl-c'ed out (can't remember why) and then went back and > edited the file until I was satisfied. But vi still has whatever I > was working on at the time saved ... I would just like to remove > this and keep what I currently have... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message