#	SID	@(#)qremote.rm	8.1 - 99/12/27

This directory is used to contain the commands to run remote jobs on
other hosts.

The names of the files in this directory should be the name of the
host for which they are providing the interface.  For example, `bozo'
contains the commands to run a command on the host `bozo.

These files are invoked by qremote(1) using the command:

	<this-directory>/<host> <host> <command>

Given the above syntax, a file in this directory could be a link to or
a copy of rsh or rcmd.  However, qremote will execute rsh <host>
directly if this directory does not contain a file called <host>.

However, some target systems (such as ones in which Dave Cultler was
involved) do not provide adequate support.  The following is an
example of the script required to interface to a vms platform called
`bozo'.

	# save target host name and remove from argument list
	host=$1
	shift
	# echo command into file available on both local and remote hosts
	echo $* > /disk/bozo2/tmp/remote$$

	# run rsh on host to execute created file
	rsh $host 'posix /path=posix "/bin/sh" "/home2/bozo/tmp/remote'$$'"'

	# remove temporary file
	rm /disk/bozo2/tmp/remote$$
