|
|
coherent
virec Command virec Recover the modified version of a file after a crash vviirreecc [-dd _t_m_p_d_i_r] _t_e_x_t_f_i_l_e_n_a_m_e... vviirreecc </tmp/elv_X_X_X vviirreecc extracts the most recent version of a text file from a tem- porary file in /tmp. When you edit a file with elvis, only about five kilobytes of the file are stored in RAM; the rest is stored in a file in /tmp. vviirreecc extracts the ``undo'' version from the file stored in /tmp. This is most useful when the system (or elvis) crashes in the middle of a long editing session, since the ``undo'' version of the file contains everything except your last change. There are two ways to use virec. The first, and most common, way to invoke virec is to give it the name of the file you were editing; it finds the matching file in /tmp and writes the newest available version of the file over the existing version. It then deletes the /tmp file. The second way is to use the `<' to let virec read a particular /tmp file via stdin. Use this method when you either have for- gotten which file you were editing and want to see its contents, or when you wish to recover a file without losing either the /tmp file or the current version of the text file. The -d option tells virec to look for a temporary file in direc- tory rather than in /tmp. ***** Files ***** /ttmmpp/eellvv* -- Temporary file created by eellvviiss ***** See Also ***** commands, elvis ***** Notes ***** virec is a public-domain program written by Steve Kirkendall ([email protected] or ...uunet!tektronix!psueea!eecs!kirkenda). Source code for this program is available via the Mark Williams bulletin board, USENET and other sources. Please note that this program is distributed as a service to COHERENT users, but it is not supported by Mark Williams Company. _C_a_v_e_a_t _u_t_i_l_i_t_o_r. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.