Page 2 of 2

Re:Tcl/Tk Scripting

Posted: Mon Jan 24, 2005 4:40 am
by Perica
..

Re:Tcl/Tk Scripting

Posted: Mon Jan 24, 2005 6:48 am
by Neo
That doesnt sound too bad........... Or is it?

Re:Tcl/Tk Scripting

Posted: Mon Jan 24, 2005 7:34 am
by Perica
..

Re:Tcl/Tk Scripting

Posted: Mon Jan 24, 2005 7:37 am
by Neo
This is all going to be between Unix/Linux machines.
And maybe Windows (if at all)

Re:Tcl/Tk Scripting

Posted: Mon Jan 24, 2005 9:06 am
by Candy
most software doesn't give a damn. Only quick jobs such as (I believe) more on unix and Notepad on windows can't handle it and show either ^M at the end of a line (the CR) or forget what a line end was and give you a bunch of characters as a big pile.

Re:Tcl/Tk Scripting

Posted: Tue Jan 25, 2005 11:08 pm
by Neo
I'm getting a serious headcache trying to write a piece of script to use sockets in Tcl.
Does anyboy here know how to do this (with error handling) or any good references for this. I tried googling but didnt get much help. (the Tcl/Tk site seems to have broken links)

Re:Tcl/Tk Scripting

Posted: Wed Jan 26, 2005 6:11 am
by Neo
Ok I sort off got it working with a couple of 'catch'es and although it isn't exactly what i wanted the output is okay (just freezes up for a brief time period in case of errors).

Now I'm searching for ways of doing number manipulation and conversions from one form to another (bin to dec etc..).
Anybody know how to do bitwise ops with some scriptable commands?