[Tcl Java] strange problem

1999-03-16 Thread philippe boyer
hi, Here is a stange problem found with JACL 1.1.1: When Shell is started (java -classpath tcljava.jar;jacl.jar tcl.lang.Shell), the characters typed after the prompt are NOT printed on screen until return is pressed! difficult to type commands ;-) I have modified tcl.lang.Shell line 278 in met

[Tcl Java] Re: strange problem

1999-03-17 Thread philippe boyer
Moses DeJong wrote: > On Tue, 16 Mar 1999, philippe boyer wrote: > > This is a known problem with the NT version of JDK 1.2. This is > a JDK bug and there is nothing Jacl can do to fix it. If you > have found a workaround I would like to see it, but I am a little > confuse

[Tcl Java] reading line typed from stdin

1999-03-24 Thread philippe boyer
Hi, I am trying to read charaters from stdin. the only way I have found is puts "type your name" puts -nonewline "> " set name [read stdin] the problem is to stop reading character when enter is pressed. I have found another way to end the line read but it is not very funny: type space,

[Tcl Java] problem while reading files bigger than 1024 bytes

1999-05-04 Thread philippe boyer
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 ] CallCtlConnEstablishedEv[ Ad = ADDR_2 C = Snapshot M = Snapshot ] TermConnActiveEv[ Tm = ADDR_2 C = Snapshot M = Snapshot ] CallCtlTermConnTalkingEv[

[Tcl Java] Re: Jacl problem

1999-05-05 Thread philippe boyer
Lubos Vrba wrote: > 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 String(s) with it) hi lubos! try this > try { > tclInterp.evalFile("next.tcl");} System.out.println(

[Tcl Java] Re: problem while reading files bigger than 1024 bytes

1999-05-05 Thread philippe boyer
Normal M = Unknow ] > > TermConnActiveEv[ Tm = ADDR_1 C = CCtrl Conference M = Unknow ] > > CallCtlTermConnTalkingEv[ Tm = ADDR_1 C = CCtrl Conference M = Unknow ] > > CallObservationEndedEv[ N/A C = Normal M = Un > > > > - Koushik > > > > - Original

[Tcl Java] Re: Jacl problem

1999-05-05 Thread philippe boyer
Lubos Vrba wrote: > 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 commands! i hope :-) > I don't want tcl script print some messages! ok, but i suppose you want to retrieve some v