home *** CD-ROM | disk | FTP | other *** search
-
- RUNBACK
-
- There are many different RunBack commands for the Amiga, by several different
- authors. This is the third release of my version. I think it is the best,
- for these reasons: (1) Since I translated it into assembly, it is now only
- 468 bytes long! (2) It is pure. You can make it resident. (3) Since it
- uses the NULL: device (included), it is completely bulletproof, unlike
- versions that do not use NULL:, and the command it executes can include
- redirection. (4) It has an option to delay after running the other command,
- so as to avoid two programs trying to read the disk at the same time. The
- delay can be from one to nine seconds.
-
- What RunBack does is execute a CLI command COMPLETELY in the background.
- That means that no connection exists between the background process and the
- window you executed it from. The output is discarded, unless you redirect
- it. The difference between this and using "Run <nil: >nil: command" is that
- with Run the process is able to open "*", the current window, and if it does
- so the current window is UNABLE TO CLOSE until the command is all finished.
- With this RunBack, any output sent to "*" is discarded.
-
- Usage is: RUNBACK [-digit] command
-
- The brackets mean that -digit is optional. Digit is a numeral from one to
- nine, and command is any command you would type into a CLI prompt, including
- redirection of input and output. You can even give more than one command by
- putting a + at the end of each line, just like with Run.
-
- Example: RunBack Dir >RAM:Filez DH0: all
- Another example: RunBack -3 GOMF
-
- The latter means it will wait three seconds for GOMF to finish loading before
- it returns to the CLI. Ordinarily it would return to the CLI when the
- command it starts is only beginning to be loaded from disk.
-
- You can use this RunBack as a cheap substitute for the Wait command by just
- giving it a delay with no command. Like, Runback -5 to delay five seconds.
-
- You must mount NULL: for this to be usable. To do that, first copy the file
- Null-Handler to your L: directory, then and add the following lines to your
- DEVS:MountList file:
-
- NULL: Handler = L:Null-Handler
- Stacksize = 500
- Priority = 5
- GlobVec = 1
- #
-
- Then you can give the CLI command "Mount NULL:". Add that command to your
- S:Startup-Sequence file as well, if you want to use RunBack regularly. You
- might also want to add the command "Resident C:RunBack".
-
- This version of RunBack is by Paul Kienitz and is in the public domain.
-
-