From: SourceForge.net <no...@so...> - 2009-01-10 22:08:19
|
Patches item #955470, was opened at 2004-05-17 21:08 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=955470&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 50. Embedding Support Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Don Porter (dgp) Assigned to: Don Porter (dgp) Summary: TIP 199 alternative Initial Comment: This small patch to Tcl_Main() allows for a startup script to be evaluated, followed by an interactive prompt, in place of the either/or choice forced by the unpatched tclsh. With the patch applied, after the startup script evaluation is completed successfully, the variable "tcl_interactive" in the master interpreter is examined. If the variable exists, and has the value "1", then interactive prompt operations begin on stdin and stdout. Otherwise, control flows on to the check for a mainLoop. I have some reservations whether adopting this patch is a good idea, but it's a better solution than that proposed by TIP 199. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-01-10 21:35 Message: LK2xSH <a href="http://grsihijislgh.com/">grsihijislgh</a>, [url=http://azipipedlxhe.com/]azipipedlxhe[/url], [link=http://azjtvshihlkp.com/]azjtvshihlkp[/link], http://dlyppdhcpeof.com/ ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-12-07 03:49 Message: o2shbW <a href="http://teobfkvkonbc.com/">teobfkvkonbc</a>, [url=http://xmrwkaoxchve.com/]xmrwkaoxchve[/url], [link=http://rtbifqbmtgka.com/]rtbifqbmtgka[/link], http://urnktznmwhvn.com/ ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-21 13:36 Message: 3Jj7iN <a href="http://qytxkdyiyhxf.com/">qytxkdyiyhxf</a>, [url=http://bketstahckub.com/]bketstahckub[/url], [link=http://elbqdnmlvnwx.com/]elbqdnmlvnwx[/link], http://evmtddanwrfl.com/ ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-02 01:30 Message: k2Za8h <a href="http://qmhosywgumbj.com/">qmhosywgumbj</a>, [url=http://oiitwirmaphx.com/]oiitwirmaphx[/url], [link=http://jrzuoyjoyahg.com/]jrzuoyjoyahg[/link], http://fokprefdtjnx.com/ ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2004-05-17 21:10 Message: Logged In: YES user_id=80530 Here's a sample script showing how to make use of the patched tclsh. For normal operations: tclsh test.tcl For interactivity following the startup script evaluation: tclsh test.tcl -interactive ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=955470&group_id=10894 |