WARNING
RDoit expressions are not evaluated in a secure environment;
if you enable it, any expression (even if destructive) is evaluated.
Although exceptions are cought, a bad guy could send you something like
"Smalltalk exit" and finish your smalltalk session.
In order to provide a bit of security, the RDoitServer opens a confirmation dialog for every new host trying to connect. This allows denying requests from other hosts.
The rdoit command (i.e. the reuqestors code) is provided in source in the
"goodies/rdoit" directory. It may be useful to install
this command in "/usr/local/bin" or any other directory
along your shell PATH.
Two example shell scripts are provided: edit.sh, which opens a smalltalk editor, and fb.sh, which opens a file browser.
The two other check boxes control if logging information is to be sent to smalltalks standard output (i.e. the xterm).
Example:
Suppose, you have installed the rdoit executable program in your path,
you can evaluate smalltalk expressions from the UNIX shell as:
or, to print the result of some expression:
rdoit "SystemBrowser open"
rdoit -p "1000 factorial"
If enabled, errors, connection-related events and data transfers
are logged on the standard-error.
The default is off.
If enabled, errors, remote operation invocations and responses
are logged on the standard-error.
The default is off.
If enabled, errors, cmise messages (m_get, m_set, m_action etc.)
are logged on the standard-error.
The default is off.
Copyright © 1999 eXept Software AG, all rights reserved