Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ exrecover(1) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



EXRECOVER(1)                                         EXRECOVER(1)


NAME
       exrecover - recover the modified version of a file after a
       crash

SYNOPSIS
       exrecover [preservedfile [newfile]]

DESCRIPTION
       If you're editing a file when vi dies, the system crashes,
       or  power fails, the most recent version of your text will
       be preserved.  The preserved text is stored in  a  special
       directory;  it does NOT overwrite your text file automati-
       cally.

       The exrecover program locates the preserved version  of  a
       given  file,  and writes it over the top of your text file
       -- or to a new file, if you prefer.   The  recovered  file
       will have nearly all of your changes.

       To see a list of all recoverable files, run exrecover with
       no arguments.

FILES
       /var/preserve/p*
              The text that was preserved when vi died.

       /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.

BUGS
       Exrecover is very picky about filenames.  You must tell it
       to  recover  the  file  using exactly the same pathname as
       when you were editing it.  The simplest way to do this  is
       to  go  into the same directory that you were editing, and
       invoke exrecover with the same filename as  vi.   If  that
       doesn't  work,  then  try  running exrecover with no argu-
       ments, to see exactly which pathname it is using  for  the
       desired file.

       If  you're  editing  a  nameless buffer when vi dies, then
       exrecover will pretend that the file was named "foo".

HISTORY
       Based on elvrec(1) from the elvis distribution.

AUTHOR
       Steve Kirkendall
       kirkenda@cs.pdx.edu







                                                                1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026