Peter wrote:
> But even at this stage I forsee a problem: How do I make a stream (used
> for
> internal communication between two java threads) available in the tcl
> environment
> for Expect to listen on?

It's a shame that this isn't currently possible.  I have hacks for Jacl
that allow me to wrap an arbitrary Java stream as a Tcl channel.  But it
requires changes to the API, like making tcl.lang.Channel a public
class.

For Expect you need TclBlend which relies on native I/O.  I'd wager that
modifying it to call back into a Java stream would be difficult, maybe
impossible without modifying the core.

-- 
Jeff Sturm
[EMAIL PROTECTED]

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to