home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / editor / elvis / elvrec.doc < prev    next >
Text File  |  1994-01-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. ELVREC(1)           UNIX Programmer's Manual            ELVREC(1)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      elvrec - Recover the modified version of a file after a
  10.      crash
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      eeeellllvvvvrrrreeeecccc [_p_r_e_s_e_r_v_e_d_f_i_l_e [_n_e_w_f_i_l_e]]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      If you're editing a file when _e_l_v_i_s dies, the system
  17.      crashes, or power fails, the most recent version of your
  18.      text will be preserved.  The preserved text is stored in a
  19.      special directory; it does NOT overwrite your text file
  20.      automatically.
  21.  
  22.      The _e_l_v_r_e_c program locates the preserved version of a given
  23.      file, and writes it over the top of your text file -- or to
  24.      a new file, if you prefer.  The recovered file will have
  25.      nearly all of your changes.
  26.  
  27.      To see a list of all recoverable files, run _e_l_v_r_e_c with no
  28.      arguments.
  29.  
  30. FFFFIIIILLLLEEEESSSS
  31.      /usr/preserve/p*
  32.           The text that was preserved when _e_l_v_i_s died.
  33.  
  34.      /usr/preserve/Index
  35.           A text file which lists the names of all preserved
  36.           files, and the names of the /usr/preserve/p* files
  37.           which contain their preserved text.
  38.  
  39. BBBBUUUUGGGGSSSS
  40.      _e_l_v_r_e_c is very picky about filenames.  You must tell it to
  41.      recover the file using exactly the same pathname as when you
  42.      were editing it.  The simplest way to do this is to go into
  43.      the same directory that you were editing, and invoke _e_l_v_r_e_c
  44.      with the same filename as _e_l_v_i_s.  If that doesn't work, then
  45.      try running _e_l_v_r_e_c with no arguments, to see exactly which
  46.      pathname it is using for the desired file.
  47.  
  48.      Due to the permissions on the /usr/preserve directory, on
  49.      UNIX systems _e_l_v_r_e_c must be run as superuser.  This is
  50.      accomplished by making the _e_l_v_r_e_c executable be owned by
  51.      "root" and setting its "set user id" bit.
  52.  
  53.      If you're editing a nameless buffer when _e_l_v_i_s dies, then
  54.      _e_l_v_r_e_c will pretend that the file was named "foo".
  55.  
  56. AAAAUUUUTTTTHHHHOOOORRRR
  57.      Steve Kirkendall
  58.      kirkenda@cs.pdx.edu
  59.  
  60.  
  61.  
  62.  
  63. Printed 6/13/92                                                 1
  64.  
  65.  
  66.  
  67.