On Thu, 22 Apr 2004, Douglas Kojetin wrote:

> Hi All-
>
> When I try to use the Expect package in a Tcl script, I get an error
> upon the initialization:
>
> ### example script.tcl
> #!/sw/bin/tclsh
> package require Expect
> puts [package versions Expect]
>
> ### example output
> [fun:~] user% ./script.tcl
> alloc: invalid block: 0x302388: 0 0 0
>
I get the same behavior interactively (similar but different address):
  tcsh prompt % tclsh
  % package require Expect
  alloc: invalid block: 0x3022f8: 0 0 0

> Anyone know what the problem is?
>
No idea, but...  If you need 'expect' commands, could you simply run expect?
#!/sw/bin/expect
You could even go for the kitchen sink with expectTK
#!/sw/bin/expectk

I have found that this lets me do anything Tcl plus anything expect.

Wayne


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to