Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 02:59:31 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        default <default013subscriptions@hotmail.com>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Stupid question about VI
Message-ID:  <3C037213.6020509@owt.com>
References:  <OE24DHCsWoHLwo6vLxZ0001b8a3@hotmail.com>

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


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




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