Tycho under Microsoft Windows

External Windows Tcl places to go

  • Tycho distribution at UC Berkeley
  • Tcl/Tk on Windows FAQ
  • Tcl and Itcl Internet Resources
  • Tycho/Windows bugs

  • The only testing of this port was done under NT4.0, so Windows3.1 and Windows95 users may have other problems.
  • Tycho0.2.1 does not handle spaces in pathnames very well. Tycho will work best if the distribution is installed in a directory that has a pathname that contains no spaces.
  • It would be nice if the installation was such that a Windows user could just mouse on a Tycho icon and then Tycho would come up. $TYCHO/doc/img/tycho32.ico is a 32 pixel wide icon that can be used under Windows with a shortcut.
  • Don't use Itcl2.1 under Windows, it does not support removing files and making directories. If you use Itcl2.1, then Tycho execs rm or mkdir, which fail under Windows. Instead of using Itcl2.1 under Windows, use the Itcl2.2 binaries.
  • Because of differences in the end-of-line characters between Unix and Windows, it appears that Tcl scripts edited with the NT Notebook program cannot be sourced with Itcl2.2.
  • If you run nmake from within the Tycho Monitor, then any submakes will bring up new windows, and the nmake output will be lost.
  • Installing Tycho Under NT

    1. The Tycho home page at http://ptolemy.eecs.berkeley.edu/tycho/Tycho.html has a link to the downloads page that contains Tycho sources and Itcl binaries for Windows.
    2. Install Itcl by running itcl22.exe.
    3. Because of a bug in Itcl2.2, the path leading up to the tycho.0.2.1/lib/windows/tycho-windows.itk script cannot have any spaces in it. If you installed Tycho in c:\Program Files, then you must move either c:\Program Files\tycho0.2.1\ or the tycho0.2.1\lib\windows\tycho-window.itk script to a directory that has no spaces in the pathname leading up to it. It is best if you move the entire Tycho distribution to c:\tycho0.2.1.
    4. There are two ways to start up Tycho:
      $TYCHO/bin/tycho.bat
      A DOS batch file which can can be used as
    5. tycho
    6. tycho filename
    7. $TYCHO/lib/windows/tycho-windows.itk
      An itk file that can be started up by itkwish if your system is setup up properly.
      We discuss the details below.
    8. Tycho refers to the directory where the Tycho distribution is with the environment variable $TYCHO. In Unix, under csh, you would do something like setenv TYCHO /usr/local/tycho.

      You can either hardwire this variable by setting it in the tycho-windows or tycho.bat start up scripts, or under NT, you can set the TYCHO environment variable by clicking on Start, then Settings, then Control Panel and finally the System icon. In the System Properties window that comes up, select Environment. There, you can add TYCHO as a User Variable. Incidentally, this is where you set your path.

      If your Tycho distribution is at c:\tycho0.2.1, then you need not set the TYCHO environment variable, it will be set for you, by the tycho-windows script. If your distribution is elsewhere, then you must either set the TYCHO variable, or edit tycho0.2.1/lib/windows/tycho-windows.

    9. tycho0.2.1/lib/windows/tycho-windows and tycho.bat first check the TYCHO variable, and if TYCHO is not set, then the script expects that the Tycho distribution will be at c:\tycho0.2.1.
    10. Itcl2.2 associates files with the itk extension with the itkwish binary. Apparently, the itk files must have Unix style end-of-line characters.

      To start Tycho, click on the tycho0.2.1/lib/windows/tycho-windows.itk script or add %tycho%\bin to your path and run tycho from the DOS prompt.

    11. Tycho includes HTML documentation of the Itcl classes that make up Tycho. In Tycho0.2.1, these files are shipped with the Tycho distribution.

    Up to: Tycho Introduction - Previous: Release Notes - Next: Troubleshooting Tycho - Tycho Home Page


    Copyright © 1996-1998, The Regents of the University of California. All rights reserved.
    Last updated: 06/07/98, comments to: tycho@eecs.berkeley.edu