home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
- From: karl@NeoSoft.com (Karl Lehenbauer)
- Subject: Re: Tcl wish vs TclX wish con't
- Organization: NeoSoft Communications Services -- (713) 684-5900
- Date: Fri, 14 Aug 1992 12:43:15 GMT
- Message-ID: <1992Aug14.124315.22391@NeoSoft.com>
- References: <1992Aug6.165431.185@twg.com> <1992Aug07.035909.14515@NeoSoft.com> <1992Aug11.090136.1497@cc-mac.nbn.com>
- Lines: 34
-
- In article <1992Aug11.090136.1497@cc-mac.nbn.com> dv@cc-mac.nbn.com (David Vezie) writes:
- >I just grabbed those patches, and installed them. But there's a
- >more basic problem, I think, with TclX and TK. tk.tcl (which is
- >what both wish.tcl and wishx.tcl source) sets up auto_path, which
- >the "undefined" in init.tcl knows how to use, but TclInit.tcl
- >does not. This means that the routines necessary for tk (like
- >the button control routines) are not available unless you source
- >init.tcl (via wish.tcl).
-
- >Is there something else I'm missing? Or could TclInit.tcl be fixed
- >to use auto_path?
-
- I finally tracked this all down.
-
- In Extended Tcl, as long as a directory with either Ouster's tclIndex or our
- *.tlib/*.tndx files is in the TCLPATH variable, stuff in that directory will
- get autoloaded as expected.
-
- Extended Tcl *does* support John Ousterhout's autoload mechanism in
- that it will load his tclIndex files and pull in the referenced
- files automatically.
-
- However, we don't support the auto_path variable itself. This is a problem
- for the widget demo, which basically 'lappend's auto_path with the pathname
- of the demo directory.
-
- The answer, I think, is for us to support auto_path. For now, the easiest
- answer is to change the TCLPATH in the Extended Tcl default file to
- include the demo directory.
-
- --
- -- Email info@NeoSoft.com for info on getting interactive Internet access.
- You will now awaken feeling relaxed and refreshed, remembering everything
- you've read except the details of the Omega contingency plan.
-