	REX - A	Remote RSX Execution System


DECnet RMT allows you to log into another RSX system, but you lose
the ability to issue command on the system you terminal is on.

REX provides a means to log in and execute commands to another RSX
system while still being able to issue commands to your local 
system. REX can also be used from an indirect command file to start 
tasks on another system. It even returns the exit status of a remote 
task, which allows testing completion status in indirect.

REX requires virtual terminal support and variable send-receive, so 
will only work on RSX-11M-Plus. REX is written in DECUS "C" and uses
the NETIO extentions provided in another UIC in this submission.

A short command file, TELL.CMD, shows how to execute a one line 
command on another system. This is useful for checking the status of 
the batch queue or seeing who's logged in.

REX will only work with programs that use command line arguments. 
Any tasks that expect terminal input will receive an EOF.


		Building Everything


The .MAC files provide calls to M+ functions not supported in the 
RSX V4.0 CX library from the older DECUS "C" kit.

Compile the .C files. The build file (.TKB) assume that your CX.OLB
contains the additional M+ directive calls. A copy of the CX.OLB 
used is in [333,100]. Similarly, the special DECnet "C" routines are
in CN.OLB.

REXRMT used DECnet object 129. You can change this by modifying 
REX.H.

The implementation and theory behind REX is described in REXDOC.RNO. 
The DOC file may not include some of the latest features such as the
silent login and logout (-l and -o).


Questions, complaints, praise (I rather like the last) can be 
addressed to:

	Hans J. Jung
	Assistant Manager of Research and Development
	The Associated Press
	50 Rockerfeller Plaza
	New York, NY 10020
	(212) 621-1568

I will take calls, but am notoriously hard to reach by phone. I also 
can't guarantee you much phone time.
