home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / misc / 544 / oribin / learn / files < prev    next >
Encoding:
Text File  |  1991-06-28  |  2.5 KB  |  51 lines

  1. FILES
  2. -----
  3.  
  4. In order to make the text changes permanent, you must save them to a file.
  5. If you do not save them, the changes will "disappear" when you leave
  6. Origami.  As you make changes, i.e., corrections, deletions, insertions,
  7. etc., they are actually written to a "scratch" copy of the file and the
  8. changes to this file will not affect the "master" copy of the file until a
  9. file save is specified.  This allows you to decide if changes made to the
  10. file should be made permanent or discarded.  Note that a file fold will be
  11. automatically saved, if you exit it.
  12.  
  13. Remember:  The file name appears on the mode line.
  14.  
  15. =* Origami 1.5.10 (Emacs,None) == search =================================
  16.                                   ------
  17.  
  18. The commands for reading and saving files are unlike the other commands
  19. you have learned so far in that they consist of two characters - a C-X
  20. followed by another character which specifies the file command to be
  21. executed.
  22.  
  23. To read a file, type C-X C-R.  Origami will then prompt you from the
  24. communication line for the name of the file.  In response to the prompt,
  25. type the file name followed by a <Return> to indicate the file name has
  26. been entered.  This command will tell Origami to go find this file and
  27. load it.  Its contents will then be displayed on the screen and you will
  28. be able to edit the file's contents.
  29.  
  30. To save any changes made to the file, type C-X C-S.  This tells Origami to
  31. create a new version of the file which includes the changes you have made.
  32. When the save is complete, a message will appear in the communication
  33. line.
  34.  
  35. If you edit a file and at some point decide to quit (i.e., C-X C-C) without
  36. saving the changes, Origami will remind you that changes have been made to
  37. the file and ask you if you really want to quit.  Enter "N" to return to
  38. Origami or "Y" to exit Origami without saving the changes.
  39.  
  40. To create a file, just edit it "as if" it already existed.  Then start
  41. typing in the text.  When you ask to "save" the file, Origami will really
  42. create the file with the text that you have entered.  From then on, you
  43. can consider yourself to be editing an existing file.
  44.  
  45. It is not easy for you to test editing a file and continue with the
  46. tutorial.  But you can always come back into the tutorial by starting it
  47. over and skipping forward.  So, when you feel ready, you should try
  48. editing a file named "foo", putting some text in it, and saving it; then
  49. exit Origami and look at the file to be sure that it worked.  If you have
  50. the possibility, just a second terminal or window.
  51.