Date: Tue, 03 Dec 1996 21:40:20 -0800 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Bill Fenner <fenner@parc.xerox.com> Cc: Michael Smith <msmith@atrad.adelaide.edu.au>, ports@freebsd.org Subject: Re: Ports INDEX browser update Message-ID: <8951.849678020@time.cdrom.com> In-Reply-To: Your message of "Tue, 03 Dec 1996 20:41:14 PST." <96Dec3.204125pst.177711@crevenia.parc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> For non-interactive ports, it'd be much nicer to just create a text > widget into which you put the output of the command you spawned > asyncrhonously. (This is actually really easy, code upon request). > However, I've never tried to do an interactive shell this way. It also occurs to me that if you're really masoch^H^H^H^H^Hinterested in odd solutions, you can always build and use the two widgets from "emu" in our ports collection. It was built specifically for this purpose, with "xterm" equivalent functionality derived from several cooperating widgets. I don't know how hard it would be to splice into Tk, but it was definitely engineered a lot more with this kind of application in mind, and all of the widgets comprising emu are stand-alone so you should be able to encapsulate those you need fairly easily. In fact, it would not be too hard to use just the termCanvas widget to talk to the existing Tk text widget, though you'd have to write some glue code. If you're genuinely interested, I'd be willing to help. Talking to another "canvas" was always one of the little projects which I never got time to do. Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8951.849678020>