Posting events to windows of other processes

Doug Roberts roberts%studguppy at lanl.gov
Wed Jan 4 06:43:01 AEST 1989


dean at ho7cad.ATT.COM (D.JONES):

> I need to ``duplicate'' the windows of our CAD package on the console of
> another workstation....

How about something a bit simpler: the following shell script (name it
screen-copy)?

#! /bin/sh
# for i do
while true
	do screendump -e | rsh $1 screenload
	sleep $2
done

Ex: screen-copy dest-host-name 5
    will do a screendump off of your host every 5 seconds
    and screenload it on to the target host.

--Doug

Douglas Roberts
Los Alamos National Laboratory
(505)667-4569
dzzr at lanl.gov



More information about the Comp.sys.sun mailing list