fixed var vs. usr in man page, and made it say "elvispreserve"

This commit is contained in:
cgd 1993-04-08 02:46:10 +00:00
parent 18969c77a9
commit 93d7644e4b

View File

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