home *** CD-ROM | disk | FTP | other *** search
- File : OSCLI
- Date : 21-Feb-97
- Author : © A.Thoukydides, 1995, 1996, 1997
- Description : Description of the PC OSCLI command that is part of the ARMEdit
- suite.
-
-
- INTRODUCTION
-
- The "OSCLI" command allows RISC OS *commands to be executed from the DOS
- command line. To use this command it is necessary to load the ARMEdit module
- before starting the PC front-end.
-
-
- USAGE
-
- The syntax is:
-
- OSCLI [/?] [/S|/I] <Command>
-
- where
-
- /? - Displays some help text.
- /S - Prevents redirection of output through DOS.
- /I - Redirects both input and output streams through DOS.
- <Command> - The command to execute.
-
- Note that to prevent DOS from changing the command it is a good idea to place
- it in quotation marks.
-
- Due to the way in which this command operates, strange behaviour can
- sometimes be produced. Some RISC OS commands can cause the computer to crash,
- so be careful with it. In particular, the commands are executed within the
- environment of the PC front-end, so applications must not be started.
-
- Another point to note is that commands that require action to be taken by a
- WIMP task, such as Filer_Run will not take effect until the PC enters
- multitasking mode.
-
-
- REDIRECTION
-
- Many *commands peform either input or output. By default the OSCLI command
- redirects the output of the command being executed to a RISC OS file before
- passing it to the DOS standard output. This allows, for example, piping to the
- MORE filter. To prevent this behaviour it is possible to specify the "/S"
- switch.
-
- Some commands require interactive input and output, such as *Build or *Count.
- Specifying the "/I" switch allows use of these commands by attaching both the
- input and output of the command to the standard DOS streams. This requires
- the command to be frequently suspended to allow input and output to be
- processed, so it can appear slightly slower. It may also have problems with
- some commands that work without the "/I" switch.
-
-
- THINGS TO DO
-
- The following are changes that may be made to the OSCLI command sometime in
- the future.
-
- Add a switch to run the command in a TaskWindow.
-
- Pre-process VDU sequenced before displaying output.
-
-
- VERSION HISTORY
-
- 0.00 (12-Nov-95) Original development version.
-
- 0.01 (14-Nov-95) Added version number and copyright message.
- Output is passed through the standard output of the DOS
- command.
-
- 0.02 (17-Nov-95) Uses correct HPC service identifier.
- Changed to a .COM file to make it smaller.
- Made redirection of output optional and added help text.
-
- 0.04 (16-Dec-95) Uses real HPC.
-
- 1.00 (12-Jan-96) First official release version.
-
- 1.01 (11-Mar-96) Version number updated to match the module.
-
- 1.02 (06-Aug-96) Added support for Acorn's software PC emulator.
- Included redirection of input stream through DOS.
-
- 1.03 (21-Feb-97) Unique temporary filenames used.
- Operation under Window now more reliable.