SUMMARY RDoItServer This package consists of Smalltalk-80 Release 4, and C code. The Smalltalk-80 code creates a Smalltalk process which provides a Socket based server. The C code talks to that server. The result is the ability to execute "rdoit" at a Unix command line, and have the Smalltalk image "Do It." (Very similar to the Berkley rsh command.). I use this package to put the "Launcher" options on my root OpenWindows menu. The speed is quite acceptable on a SparcStation 2 with 32 megs of RAM, and no other users. ;-) I have not tested this code in any other environment. I am releasing this code in the hope that others will find it useful, and that others will improve it. It is a very poor example of good coding style, or a very good example of poor coding style. ;-) However, it seems to work, and I need to get back to work. Bill Voss, June 14th 1991. ---------------------------------------------------------------------------- To install the RDoItServer: 1) Type "make" to compile the C program rdoit.c. 2) File in "utils/UnixSock.st" from the ParcPlace R4 distribution. 3) File in "Voss-RDoIt.st" from this distribution. 4) Next read the "RDoItServer" class comment for security warnings. -- If You Still Wish To Proceed. -- 5) Evaluate "RDoItServer start." to start the server. 6) Execute rdoit localhost 8004 "Transcript show: 'It works'" in a UNIX window. 7) Click "YES" to authorize connections from localhost. 8) Make certain 'It works' has been printed on the System Transcript. 9) Copy the rdoit binary to some place on your path such as ~/bin. 10) (Assuming you are running olwm or olvwm.) Include the file "launcher-menu" in your ~/.openwin-menu file. (You may need to adjust the paths.) 11) Exit and restart OpenWindows. 12) Start Smalltalk-80 and test the new menu items.