Re: [tcljava-dev] TCL/Java and integration into a gui based shell
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2001-04-20 21:37:42
|
On Fri, 20 Apr 2001, David L. Smith-Uchida wrote: > The ideas are fairly half-baked at the moment, but some of the things I'm > working towards are: > > Command history in a separate window That should be easy, there is a histroy command that should make that easy. > Cross platform compatibility. I want to be able to run the same shell on > Windows, Linux, Solaris, Mac OS, whatever and have a basic command set that > I can rely on. Mac OS might be a little tricky. Mac OS X is going to work, but Mac OS is a hard environment to develop in. > I've run into some problems getting the Tcl/Java code integrated into a GUI > environment. I've been able to hack together fixes but I don't have a deep > understanding of the Tcl/Java code yet so I'd like to discuss what I'm > seeing as deficiencies and see if others agree or if there are some points > I'm just missing. > > I'm currently working with jacl1.2.6 - is this the right code to be working > with? You really should be using the 1.3 version in the CVS. ... > 2) TclEvents do not have a mechanism for polling or notification - there is > a sync() method which will block execution but no way to ask "is it done > yet" or to be notified when it is done (I think) There is a notification system, you just subclass TclEvent. Perhaps we just need better examples to explain this. Care to help create some examples for the docs? > 3) TclIO appears to be half finished. One of the problems that I found was > that TclIO always returned a Channel that was attached to System.out for > stdout. It also bypasses the interpreter's channel table when asked for > stdin/out/err which makes it impossible to substitute a different channel > for any of those three. Also, the Channel interface and classes are not > public so once again you have to add things to the tcl.lang package to add > new types of Channels. Yup, they are half based. There is some work going on to fully implement Tcl channels. Perhaps you would be interested in helping with that. Check that mailing list archives for more info. Mo DeJong Red Hat Inc |