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

1999-05-04 Thread Moses DeJong
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 = 1024; later mo > while I am not still sure why read doesn't read the full file, try "read fileID > numBytes". > > % set x [read file3

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

1999-05-04 Thread Koushik Rajaram
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 Conference M = Unknow ] CallCtlConnDisconnectedEv[ Ad = ADDR_1 C = CCtrl Conference M = Unknow ] TermConnDroppedEv[ Tm = ADDR_1 C = Normal

[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[