NEdit Crash Recovery

If a system crash, network failure, X server crash, or program error should occur while you are editing a file, you can easily recover most of your work. NEdit maintains a backup file which it updates periodically (every 8 editing operations or 30 characters typed under UNIX). This backup file has the same name as the file that you are editing, but with the tilde ( "~" ) character 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.

For example, to recover the file called help.c, you would enter the following command from a UNIX prompt:

    mv \~help.c help.c


Other NEdit Topics

Select a topic for more information.


Return to the ACS Consulting home page.

Return to the Software page.


Return to ACS home page.


Please send comments and suggestions to

consult@rpi.edu