Yes, it should.
Here are the problems that come with platform independence:
- file pathnames are different; on Unix dirs are separated by slashes,
on Windoze they are separated by slashes or backslashes, and on Mac
dirs are separated by ":" or "::"
- the menu bar on Mac is always located at the top of the display,
whereas
on Windows/Unix the menu bar is attached to the window it is related
to
- Mac only has a one-button mouse; different bindings need to be set up
to handle right button clicks and double clicks
- the order in which mouse / focus in / focus out events occur might
be different on the Mac
- there are a few quirks with the way the wm command works on different
platforms; I have noticed a few bugs on the Windows implementation of
wm
with Tcl/Tk 8.2 for example
As it is right now vtcl 1.2.1 will probably not load on mac without
errors.
To make paths platform independent there is a "file join" command to
join
directories; it is not used in the changes I made for vtcl 1.2.1. By
making these changes vtcl 1.2.1 should work on Mac.
vtcl 1.2.0 should be working on Mac, but I haven't been able to verify
this.
Christian Gavin
Eric Bresie wrote:
>
> I am confused....shouldn't VTcl work on Mac? It is written in Tcl...or are
> there some platform dependent parts that make this not possible? I seem to
> recall there being some Platform/OS sections in VTcl...could these possibly
> be the cause? Could they perhaps be removed an fix the problem?
>
> Sorry don't have access to my machine with Vtcl, so I can't verify this
> right now.
>
> Could this perhaps be a flaw in the implementation of TCL/TK on the Mac
> platform?
>
> Eric Bresie
> [EMAIL PROTECTED]
>
> > From: On Behalf Of cgavin
> > Sent: Sunday, May 14, 2000 12:19 AM
> >
> > I would be interested to know if there is a strong interest in
> > maintaining a Mac version of Visual Tcl.
> >
> > I have spent a moderate amount of time to maintain Windows
> > compatibility for such topics as long filename support and
> > differences in the window manager commands. There is no question of
> > dropping Windows support of course, but I don't know how large the
> > Tcl/Tk
> > programmer community is on Macintosh.
> >
> > I have tried version vTcl 1.2.1 on an IMac system 8.6 with Tcl/Tk 8.3
> > and
> > visual Tcl just didn't start. Worse, it didn't display any error
> > message on the command console and Tcl/Tk quit without further notice.
> > I didn't have more time to figure out what was happening.
> >
> > Since I don't have tons of opportunities of using an IMac I was
> > wondering
> > if someone would be willing to investigate the problems with 1.2.1 on
> > Macintosh and send me patches. Also, there would be a need for an
> > installer
> > on Mac, because I don't know if there is a free tool to untar/gz files
> > (StuffIt expander requires a Deluxe version for tar/gz files).
> >
> > Any comments welcome
> >
> > Christian Gavin ([EMAIL PROTECTED])
>
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user