From owner-freebsd-questions Tue Nov 27 2:59:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 0A96837B41D for ; Tue, 27 Nov 2001 02:59:50 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id CAA23621; Tue, 27 Nov 2001 02:59:46 -0800 Message-ID: <3C037213.6020509@owt.com> Date: Tue, 27 Nov 2001 02:59:31 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: default Cc: FreeBSD-Questions Subject: Re: Stupid question about VI References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 default wrote: > Hi, > > Months ago, I ctrl-c'ed out of a vi session I was doing, and ever since, > I've been recieving e-mails about the recovered vi session whenever I reboot > the machine. Now the emails are not a problem, I can see that they'd come in > handy every once in awhile. > > 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... > > Anybody know how to do this? :) Look at "man vi" and then the option "-r". You can also look at ":h" and then follow the viusage. Kent > > Thanks, > > Jordan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > . > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message