home *** CD-ROM | disk | FTP | other *** search
- RUNPRG A Desk Accessory for running TOS programs.
- --------------------------------------------------
-
- by Todd A. Coram 22aug87 BITNET address TCORAM@UDCVAX.BITNET
-
- RUNPRG will run programs selected from a file selector box under GEM
- applications. And, because some GEM programs steal all available
- memory, RUNPRG is configured at boot up time to reserve some
- memory of its own to run programs.
-
- Place RUNPRG.ACC and RUNPRG.RES in the top level directory (not in a folder)
- on your boot up disk and edit RUNPRG.RES to suit your needs.
-
- RUNPRG.RES is not needed for this program to work, and if it cannot be read
- then RUNPRG.ACC will default to reservation of 100k RAM and will use the
- file selector box to choose programs to run.
-
- RUNPRG.RES format:
-
- memory,filespec programname
-
- where filespec and programname are optional.
-
- o memory is the total RAM in bytes to be reserved. (If you run stuff from the
- desktop or if your GEM applications don't eat all memory, then you can make
- this value small.)
-
- o filespec is the total file specification of the program to run everytime
- the desk accessory is activated. If it is ommited, then the file selector
- is displayed when the accessory is activated.
-
- o programname is a character string which will become the name of the RUNPRG
- desk accessory if filespec is supplied.
-
- ----------------------------------------
- Example:
-
- 100000,A:\BIN\EMACS.TTP EMACS
-
- will create a desk accessory called EMACS which when selected will run
- A:\BIN\EMACS.TTP and give it at least 100000 bytes to work with.
-
- 100
-
- will create a desk accessory called 'Execute Prg' which calls a file selector
- box when invoked and reserves 100 bytes for programs.
- ----------------------------------------
-
- BUGS:
- o .PRG (GEM) programs may crash if run from the desk accessory.
- o .TTP programs do not get command lines. (I may fix that later).
- o Tricky GEM applications may bomb for strnage reasons if you use
- RUNPRG.
-