Remote doit Execution from the shell Level
Overview
The rdoit goody consists of a server (on the smalltalk side),
which awaits requests on a socket, and a C-program (called "rdoit
"),
which connects to this, and sends a smalltalk expression to be evaluated.
This allows for smalltalk actions to be started from the shell level
(i.e. via shell scripts, other programs, tcl/perl and other scripts.
With rdoit, you can:
- setup a smalltalk application server
which serves incoming requests for applications (possibly on remote displays).
This could even be configured without a local display.
- integrate smalltalk apps with existing applications
(especially, if used with
"ST/X views in alien windows").
- open smalltalk apps from the desktop
- trigger smalltalk operations on remote hosts
- trigger smalltalk operations via make- or shell-files
- use smalltalk for bignumber arithmetic in other apps
- use smalltalk as your favourite editor (see goodies/rdoit/edit.sh)
Documentation
See the README and source code in "goodies/rdoit"
; and -
Use the source - Luke.
Examples
Start the rdoit server first (this can now be done via the Launcher's
communications-settings-dialog).
Then, open a shell window and enter the shell command:
rdoit "Transcript showCR:'hello there.'"
or:
rdoit "FileBrowser open"
or:
rdoit "SomeApplication open"
to open one of your applications.
or:
rdoit -p "1000 factorial"
(-p means: 'print result')
Licensing
This addOn package is NOT to be considered part of the base ST/X system.
It is provided physically with the ST/X delivery, but only for your
convenience.
Legally, it is a freeware or public domain goody, as specified in
the goodies copyright notice (see the goodies source).
No Warranty
This goody is provided AS-IS without any warranty whatsoever.
Origin/Authors
Found in the smalltalk archives.
Authors:
Bill Voss (Original version)
Claus Gittinger (Additional functionality, security and result backpassing)
Copyright © 1999 eXept Software AG
<info@exept.de>
Doc $Revision: 1.8 $