1. Crash Recovery

Crash Recovery

If a system crash, network failure, X server crash, or program error should happen while you are editing a file, you can still recover most of your work. NEdit maintains a backup file which it updates periodically (every 8 editing operations or 80 characters typed). This file is has the same name as the file that you are editing, but with the character "~" (tilde) on Unix or "_" (underscore) on VMS prefixed to the name. To recover a file after a crash, simply rename the file to remove the tilde or underscore character, replacing the older version of the file.

(Because several of the Unix shells consider the tilde to be a special character, you may have to prefix the character with a "\" (backslash) when you move or delete an NEdit backup file.)

Example, to recover the file called "help.c" on Unix type the command:

mv \~help.c help.c

On VMS, type:

RENAME _HELP.C HELP.C

Send questions and comments to: nedit_support@fnal.gov.