.
D 2000-10-26T00:52:15
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1127\sRFE\nVersion:\s8.0.4\nSubmitDate:\s'1999-01-29'\nLastModified:\s'2000-05-10'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\swelch\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s5.6\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-05-10'\n\n\nName:\n\nKrzysztof\sKozminski\n\n\nExtensions:\n\nToo\smany\sto\slist\n\n\nDesiredBehavior:\n\nI\sneed\sto\sforce\sTcl\sto\sbelieve\sthat\sit\sis\sbeing\srun\sinteractively,\seven\sthough\sit\sis\sreally\sbeing\srun\sfrom\sa\spipe\sspawned\sby\sanother\sprogram.\s\sThis\sother\sprogram\s(a\sproduct\sof\sa\smajor\sCAD\ssoftware\svendor)\shas\sreally\sclunky\scommunication\sfacility\s(no\sscriptable\ssockets,\sjust\spipes),\sand\sthe\sTcl\sprompt\sis\sthe\seasiest\sway\sto\slet\sthe\sother\sprogram\sknow\sthat\smy\sinterpreter\sis\sready\sto\saccept\scommands.\n\n\nPatch:\n\ndiff\s--ignore-matching-lines=$Id:\s--ignore-matching-lines=$Source:\s--ignore-matching-lines=$Header:\s--ignore-matching-lines=$Date:\s--ignore-matching-lines=$Author:\s--ignore-matching-lines=$Revision:\s-c\s-r1.1\sproWrapTclMain.c\n\n***\sproWrapTclMain.c\s\s\s\s1999/01/26\s07:22:53\s1.1\n\n---\sproWrapTclMain.c\s\s\s\s1999/01/26\s07:29:24\n\n***************\n\n***\s196,201\s****\n\n---\s196,203\s----\n\n\s\s\s\sTcl_DeleteInterp(interp);\n\n\s\s\s\sTcl_Exit(1);\n\n\s\s\s\s\s\s}\n\n+\s\n\n+\s\s\s\s\stty\s=\sstrcmp(Tcl_GetVar(interp,\s"tcl_interactive",\sTCL_GLOBAL_ONLY),\s"0");\n\n\n\s\s\s\s\s\s/*\n\n\s\s\s\s\s\s\s*\sIf\sa\sscript\sfile\swas\sspecified\sthen\sjust\ssource\sthat\sfile\n\ndiff\s--ignore-matching-lines=$Id:\s--ignore-matching-lines=$Source:\s--ignore-matching-lines=$Header:\s--ignore-matching-lines=$Date:\s--ignore-matching-lines=$Author:\s--ignore-matching-lines=$Revision:\s-c\s-r1.1\sproWrapTkMain.c\n\n***\sproWrapTkMain.c\s1999/01/25\s21:23:44\s1.1\n\n---\sproWrapTkMain.c\s1999/01/26\s21:07:40\n\n***************\n\n***\s210,218\s****\n\n---\s210,221\s----\n\n\n\s\s\s\s\s\sif\s((*appInitProc)(interp)\s!=\sTCL_OK)\s{\n\n\s\s\s\sTkpDisplayWarning(interp->result,\s"Application\sinitialization\sfailed");\n\n+\s\s\sTcl_Eval(interp,\s"puts\sstderr\s$errorInfo");\n\n\s\s\s\sTcl_DeleteInterp(interp);\n\n\s\s\s\sTcl_Exit(1);\n\n\s\s\s\s\s\s}\n\n+\s\n\n+\s\s\s\s\stty\s=\sstrcmp(Tcl_GetVar(interp,\s"tcl_interactive",\sTCL_GLOBAL_ONLY),\s"0");\n\n\n\s\s\s\s\s\s/*\n\n\s\s\s\s\s\s\s*\sInvoke\sthe\sscript\sspecified\son\sthe\scommand\sline,\sif\sany.\n\n\nPatchFiles:\n\nproWrapTclMain.c\n\nproWrapTkMain.c\n\n\n\n\nAll\sthat\sthis\spatch\sdoes\sis\sto\senable\suser's\sappInitProc\sto\sreset\sthe\stcl_interactive\svariable\sto\s1.\n\nSeems\sto\swork,\salthough\sI\swas\snot\sat\sall\ssure\swhether\schanging\sthis\svariable\safter\sPro_WrapInit(interp)\swas\sa\shealthy\sidea.\n\n--\nAll\sthis\scan\sbe\sdone\sat\sthe\stcl\slevel\sby\ssetting\stcl_interactive\nand\screating\sa\ssimulated\sevent\sloop\shandling.\s\n--\s05/10/2000\shobbs\n\n
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Need\sto\sforce\sTcl\sprompt\seven\sif\snot\srun\sfrom\sa\stty.
J type Bug
K 218019ffffffffffffffffffffffffffffffffff
U nobody
Z a0093d1134efc4cc9d99278e10f30a6c