Recover v1.0 ©1993 Diemar Eilert ------------------------------------------------------------------------------- A program to recover text buffers after your system has chrashed. Recover will scan all available memory locations (the free memory pool as well as memory allocated by other task), looking for lost buffers. Since freed memory is not protected by the OS, lost buffers may become trashed. Recover will still try to restore trashed buffers but they may contain garbage lines. You'll have to verify that restored buffers are intact before you copy them over your old files. Recover will try to figure out how many lines are corrupt to give you a rough idea of wether additional work is required. Be warned: these figures are not exact since it's hard to determine wether a line is corrupt or not. To increase your chances, run this program as soon as possible. Interrupt your startup sequence (type CTRL-D) and run recover IMMEDIATELY. Don't run Recover if your system is badly damaged (task held requester): Instead, reboot before attempting to recover lost buffers. Recover disables multitasking while scanning memory to prevent other tasks from allocating memory - this means that your mouse pointer freezes temporarily. Recover should be run from a shell window. The following arguments are supported: RECOVER DRIVE/K,ALL/S,TEST/S,MAXLEN/N,MAXLINES/N DRIVE ----- Drive where to write restored files (e.g. df0:). ******************************************************************************* * Don't use a ram disk (might overwrite the text to recover) or a hard disk * * (program might fail while writing since it has to do some dangerous stuff) !* ******************************************************************************* ALL --- Recover file even if it appears to be unchanged (Recover defaults to ignoring a text if it has never been modified). TEST ---- Just scan memory for text buffers to recover but don't write to a disk. Recover tries to figure out how many lines can be restored respectively are corrupt. A line is considered corrupt if it containes ASCII-Codes below 32 or from 128 to 160. Nevertheless, even corrupt lines are restored since parts of them may still be usable. MAXLEN ------ Maximum line lenght to be considered valid. If Recover happens to encounter a longer line while scanning memory it will refuse to restore the line (might be corrupt). Defaults to 255. MAXLINES -------- Maximum number of lines (per text) to restore. Recover will stop recovery as soon as a text exeeds this limit (text might be corrupt). Defaults to 10000 lines.