RECOVER BUFFER
Recovers a text buffer after a system failure, by using the buffer-change
journal file for the buffer.
The recovery restores only your text---it does NOT restore settings, key
definitions, or the contents of system buffers (such as the Insert Here
buffer) before the system failure.
Steps:
1. If a system failure interrupts your editing session, invoke EVE again,
using the DCL command EDIT/TPU. You need not use the /RECOVER
qualifier.
2. Use RECOVER BUFFER and specify the name of the buffer or file you want
to recover, or the name of the journal file for the buffer. For
example, to recover the Main buffer, use the following command:
Command: RECOVER BUFFER main
3. If the journal file for that buffer is available, EVE shows the
following information and asks if you want to recover that buffer:
* Name of the buffer
* Original input file (if any) )for the buffer
* Output file (if any) for the buffer
* Source file (if any) for recovery
* Starting date and time of the editing session
* Journal file creation date and time
If you want to recover the buffer, simply press RETURN. (The recovery
is usually quite fast.) Otherwise, type No, and press RETURN.
4. Repeat Step 2, if necessary, to recover another text buffer.
Usage notes:
o You can recover buffers from different editing sessions. For a list of
all the journal files available, specify the asterisk wildcard (*):
Command: RECOVER BUFFER *
EVE then lists the available journal files so you can choose the one
you want. See help on Choices Buffer.
o The journal file name derives from the name of the buffer or file you
were editing and the file type .TPU$JOURNAL. For example, if you edit
a file named MEMO.TXT, the journal file for that buffer is
MEMO_TXT.TPU$JOURNAL.
o To recover all your buffers---that is, each buffer for which there is a
journal file---use RECOVER BUFFER ALL.
o If you specify a buffer that already exists---typically, the Main
buffer---EVE first deletes the buffer (prompting you to confirm the
deletion, if necessary) before doing the recovery.
o If there is more than one version of a buffer-change journal file---for
example, there may be two or more MAIN.TPU$JOURNAL files from different
editing sessions---RECOVER BUFFER uses the highest version number
available.
o The recovery does not re-create deleted files. If you deleted or
renamed the source file associated with a buffer-change journal file,
the recovery fails. The source file is either the file initially read
into the buffer (if any), or the last version of the file written from
the buffer before the system failure.
+------------------------------ NOTE -------------------------------+
| Although journaling and recovery are quite reliable, the safest way |
| to protect your work against a system failure is to write out your |
| edits frequently -- particularly during all-day editing sessions. |
+---------------------------------------------------------------------+
Related topics:
Journal Files RECOVER BUFFER ALL SET JOURNALING