On Tue, 7 Oct 1997, Jim Ravan wrote:
> I downloaded vtcl to my Mac last night, but upon sourcing vtcl.tcl, wish
> crashed. The web page mentions a Mac-specific wish for use with vtcl,
> but I could not find it. Can anyone help?
>
> I'm running Tcl/Tk 8.0.
I last tested Visual Tcl on a Macintosh in December of '96. What I found
at the time was that Tcl/Tk did not support "double-click" launching of
.tcl applications. That is, I could not associate any arbitrary file
type (type and creator codes) with the Wish shell to launch apps. The
guys at Sun informed me that this was a complex issue to resolve and that
the only workaround was to create a custom "Wish" shell that had a
resource fork containing the tcl script or a pointer to the script.
Needless to say, this is/was very ugly since a) it was a real pain to
create such a shell and b) you had to make one for each architecture
type (ppc, 68k, etc).
I actually went through the pains of doing this for 1.02 and 1.03 but
later dropped it when I no longer had access to a Macintosh. I'm not
sure if this is still a limitation in the latest Tk8.x version on
Mac (I was using a beta Tk8 at the time).
Can you describe the manner of death for the Wish shell when you
sourced the vt.tcl script? Were there any tcl errors or was it more
along the lines of an app bomb?
-stewart-
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).