ActiveTcl Demos

Posted by craig_pace on 2011-05-12 10:44

Having just installed TCL 8.5.9, and using Teacup to install the Expect Pakage successfully, I can't find the Expect Demo. The documentatio indicates:

"Expect for Windows includes a number of demonstration applications to help you get started. These demos are installed in the demos\Expect directory beneath the Tcl installation directory (by default, C:\Tcl\demos\Expect)."

HOwever, the demos are not present here.

ActiveState Staff
Thu, 2011-05-12 12:45

The documentation is a bit out of date.
Please use teacup to "get" (*) the package "activestate::activetcl::demos".

This contains all the demos. Then go into the c:\tcl\demos directory, creating it if necessary, and unpack the zip file you got.

(*) "teacup get", not "teacup install".

craig_pace | Tue, 2011-06-21 03:43

Thanks very much. All sorted now.

whahnel | Tue, 2011-07-12 07:10

What would be the exact syntax for the teacup get command?? I have the same issue but don't understand how to formulate the correct teacup get command.

ActiveState Staff
Tue, 2011-07-12 07:31

Hi whahnel

teacup has an integrated help. So,

teacup help get

will give you a description of the get command, including syntax. And a plain 'teacup help' shows the topics.

In this specific case the command is

teacup get activestate::activetcl::demos

to get all the demo archives.