On 10/3/07, Tom Jackson <[EMAIL PROTECTED]> wrote:
> Thanks, that worked. The -command was executed logging 'okay' + number of
> bytes written.
>
> But the ns_log statements following vwait are not executed. I assume that is
> expected? I posted the updated script at:
>
> http://rmadilo.com/files/nsbgwrite/nsbgwrite.tcl
fcopy $inFd $channel -command [list ns_log Notice "okay"]
vwait $channel
vwait is expecting a variable *name*. Here, it's waiting for the
variable 'sock23' (or whatever) to be set, which never happens.
There's a short example on the man page:
http://www.tcl.tk/man/tcl8.4/TclCmd/vwait.htm
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.