Jiang, Thanks for answering my question so quickly. I was thinking that TclBlend should have all the Tcl commands, too. But After I embedded a Tcl interpreter in Java and tried to invoke "history" command in Java, it gave me the error message "tcl.lang.TclException: invalid command name "history" " I wonder why? I tried some other tcl commands, such as "puts" and "set ". These commands seem to work well in java. - Zhumei On Thu, 8 Jun 2000, Jiang Wu wrote: > TclBlend uses whatever the C based Tcl has. There is a history command in > Tcl. You should use a separate thread to run the Tcl interpreter. If you > don't, you may run into crashes and deadlocks. > > -- Jiang Wu > [EMAIL PROTECTED] > > -----Original Message----- > From: Zhumei Wang [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 08, 2000 1:25 PM > To: [EMAIL PROTECTED] > Subject: [Tcl Java] "history" command in TclBlend? > > > Hi all, > > I am glad to hear that there is a new "history" command for Jacl. However, > I am using TclBlend now. Do we have "history" command in TclBlend? > > Another question is: > > In order to embed a Tcl interpreter in Java, do the Java program has to > create a thread to be used exclusively for the Tcl interpreter? What if we > don't have this thread? > > Thanks. > > -Zhumei > > ---------------------------------------------------------------- > 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 > > ---------------------------------------------------------------- > 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 > ---------------------------------------------------------------- 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