1993-08-02 21:48:44 +04:00
|
|
|
.\" $Id: elvispreserve.8,v 1.4 1993/08/02 17:50:32 mycroft Exp $ -*- nroff -*-
|
1993-04-08 06:46:10 +04:00
|
|
|
.TH ELVISPRESERVE 8
|
1993-03-21 12:45:37 +03:00
|
|
|
.SH NAME
|
1993-04-08 06:46:10 +04:00
|
|
|
elvispreserve - Preserve the the modified version of a file after a crash.
|
1993-03-21 12:45:37 +03:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
1993-04-08 06:46:10 +04:00
|
|
|
\fB\fBelvispreserve\fP ["-\fIwhy elvis died\fP"] /tmp/\fIfilename\fP...
|
|
|
|
\fB\fBelvispreserve\fP -R /tmp/\fIfilename\fP...
|
1993-03-21 12:45:37 +03:00
|
|
|
.fi
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
1993-04-08 06:46:10 +04:00
|
|
|
\fIelvispreserve\fP preserves your edited text after \fIelvis\fP dies.
|
|
|
|
The text can be recovered later, via the \fIelvispreserve\fP program.
|
1993-03-21 12:45:37 +03:00
|
|
|
.PP
|
|
|
|
For UNIX-like systems,
|
|
|
|
you should never need to run this program from the command line.
|
|
|
|
It is run automatically when \fIelvis\fP is about to die,
|
|
|
|
and it should be run (via /etc/rc) when the computer is booted.
|
|
|
|
THAT'S ALL!
|
|
|
|
.PP
|
1993-04-08 06:46:10 +04:00
|
|
|
For non-UNIX systems such as MS-DOS, you can either use \fIelvispreserve\fP
|
1993-03-21 12:45:37 +03:00
|
|
|
the same way as under UNIX systems (by running it from your AUTOEXEC.BAT file),
|
|
|
|
or you can run it separately with the "-R" flag to recover the files
|
|
|
|
in one step.
|
|
|
|
.PP
|
|
|
|
If you're editing a file when \fIelvis\fP dies
|
|
|
|
(due to a bug, system crash, power failure, etc.)
|
1993-04-08 06:46:10 +04:00
|
|
|
then \fIelvispreserve\fP will preserve the most recent version of your text.
|
1993-03-21 12:45:37 +03:00
|
|
|
The preserved text is stored in a special directory; it does NOT overwrite
|
|
|
|
your text file automatically.
|
|
|
|
.PP
|
1993-04-08 06:46:10 +04:00
|
|
|
\fIelvispreserve\fP will send mail to any user whose work it preserves,
|
1993-03-21 12:45:37 +03:00
|
|
|
if your operating system normally supports mail.
|
|
|
|
.SH FILES
|
|
|
|
.IP /tmp/elv*
|
|
|
|
The temporary file that \fIelvis\fP was using when it died.
|
1993-04-08 06:46:10 +04:00
|
|
|
.IP /var/preserve/p*
|
|
|
|
The text that is preserved by \fIelvispreserve\fP.
|
|
|
|
.IP /var/preserve/Index
|
1993-03-21 12:45:37 +03:00
|
|
|
A text file which lists the names of all preserved files, and the names
|
1993-04-08 06:46:10 +04:00
|
|
|
of the /var/preserve/p* files which contain their preserved text.
|
1993-03-21 12:45:37 +03:00
|
|
|
.SH BUGS
|
|
|
|
.PP
|
1993-04-08 06:46:10 +04:00
|
|
|
Due to the permissions on the /var/preserve directory, on UNIX systems
|
|
|
|
\fIelvispreserve\fP must be run as superuser.
|
|
|
|
This is accomplished by making the \fIelvispreserve\fP executable be owned by "root"
|
1993-03-21 12:45:37 +03:00
|
|
|
and turning on its "set user id" bit.
|
|
|
|
.PP
|
1993-04-08 06:46:10 +04:00
|
|
|
If you're editing a nameless buffer when \fIelvis\fP dies, then \fIelvispreserve\fP will pretend
|
1993-03-21 12:45:37 +03:00
|
|
|
that the file was named "foo".
|
|
|
|
.SH AUTHOR
|
|
|
|
.nf
|
|
|
|
Steve Kirkendall
|
|
|
|
kirkenda@cs.pdx.edu
|
|
|
|
.fi
|