home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Editor / FREDV19A.LHA / FrexxEd / fpl / Backup.FPL.README < prev    next >
Encoding:
Text File  |  1995-07-19  |  1.3 KB  |  37 lines

  1. ############################################
  2. File:        Backup.FPL
  3. Author:        Daniel Stenberg
  4. Email:        Daniel.Stenberg@sth.frontec.se, FidoNet 2:201/328
  5. Short:         Make backups at save-time
  6. Version:    1.0
  7. Date:        22.4.94
  8. Local settings: "backup" ("_backup" is hidden)
  9. Global settings: "backup_suffix"
  10. Keysequence:
  11. Type:        Hook
  12. Prereq:
  13. ############################################
  14.  
  15. FUNCTION
  16.  
  17.   The reason for this program is to save us all from the following scenario:
  18. You load a file, modify and save it and then quit. You try to compile the
  19. new file and after the compiler has discovered the 47 errors in the file,
  20. you get second thoughts about the latest modification and want to get back the
  21. previous version of the file.
  22.  
  23.   This program performs a safety copy of the file that is to be overwritten
  24. by a save. The backup is only performed at the first save of the file.
  25.  
  26.   The backup file will get a suffix that defaults to ".bak" (changeable
  27. through the "backup_suffix" global setting). If the backup file already exists
  28. when the backup copy is about to perform, a requester will appear propting if
  29. the file should be overwritten or not. Whether the answer is true or false,
  30. the operation will be marked internally as if the backup has been done!
  31.  
  32.   The backup option is switchable on/off with the local boolean setting called
  33. "backup".
  34.  
  35. BUGS
  36.   None?
  37.