EXPRESERVE(1) EXPRESERVE(1)
NAME
expreserve - preserve vi buffers after a crash
SYNOPSIS
expreserve ["-why vi died"] /tmp/filename...
DESCRIPTION
Expreserve preserves your edited text after vi dies. The
text can be recovered later, via the exrecover(1) program.
For most systems, you should never need to run this pro-
gram from the command line. It is run automatically when
vi is about to die, and it should be run (via /etc/rc)
when the computer is booted.
If you're editing a file when vi dies (due to a bug, sys-
tem crash, power failure, etc.) then expreserve will pre-
serve the most recent version of your text. The preserved
text is stored in a special directory; it does NOT over-
write your text file automatically.
Expreserve will send mail to any user whose work it pre-
serves, if your operating system normally supports mail.
FILES
/tmp/elv*
The temporary file that vi was using when it died.
/var/preserve/p*
The text that is preserved by expreserve.
/var/preserve/Index
A text file which lists the names of all preserved
files, and the names of the /var/preserve/p* files
which contain their preserved text.
SEE ALSO
exrecover(1), vi(1)
HISTORY
Based on elvprsv(1) from the elvis distribution.
BUGS
If you're editing a nameless buffer when vi dies, then
expreserve will pretend that the file was named "foo".
AUTHOR
Steve Kirkendall
kirkenda@cs.pdx.edu
1