home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / System / ExecuteOnReset / ExecuteOnReset.readme < prev    next >
Text File  |  2000-08-13  |  2KB  |  51 lines

  1. Short:    Executes some CLI-commands on reset
  2. Author:   jgeiss@muc.de (Johannes Geiss)
  3. Uploader: jgeiss@muc.de (Johannes Geiss)
  4. Type:     util/misc
  5.  
  6. Version:  1.1
  7.  
  8. Installes a reset handler which executes some commands on case of a reset
  9. (CTRL-Amiga-Amiga).
  10.  
  11. Example:
  12.  
  13.     ExecuteOnReset "Copy RAM:log to dh1: quiet noreq" "Wait 3 secs"
  14.  
  15.     This installes a reset handler, which copies a file from the RAM
  16.     disk to dh1 in case of a reset (CTRL-AMIGA-AMIGA). The Wait
  17.     command is necessary to avoid a non validated disk on dh1.
  18.  
  19. Usage: Run <>NIL: ExecuteOnReset [-p pri] string1 [string2] ...
  20.        -p pri    - priority (default: 0)
  21.        string1   - command line 1 to execute
  22.        string2   - optional command line 2 to execute
  23.        ...     - more command lines.
  24.  
  25. Installes a reset handler which executes the command lines on case of a reset
  26. (CTRL-Amiga-Amiga). After execution of all commands the handler continues with
  27. the reset (or other installed reset handlers) imediately! So if you do some
  28. disk tasks add a "Wait 3 secs" line as last command to avoid non validated
  29. disks. You must be cautionous: The Amiga allows a maximum of 10 seconds to do
  30. all reset handler tasks. After this amount of time a hard reset occurs
  31. regardless if a command has finished or not. If you install more reset
  32. handlers you can choose the order of execution by the priority argument.
  33. The Run command is necessary to detach from the shell. A CTRL-C signal
  34. removes the handler.
  35.  
  36. Notes:
  37.  
  38.     Some old Amigas do not have a hardware support for keyboard reset
  39.     handlers. If you try this on such machines the program will not work.
  40.  
  41.     This software (including the source codes) is free but remains
  42.     copyrighted (C) 2000 by Johannes Geiss (Amigavisions).
  43.  
  44.     USE THIS SOFTWARE AT YOUR OWN RISK. I'm not responsible for any damage
  45.     or data loss which this program may cause. If you are not sure about
  46.     this program read the sources.
  47.  
  48. Have fun
  49. Johannes Geiss (http://www.muc.de/~jgeiss)
  50.  
  51.