|
|
1.1 ! root 1: ! 2: ! 3: virec Command virec ! 4: ! 5: ! 6: ! 7: ! 8: Recover the modified version of a file after a crash ! 9: ! 10: vviirreecc [-dd _t_m_p_d_i_r] _t_e_x_t_f_i_l_e_n_a_m_e... ! 11: vviirreecc </tmp/elv_X_X_X ! 12: ! 13: vviirreecc extracts the most recent version of a text file from a tem- ! 14: porary file in /tmp. ! 15: ! 16: When you edit a file with elvis, only about five kilobytes of the ! 17: file are stored in RAM; the rest is stored in a file in /tmp. ! 18: vviirreecc extracts the ``undo'' version from the file stored in /tmp. ! 19: This is most useful when the system (or elvis) crashes in the ! 20: middle of a long editing session, since the ``undo'' version of ! 21: the file contains everything except your last change. ! 22: ! 23: There are two ways to use virec. The first, and most common, way ! 24: to invoke virec is to give it the name of the file you were ! 25: editing; it finds the matching file in /tmp and writes the newest ! 26: available version of the file over the existing version. It then ! 27: deletes the /tmp file. ! 28: ! 29: The second way is to use the `<' to let virec read a particular ! 30: /tmp file via stdin. Use this method when you either have for- ! 31: gotten which file you were editing and want to see its contents, ! 32: or when you wish to recover a file without losing either the /tmp ! 33: file or the current version of the text file. ! 34: ! 35: The -d option tells virec to look for a temporary file in direc- ! 36: tory rather than in /tmp. ! 37: ! 38: ***** Files ***** ! 39: ! 40: /ttmmpp/eellvv* -- Temporary file created by eellvviiss ! 41: ! 42: ***** See Also ***** ! 43: ! 44: commands, elvis ! 45: ! 46: ***** Notes ***** ! 47: ! 48: virec is a public-domain program written by Steve Kirkendall ! 49: ([email protected] or ...uunet!tektronix!psueea!eecs!kirkenda). ! 50: Source code for this program is available via the Mark Williams ! 51: bulletin board, USENET and other sources. Please note that this ! 52: program is distributed as a service to COHERENT users, but it is ! 53: not supported by Mark Williams Company. _C_a_v_e_a_t _u_t_i_l_i_t_o_r. ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.