AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/ExecuteOnReset.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Executes some CLI-commands on reset
Author: jgeiss at muc.de (Johannes Geiss)
Uploader:jgeiss muc de (Johannes Geiss)
Type:util/misc
Architecture:m68k-amigaos
Date:2000-08-16
Download:util/misc/ExecuteOnReset.lha - View contents
Readme:util/misc/ExecuteOnReset.readme
Downloads:775

Version:  1.1

Installes a reset handler which executes some commands on case of a reset
(CTRL-Amiga-Amiga).

Example:

    ExecuteOnReset "Copy RAM:log to dh1: quiet noreq" "Wait 3 secs"

    This installes a reset handler, which copies a file from the RAM
    disk to dh1 in case of a reset (CTRL-AMIGA-AMIGA). The Wait
    command is necessary to avoid a non validated disk on dh1.

Usage: Run <>NIL: ExecuteOnReset [-p pri] string1 [string2] ...
       -p pri    - priority (default: 0)
       string1   - command line 1 to execute
       string2   - optional command line 2 to execute
       ...     - more command lines.

Installes a reset handler which executes the command lines on case of a reset
(CTRL-Amiga-Amiga). After execution of all commands the handler continues with
the reset (or other installed reset handlers) imediately! So if you do some
disk tasks add a "Wait 3 secs" line as last command to avoid non validated
disks. You must be cautionous: The Amiga allows a maximum of 10 seconds to do
all reset handler tasks. After this amount of time a hard reset occurs
regardless if a command has finished or not. If you install more reset
handlers you can choose the order of execution by the priority argument.
The Run command is necessary to detach from the shell. A CTRL-C signal
removes the handler.

Notes:

    Some old Amigas do not have a hardware support for keyboard reset
    handlers. If you try this on such machines the program will not work.

    This software (including the source codes) is free but remains
    copyrighted (C) 2000 by Johannes Geiss (Amigavisions).

    USE THIS SOFTWARE AT YOUR OWN RISK. I'm not responsible for any damage
    or data loss which this program may cause. If you are not sure about
    this program read the sources.

Have fun
Johannes Geiss (http://www.muc.de/~jgeiss)


Contents of util/misc/ExecuteOnReset.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1172    1906  61.5% -lh5- 942e Aug 13  2000 ExecuteOnReset.info
[generic]                 2408    2971  81.1% -lh5- ea17 Aug 13  2000 ExecuteOnReset/Build.info
[generic]                  189     794  23.8% -lh5- 5676 Aug 10  2000 ExecuteOnReset/call.i
[generic]                 1755    2766  63.4% -lh5- a290 Aug 13  2000 ExecuteOnReset/call.i.info
[generic]                 1711    2632  65.0% -lh5- a81a Sep 30  1994 ExecuteOnReset/Debug
[generic]                 1799    2926  61.5% -lh5- de70 Aug 13  2000 ExecuteOnReset/Debug.info
[generic]                 1720    2764  62.2% -lh5- 650a Aug 13  2000 ExecuteOnReset/Edit.info
[generic]                 7214   11624  62.1% -lh5- 028c Aug 13  2000 ExecuteOnReset/ExecuteOnReset
[generic]                 2234    7199  31.0% -lh5- 4637 Aug 13  2000 ExecuteOnReset/ExecuteOnReset.c
[generic]                 1998    2826  70.7% -lh5- b4fe Aug 13  2000 ExecuteOnReset/ExecuteOnReset.c.info
[generic]                 1781    2943  60.5% -lh5- 147c Aug 13  2000 ExecuteOnReset/ExecuteOnReset.info
[generic]                  119     144  82.6% -lh5- 43fe Aug 13  2000 ExecuteOnReset/ExecuteOnReset.lnk
[generic]                 1314    1938  67.8% -lh5- 6e04 Aug 13  2000 ExecuteOnReset/ExecuteOnReset.lnk.info
[generic]                 1493    2620  57.0% -lh5- 2dc4 Aug 13  2000 ExecuteOnReset/ExecuteOnReset.o
[generic]                 1224    2164  56.6% -lh5- c4ff Aug 13  2000 ExecuteOnReset/ExecuteOnReset.o.info
[generic]                  942    1988  47.4% -lh5- 0141 Aug 13  2000 ExecuteOnReset/ExecuteOnReset.readme
[generic]                 1733    2604  66.6% -lh5- 506a Aug 13  2000 ExecuteOnReset/ExecuteOnReset.readme.info
[generic]                 1844    2868  64.3% -lh5- a744 Aug 13  2000 ExecuteOnReset/Find.info
[generic]                  349     879  39.7% -lh5- 326c Aug 10  2000 ExecuteOnReset/keyhandler.a
[generic]                 2190    2926  74.8% -lh5- 73a1 Aug 13  2000 ExecuteOnReset/keyhandler.a.info
[generic]                  122     152  80.3% -lh5- b80a Aug 10  2000 ExecuteOnReset/keyhandler.o
[generic]                 1224    2164  56.6% -lh5- 318c Aug 13  2000 ExecuteOnReset/keyhandler.o.info
[generic]                   68      89  76.4% -lh5- 2a9a Aug 10  2000 ExecuteOnReset/SCOPTIONS
[generic]                 2255    2942  76.6% -lh5- ff51 Aug 13  2000 ExecuteOnReset/SCoptions.info
[generic]                   46      46 100.0% -lh0- bbd7 Aug 10  2000 ExecuteOnReset/xref.i
[generic]                 1756    2766  63.5% -lh5- 5d50 Aug 13  2000 ExecuteOnReset/xref.i.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        26 files   40660   67641  60.1%            Aug 16  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>