Subject: Re: best way to speed up "vi"
To: Henry Nelson <henry@irm.nara.kindai.ac.jp>
From: Matthias Buelow <mkb@mukappabeta.de>
List: netbsd-help
Date: 04/04/2001 04:22:13
Henry Nelson <henry@irm.nara.kindai.ac.jp> writes:

>There seems to be something strange going on, though.  There are two
>recover files in there, but "vi -r" doesn't respond that way:
>% ls -l /var/tmp/vi.recover
>total 91
>-rwx------  1 henchan  wheel  81920 Nov 15 10:49 vi.00118a
>-rwx------  1 root     wheel  11264 Dec  6 18:25 vi.00878a
>% vi -r
>vi: no files to recover.

no, you have to specify the original filename of the file that you were
editing, like:

$ pwd
/foo/bar
$ vi story.txt
...system or vi crashes...
$ cd /foo/bar
$ vi -r story.txt (don't forget to save)

mkb