From: Jim I. <ji...@ap...> - 2005-01-04 21:10:41
|
Yes, but the console is always available in Wish, it just might or might not be hidden. So for a double-clicked Wish, you could start up with no console, and have a menu item that did "console show". Should we start up with tcl_interactive of 0 & then switch it to 1 when you select this menu item? Jim On Jan 4, 2005, at 4:54 AM, Larry W. Virden wrote: > > On 03.01.2005, at 20:29, Jim Ingham wrote: > >> Not entirely sure what the real answer should be here. When >> double-clicked from the Finder, Wish will generally start up the >> console package, so you have a way to enter commands. But of course, >> you can choose to hide the console. Maybe we should trigger >> "interactive" off whether the console is hidden or not? > > Seems to me that the interactive value should be set to a true value if > the Tcl/Wish interpreter is going to be waiting on input from the user. > > If Wish upon starting is executing an application, then interactive > should > be off - the user isn't interacting directly with the command prompt, > but > with the application code. > > If however, the wish starts up and waits for the user to type > something, > whether the interpreter prompt is wrapped in a console or not, then > that is interactive mode and the interactive variable should be set. > -- > Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > > Larry W. Virden <mailto:lv...@ca...> <URL: > http://www.purl.org/NET/lvirden/> > Even if explicitly stated to the contrary, nothing in this posting > should > be construed as representing my employer's opinions. > -><- > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |