home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / elvis184.zip / os2 / elvrec.doc < prev    next >
Text File  |  1994-01-17  |  2KB  |  133 lines

  1.  
  2.  
  3. NAME
  4.        elvrec  -  Recover  the modified version of a file after a
  5.        crash
  6.  
  7. SYNOPSIS
  8.        elvrec [preservedfile [newfile]]
  9.  
  10. DESCRIPTION
  11.        If you're editing a  file  when  elvis  dies,  the  system
  12.        crashes,  or  power fails, the most recent version of your
  13.        text will be preserved.  The preserved text is stored in a
  14.        special  directory;  it  does NOT overwrite your text file
  15.        automatically.
  16.  
  17.        The elvrec program locates  the  preserved  version  of  a
  18.        given  file,  and writes it over the top of your text file
  19.        -- or to a new file, if you prefer.   The  recovered  file
  20.        will have nearly all of your changes.
  21.  
  22.        To see a list of all recoverable files, run elvrec with no
  23.        arguments.
  24.  
  25.        (Note: if you haven't set up a directory for file  preser-
  26.        vation,  then  elvis'  you'll  have  to  manually  run the
  27.        elvprsv program instead of elvrec.)
  28.  
  29. FILES
  30.        /usr/preserve/p*
  31.               The text that was preserved when elvis died.
  32.  
  33.        /usr/preserve/Index
  34.               A text file which lists the names of all  preserved
  35.               files,  and the names of the /usr/preserve/p* files
  36.               which contain their preserved text.
  37.  
  38. BUGS
  39.        elvrec is very picky about filenames.  You must tell it to
  40.        recover  the  file using exactly the same pathname as when
  41.        you were editing it.  The simplest way to do this is to go
  42.        into  the same directory that you were editing, and invoke
  43.        elvrec with the same filename as elvis.  If  that  doesn't
  44.        work,  then  try  running elvrec with no arguments, to see
  45.        exactly which pathname it is using for the desired file.
  46.  
  47.        Due to the permissions on the /usr/preserve directory,  on
  48.        UNIX  systems  elvrec  must  be run as superuser.  This is
  49.        accomplished by making the elvrec executable be  owned  by
  50.        "root" and setting its "set user id" bit.
  51.  
  52.        If  you're editing a nameless buffer when elvis dies, then
  53.        elvrec will pretend that the file was named "foo".
  54.  
  55. AUTHOR
  56.        Steve Kirkendall
  57.  
  58.  
  59.  
  60.                                                                 1
  61.  
  62.  
  63.  
  64.  
  65.  
  66. ELVREC(1)                                               ELVREC(1)
  67.  
  68.  
  69.        kirkenda@cs.pdx.edu
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                 2
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.