FRC - Force a Command Line to another Terminal ============================================== User's Guide ============ FRC is a privileged utility that allows you to specify a line to MCR as if it had come from another terminal. This can be useful for running programs on remote terminals and for logging remote terminals in or out. As this utility could potentially be misused, it may only be used by a privileged user. The command line for FRC is of the fixed format:- FRC TTn:=Command Line where n is an optional unit number which may be any valid number of digits. The colon (:) and equals(=) are mandatory. 'Command Line' specifies the command to be queued to MCR. This will queue the given command line to MCR as if it has been entered at terminal TTn: FRC may report the following errors:- 1. FRC -- GET COMMAND LINE ERROR No command line was specified. 2. FRC -- PRIVILEGED COMMAND A non-privileged user attempted to use FRC. 3. FRC -- SYNTAX ERROR The command line specified does not follow the format given earlier. 4. FRC -- TERMINAL NOT IN SYSTEM The specified terminal does not exist in the system. 5. FRC -- SPAWN FAILED The Spawn to MCR directive failed - possibly because it was not requested at System Generation time. this utility will not work without this directive. FRC - Force a Command Line to another Terminal ============================================== System Guide ============ FRC consists of one simple module. It first assigns a LUN to it's TI: device and checks that the requesting terminal is privileged - exiting with an error if it isn't. It then gets the MCR command line and parses it to determine the destination device and the command string required. It then sets up a spawn request to MCR specifying the given terminal and command line and issues the request, logging an error if it fails. It then exits. FRC is assembled and built by the commandfile FRC.CMD. It is a privileged task (/PR:0) that accesses LB:[1,1]EXEMC.MLB (to define the U2.PRV bit). It has a taskname of ...FRC, and requires only one unit, and a 20-word stack.