I/O Redirection Under the UNIX Operating System

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 translation.

PRO/5 may be executed with I/O redirection commands from the shell 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) must be "IO" and that mnemonics will not be processed on output. Make sure that BBTERM=IO in the user environment before attempting IO redirection.

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