when i try to read the attached file with jacl 1.1.1/NT the result is: % open c:/readProblem.txt file4 % read file4 [B@574c681ashot M = Snapshot ] ...
philippe boyer
philoux@...
May 4, 1999 8:57 am
244
while I am not still sure why read doesn't read the full file, try "read fileID numBytes". % set x [read file3 1500] ConnDisconnectedEv[ Ad = ADDR_1 C = CCtrl...
Koushik Rajaram
krajaram@...
May 4, 1999 9:22 am
245
I would be willing to bet that it is just reading the size of the buffer not the size of the file. (from FileChannel.java) private static final int BUF_SIZE =...
Moses DeJong
dejong@...
May 4, 1999 1:48 pm
246
Hello to everybody! I've this newbie problem. I use java to call tcl script. This script prints something. I want to know what this script prints. (create some...
Lubos Vrba
lubos.vrba@...
May 5, 1999 8:06 am
247
... I have changed this value to 1024*10 it seems to work in my case ...of course this workaroud is not valid if you want to read file bigger than 1024*10, but...
philippe boyer
philoux@...
May 5, 1999 9:12 am
248
Thanks for advice, but I just don't know how use it. May be I definition of my problem was pure. I'll try to do it better: In next.tcl isn't only one puts...
Lubos Vrba
lubos.vrba@...
May 5, 1999 9:46 am
249
... i hope :-) ... ok, but i suppose you want to retrieve some value returned by your script next.tcl? ... I dont know how to do it without proc ... ... here...
philippe boyer
philoux@...
May 5, 1999 12:00 pm
250
You can also rebind stdout http://ptolemy.eecs.berkeley.edu/~cxh/java/tclblend/println.html sez --start-- Hints about java.lang.System.out.println and Tcl ...
Christopher Hylands
cxh@...
May 5, 1999 3:34 pm
251
Hi, is there a way to access a static field from a Java inner class from TCL? The java::info hasnt got a possibility to inspect this (i believe), so i dont...
Marcel Ruff
mr@...
May 6, 1999 10:39 am
252
... Could you provide a Java example of how you would do this? later mo ... The TclJava mailing list is sponsored by WebNet Technologies. To subscribe: send...
Moses DeJong
dejong@...
May 6, 1999 1:41 pm
253
I made a post about inner classes last week, see: http://www.mail-archive.com/tcljava@.../msg00129.html ... Below is the example extended to...
Christopher Hylands
cxh@...
May 6, 1999 3:22 pm
254
... hi lubos! try this ... System.out.println(tclInterp.getResult().toString()); ... I dont know if it's work with a script like proc hello {} { puts "hello...
philippe boyer
philoux@...
May 5, 1999 8:39 am
255
Hi, I use a SWING GUI, invoked by a TCL script. If i want to callback a TCL procedure from Swing, Swing hangs after the second try. Im using the...
Marcel Ruff
mr@...
May 10, 1999 11:10 am
256
... It sounds like you might be doing this incorrectly. You need to place and event into the Tcl event queue. If you just call interp.eval() it will screw...
Moses DeJong
dejong@...
May 10, 1999 2:40 pm
257
I've been having a little trouble with implementing traces for the widget variables used in my Swank package (a Tk-like interface to Swing). Below is some...
Johnson, Bruce
bruce_johnson@...
May 10, 1999 3:58 pm
258
Hi, guys I would like to complete the following using both java and jacl. 1) run a tcl file 2) direct the output to a file 3) analyze the file My only poor...
david shen
dshen71@...
May 10, 1999 10:30 pm
259
... You could redirect the output of the Java (and therefore the Jacl) process using the java.lang.System class. The methods are called setIn(InputStream) and...
Moses DeJong
dejong@...
May 10, 1999 10:42 pm
260
... Moses and Tim, Thank you it works now! ill send a little HOWTO demo later. Perhaps this should be added to the TclBlend docu. Marcel ... The TclJava...
Marcel Ruff
mr@...
May 11, 1999 12:02 pm
261
Hi, Attached you find 3 tiny files, showing howto invoking Java from TCL, and howto invoke a callback TCL procedure. I still dont understand everyting, but if...
Marcel Ruff
mr@...
May 11, 1999 12:11 pm
262
Ok, this seems like a perfect time to add this as I am currently working on the 1.2.3 release. How about I take a pass as it and then post how I think it...
Moses DeJong
dejong@...
May 11, 1999 9:07 pm
263
I just took a quick look at the problem you are having but I am wondering if it is actually a "feature" and not a bug. For instance, if I run the following...
Moses DeJong
dejong@...
May 12, 1999 12:37 am
264
Hello! I've this problem: In Jacl I want to use classes, I create in java. In *.java I use static method getInstance(), that return the instance of my class. I...
Lubos Vrba
lubos.vrba@...
May 12, 1999 10:39 am
265
Hi, i made a second example, showing some basic TclBlend features. Perhaps its a good candidate for the TclBlend docu as well. This is demo #2, following the...
Marcel Ruff
mr@...
May 12, 1999 11:33 am
266
take a look at the source file in the Jacl source dist <jacl>/src/tcljava/lang/reflect/PkgInvoker.java The comments there will explain you how to access...
Trung Tran-Duc
trung.tranduc@...
May 12, 1999 1:33 pm
267
... I am not sure what this could be. Could you provide more info and a small example that shows the problem you are having? later mo ... The TclJava mailing...
Moses DeJong
dejong@...
May 12, 1999 1:57 pm
268
I've fallen a bit behind the curve on development plan is for TclBlend/Jacl wrt Tcl 8.1. I remember seeing a note sometime back about experiments with...
schenck
schenck@...
May 14, 1999 3:50 pm
269
I have the patches needed to get Tcl Blend to compile with the released Tcl 8.1 but I have not had time to merge them into the CVS tree. I am planning on...
Moses DeJong
dejong@...
May 14, 1999 4:31 pm
270
I intend to deploy JACL in a server-side process whereby clients make server requests that TCL code be run on their behalf. Each client's request will run in a...
David P. White
dpwhite@...
May 14, 1999 5:12 pm
271
... You should be able to. As long as you do not "clean up" the global variables that Tcl uses then you should be just fine. Variables and Procs are easy to...
Moses DeJong
dejong@...
May 14, 1999 6:20 pm
272
Hello all. I am posting this note to give folks a "heads up" on recent Tcl/Java news. I have been working on a new 1.2.3 release and it is almost ready but I...