Hello tcljava-dev,
I'm developing at the moment the distributed system to function on
tens of machines. For us it was a no-brainer decision to use the TCL
for administrative tasks. I'm using JACL 1.3.0 implementation I got
from the sf.net. And here's my problem:
I want to let an administrators to write their own TCL scripts and
load them into the server context. This gives great flexibility and
saves a bunch on developing administrative tool. All things work
fine, but: as far as I can figure out from the implementation, JACL
implementation is coupled with channels that are opened with the
interpreter. I want exactly opposite -- I want to have possibility
to have several consoles open to the server, with each calling any
procedure and receiving output produced by the TCL script.
I have quickly figured out a solution: I have externalized the I/O
tables. So the Interp has it's local IOContext; passing a reference
to IOContext to the Interp specifies the i/o context.
I wonder if someone has done something like that already. If not, I
will kindly appreciate your help with getting it work right. Please
feel free to contact me. Looking forward,
--
With best regards,
Aliaksei Yanchuk mailto:a.y...@sa...
SaM Solutions
Minsk, per. Kazarmennyi 4 220030
Handy: +375296996475
|