I/O Redirection Under MS-DOS and MS-DOS Networks

PRO/5 supports I/O redirection from the command line. Internally, the device that refers to the redirection handles is named "IO."

Normally, opening the "IO" device will simply give you another channel opened to the console device. However, this channel performs I/O directly to the console device without any mnemonic processing.

PRO/5 may be executed with I/O redirection commands at the command line as:

pro5 <commands

The PRO/5 "console" command lines will be read from the file named COMMANDS. Any valid PRO/5 console command is valid as a line in the COMMANDS file. Please note that the FID(0) will be "IO" and that mnemonics will not be processed on output. A SET of BBTERM will override I/O redirection. To avoid this problem, set BBTERM=IO.

Several PRO/5 utilities, such as _savep and _bundle, create COMMAND files which may be redirected into PRO/5 for subsequent execution.