NEdit.org    The Nirvana Editor Web Site
.

NEdit.org Home
Table of Contents

Getting Started

Basic Operation
Selecting Text
Finding/Replacing
Cut and Paste
Using the Mouse
Keyboard Shortcuts
Shifting and Filling
File Format

Features for
Programming

Programming
Tabs/Emul. Tabs
Auto/Smart Indent
Syntax Highlighting
Finding Decl.

Regular Expressions
Basic Syntax
Escape Sequences
Parenthetical Const.
Advanced Topics
Examples

Macro/Shell Extensions
Shell and Filters
Learn/Replay
Macro Language
Macro Subroutines
Action Routines

Customizing
Customizing NEdit
Preferences
X Resources
Key Binding
Highlighting Patterns
Indent Macros

Miscellaneous
NEdit Cmd Line
Client/Server Mode
Crash Recovery
Problems/Defects

.

 

.

Crash Recovery

If a system crash, network failure, X server crash, or program error should happen 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, or 80 characters under VMS). 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" type the command:

mv \~help.c help.c

A minor caveat, is that if the file you were editing was in MS DOS format, the backup file will be in Unix format, and you will need to open the backup file in NEdit and change the file format back to MS DOS via the Save As... dialog (or use the Unix unix2dos command outside of NEdit).

 

<< Previous Section
Client/Server Mode
Table of Contents
Next Section >>
Problem and Defects

 

 

. . Released on  Wed, 6 Nov 2002  by C. Denat