Women in Technology

Hear us Roar



Article:
  Network Test Automation with Mac OS X and Tcl
Subject:   Updates to the prose ...
Date:   2001-10-30 10:59:18
From:   hobbs
I think this is a good article to describe how OS X will be all the more powerful as people take more advantage of the Unix base. As for the Tcl references, I wanted to make some small comments / corrections. The reference to http://www.scriptics.com/ for Tcl should be http://www.tcl-tk.net/ or http://tcl.sourceforge.net/. www.scriptics.com now is a direct DNS pointer to www.tcl-tk.net, but the tcl-tk reference is better in the long run.


I am curious why the author needed 8.4a2 to build Expect with (since the default tclsh on OS X is 8.3.x, IIRC). Expect, being a good Unix Tcl extension, should have built with the stock tclsh on the Mac.


The choice of ftp perhaps wasn't ideal to showcase Expect, since that can be done with the pure Tcl ftp module in tcllib http://tcllib.sourceforge.net/), but Expect is still a rather formidable extension. Now that the Mac has a Unix base, that opens up a lot of control of the rest of the world via Expect from the Mac.


The closing remarks about complementing Perl, which would be used on the web server, seem ... unimaginative to me. After all, Tcl can be a full web server, and tclhttpd (http://tclhttpd.sf.net/), written completely in Tcl, is reported to work just fine on OS X (that's the same web server running http://www.tcl-tk.net/).


Jeff Hobbs - Tcl Core Release Manager

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Updates to the prose ...
    2001-10-30 11:57:38  mnorton01 [View]

    hi Jeff,

    Thanks for the feedback.

    As for the 8.4a2 build that is the only release that appeared with Expect for the Macintosh. I agree, Expect should HAVE been included with the stock tclsh for the Mac. Apple comments???

    Choosing the ftp example was merely to demonstrate console login and interaction. This was a simple example to show login and authentication for a UNIX style platform.

    As for Perl, in large corporate environments remember coding is a collaboration. I may write the report tools in Tcl but I hand off the info to another person who maintains the web server. This admin may choose to code in Java or Pearl.

    thanks,

    Mike
    • Updates to the prose ...
      2001-10-30 19:53:30  hobbs [View]

      Mike,

      It would be interesting and beneficial if expect could be part of the standard Mac OS X distribution.

      Also, I do understand the reality of multi-language environments, especially in coporate environments. I just wanted to plug tclhttpd as well, for those that may be working on a smaller scale, or are looking for an all-inclusive approach for a project.

      Thanks,

      Jeff