Teapot? What Teapot?

Posted by robert_thrift on 2011-09-22 17:14
Forums: TEA discussions | OS: Windows Vista

I downloaded and installed ActiveTcl 8.5.10, Community Edition, today.
It was installed on a Windows Vista PC with no problems or error messages.
I tried it out on a couple of Tk programs I had written long ago, and they worked.

I became interested in a statement on the web page
http://www.activestate.com/activetcl/tcl-tk-modules
because it discussed the "teapot" program/script/facility, whatever it is.
That's new to me; I think my old ActiveTcl was 8.4 or thereabouts.

Here is what the web page says:
"Download ActiveTcl Community Edition to get started, then launch Teapot which provides
both command line and user interface access to all modules available through Teapot."

Well, there is no teapot of any kind that got installed, although as far as I can tell,
everything else is there, including a copy of teacup.exe. Which I guess I can't invoke
alone by itself.

So where is teapot? I did a Windows search on the entire hard disk (about a 2-hour job)
and turned up nothing.

Does ActiveTcl 8.5.10 install teapot, or not? If not, how do I get it?

Just as an aside, what does "launch Teapot" actually mean in the ActiveTcl world? Do I
click on it in Windows? Invoke it from tclsh? Or what? (If I even had teapot, I mean.)

Thanks,
Bob

robert_thrift | Tue, 2011-09-27 13:45

I never figured out the teapot mystery, but I solved the problem in a different way. I downloaded and installed the ActiveTcl 8.6 beta version, and teapot was there and working. There was a teapot.exe compiled for Windows and I could run it by command line from the DOS window, which works OK.

The teapot documentation that comes with ActiveTcl is certainly no substitute for a tutorial, but with enough head-scratching and jumping back and forth between the man pages, it is at least possible for a newbie to get some use out of it.

Thanks,
Bob

andreas.kupries
ActiveState Staff
Fri, 2011-11-18 10:24

> then launch Teapot

The text on the web page is wrong. At least misleading. Let me try to clarify things here first. I will then work with our web people to fix the web page as well.

TEApot is what we call our repository of prebuilt packages (binary and pure Tcl), found at http://teapot.activestate.com/

The client application to access this repository (and compatibles) is called "teacup(.exe)". As Robert said, this client comes with the ActiveTcl distribution. In fact, all distributions, 8.4 and up, released in the last 2 years at least should contain this client.

This client is a command line application, to be run from a terminal (DOS box, on Windows). Its syntax is described in the HTML/CHM help of ActiveTcl, and can also be accessed from the command line itself, through 'teacup help'.

The packages installed via this client land in a directory /lib/teapot, which is an 'installation teapot repository' (*), and our tclsh and wish are configured at installation time to search it for packages.

I hope this clarifies things. If not, just ask.

~~~~
(*) This and other terms are explained in the 'TEApot glossary' in the HTML documentation.

hotcore | Mon, 2017-04-17 03:49

> The client application to access this repository (and compatibles) is called "teacup(.exe)". As Robert
> said, this client comes with the ActiveTcl distribution. In fact, all distributions, 8.4 and up,
> released in the last 2 years at least should contain this client.

In fact in version 8.6.6. there is no teacup.exe anymore.

Where can I download the teacup related stuff as stand-alone package?

TIA,
Arie

grahams
ActiveState Staff
Thu, 2017-04-20 07:53

Teacup has been dropped from 8.6.6. It never was a package, so there's no way to download it separately. Important portions of the TEA ecosystem were only available in the TDK, which has also been discontinued.

To add modules in 8.6.6 you need to add them the way the authors intended them to be added.

The TEA system may get opensourced, and if TEA or something based on it, gets adopted as a community standard package system for Tcl (9.0?), it will return.