home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 392.lha / tlog_v1.432A / Read.Me < prev    next >
Text File  |  1990-07-03  |  2KB  |  59 lines

  1.  
  2.  
  3.  
  4. TLOG V1.432A By Derec Butler
  5.  
  6. T-LOG Is A Short <Around 17k> Hard Drive Logging program.  This was made 
  7. to keep track on when your machine is turned on or reset <Must have an
  8. autobooting hard drive or else this program is a bit pointless... Well it
  9. will work on a floppy but it is more useful on a hard drive... but it can be
  10. used to keep track of how many times a specfic disk is used>
  11.  
  12. All this program does  when it's executed is append to a file called
  13. etc.log With the current time and date.  You must supply a pathname
  14. or volume for the file "Etc.log" I.E. tlog df1: OR tlog dh0/SYSTEM/SYSTEM
  15. you will have to find your own way of reading the file... I suggest just
  16. typing in a shell window or create a batch file to read it. You could
  17. also just add an icon and execute the reading batch file with iconx IF you
  18. don't like cli <Although it is so much easier on a hard drive>
  19.  
  20. To use the program just copy it To your C directory and add a line to your
  21. startup-sequence place the command after it reads in the time <setclock>
  22. tlog <Pathname> and that's it...
  23.  
  24. For People Not Handy With CLI:
  25.  
  26.   And Example Using The Original Startup-Sequence File From Workbench
  27.  
  28. c:SetPatch >NIL: r ;patch SYSTEM functions
  29. Addbuffers df0: 10
  30. cd c:
  31. echo "Amiga Workbench Disk. Release 1.3.1 version 34.25"
  32. Sys:SYSTEM/FastMemFirst ; move C00000 memory TO last in list
  33. BindDrivers
  34. SetClock load ;load SYSTEM time from real time clock (A1000 owners should
  35.               ;replace the SetClock load with Date
  36. tlog dh0:system
  37. FF >NIL: -0 ;speed up Text
  38. resident CLI L:Shell-Seg SYSTEM pure add; activate Shell
  39. resident c:Execute pure
  40. mount newcon:
  41. ;
  42. failat 11
  43. RUN execute s:StartupII ;This lets resident be used FOR rest of script
  44. WAIT >NIL: 5 mins ;WAIT FOR StartupII TO complete (will signal when done)
  45. ;
  46. SYS:SYSTEM/SetMap usa1 ;Activate the ()/* ON keypad
  47. path ram: c: sys:utilities sys:SYSTEM s: sys:prefs add ;set path FOR Workbench
  48. LoadWB delay  ;WAIT FOR inhibit TO END before continuing
  49. endcli >NIL:
  50.  
  51.  
  52. Place the command Tlog [Pathname] After Setclock as in the above example
  53. as for reading the file I will let you sort that out for yourself Since
  54. there are many ways to do it and I'm probally going overboard.
  55.  
  56.                            -Derec Butler
  57.                  "Is There A Doctor In The Fish???"
  58.  
  59.