home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 37 / af037b.adf / Diary.doc < prev    next >
Text File  |  1992-06-18  |  3KB  |  74 lines

  1. Readme.doc file of Diary
  2.  
  3. What is the Diary Utility?
  4.  
  5. The diary utility is designed to be a simple message writer which will Šremind the user upon bootup of important events that day. The user can Šenter the messages by using any text editor (Ed on the Workbench disk Šwill do at a pinch). When the user boots up their system the Diary Šmessage writer program will be executed and the messages displayed in Šthe current CLI/Shell window.
  6.  
  7. Requirements
  8.  
  9. * Battery backed up clock fitted to your Amiga.
  10. * The system date and time in the ENV: directory.
  11. * A directory called Messages on the boot disk.
  12. * The T: temporary directory.
  13.  
  14. Using the Diary utility
  15.  
  16. The Diary program should be called up from the sys:s/startup-sequence. ŠIn order to call the Diary utility and run it successfully the Šfollowing commands should be added to the sys:s/startup-sequence file Šbefore the endcli >NIL: line at the end of the script.
  17.  
  18. date >ENV:dt
  19. assign messages: sys:messages
  20. Diary
  21. wait 10
  22.  
  23. The lines above work as follows:-
  24.  
  25. date >ENV:dt - The command gets the system date and stores it in the ŠENV: directory in a file called dt.
  26.  
  27. assign messages: sys:messages - This command tells the system where Šthe messages: directory can be found. In this case it is on the boot Šup disk (SYS:).
  28.  
  29. Diary - This runs the Diary command to display the messages.
  30.  
  31. Wait 10 - Gives the user 10 seconds to read any messages.
  32.  
  33. Putting in the messages
  34.  
  35. You can use any text editor - I'll assume you are using Ed. Boot up ŠWorkbench, open a Shell or CLI and type:-
  36.  
  37. Ed Messages:dd-MMM-yy
  38.  
  39. dd stands for the day the message is to be displayed.
  40. MMM stands for the month the message will be displayed.
  41. YY stands for the year the message will be displayed.
  42.  
  43. It is worth noting that the format is the same as given by the Date Šcommand. When MMM is entered, the first letter should be a capital. ŠAlso note that the month must be three characters long, for example:-
  44.  
  45. ed Messages:24-Jun-92
  46.  
  47. The above would set up a message to be displayed on 24th June 1992.
  48.  
  49. Now that you have got the date right, you can enter your message. It Šcan be any length you like. While doing this sort of thing, you may Šwant to display a message every day - for example Wednesday. In that Šcase, the message should consist of:-
  50.  
  51. external
  52. Messages:Wednesday
  53.  
  54. The external command tells Diary that the next line is the name of a Šfile to display, stored as usual in the Messages drawer.
  55.  
  56. When you have finished entering your message, press Esc, then X, then Šreturn. The message will be written do disk. If you were to boot up Šthe machine on the 24th June, that message would be displayed, as well Šas another message called Wednesday.
  57.  
  58. The Diary utility tries to keep disk space free by deleting messages Šfrom the previous month.
  59.  
  60. This Diary program is Shareware which means you can give it to whoever Šyou like so long as this Readme.doc file goes with it. However, if you Šuse it regularly then please send a small donation to the following Šaddress:-
  61.  
  62. Christopher Marsden
  63. East View
  64. Greaves Lane
  65. Ashford
  66. Bakewell
  67. Derbyshire DE4 1QH
  68. England
  69.  
  70. IF enough support is received then an AMOS version will be developed Šand other improvements made.
  71.  
  72. No liability can be accepted for loss of information or damage caused Šby the use of this program.
  73.  
  74.