1 2 3 4ELVISPRESERVE(8) ELVISPRESERVE(8) 5 6 7NNAAMMEE 8 elvispreserve - Preserve the the modified version of a 9 file after a crash. 10 11SSYYNNOOPPSSIISS 12 eellvviisspprreesseerrvvee [[""--_w_h_y _e_l_v_i_s _d_i_e_d""]] //ttmmpp//_f_i_l_e_n_a_m_e...... 13 eellvviisspprreesseerrvvee --RR //ttmmpp//_f_i_l_e_n_a_m_e...... 14 15DDEESSCCRRIIPPTTIIOONN 16 _e_l_v_i_s_p_r_e_s_e_r_v_e preserves your edited text after _e_l_v_i_s dies. 17 The text can be recovered later, via the _e_l_v_i_s_p_r_e_s_e_r_v_e 18 program. 19 20 For UNIX-like systems, you should never need to run this 21 program from the command line. It is run automatically 22 when _e_l_v_i_s is about to die, and it should be run (via 23 /etc/rc) when the computer is booted. THAT'S ALL! 24 25 For non-UNIX systems such as MS-DOS, you can either use 26 _e_l_v_i_s_p_r_e_s_e_r_v_e the same way as under UNIX systems (by 27 running it from your AUTOEXEC.BAT file), or you can run it 28 separately with the "-R" flag to recover the files in one 29 step. 30 31 If you're editing a file when _e_l_v_i_s dies (due to a bug, 32 system crash, power failure, etc.) then _e_l_v_i_s_p_r_e_s_e_r_v_e 33 will preserve the most recent version of your text. The 34 preserved text is stored in a special directory; it does 35 NOT overwrite your text file automatically. 36 37 _e_l_v_i_s_p_r_e_s_e_r_v_e will send mail to any user whose work it 38 preserves, if your operating system normally supports 39 mail. 40 41FFIILLEESS 42 /tmp/elv* 43 The temporary file that _e_l_v_i_s was using when it 44 died. 45 46 /usr/preserve/p* 47 The text that is preserved by _e_l_v_i_s_p_r_e_s_e_r_v_e. 48 49 /usr/preserve/Index 50 A text file which lists the names of all preserved 51 files, and the names of the /usr/preserve/p* files 52 which contain their preserved text. 53 54BBUUGGSS 55 Due to the permissions on the /usr/preserve directory, on 56 UNIX systems _e_l_v_i_s_p_r_e_s_e_r_v_e must be run as superuser. This 57 is accomplished by making the _e_l_v_i_s_p_r_e_s_e_r_v_e executable be 58 owned by "root" and turning on its "set user id" bit. 59 60 If you're editing a nameless buffer when _e_l_v_i_s dies, then 61 62 63 64 1 65 66 67 68 69 70ELVISPRESERVE(8) ELVISPRESERVE(8) 71 72 73 _e_l_v_i_s_p_r_e_s_e_r_v_e will pretend that the file was named "foo". 74 75AAUUTTHHOORR 76 Steve Kirkendall 77 kirkenda@cs.pdx.edu 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 127 128 129 130 2 131 132 133