.
D 2001-06-29T22:51:06
J assignee nobody
J cmimetype text/plain
J comment \nThe\sattached\sfile,\smywish.c,\screates\sa\scustomized\n"wish"\sprogram\son\sUnix\sthat\smakes\suse\sof\sthe\sTk\nconsole\sdeveloped\sfor\sWindows.\s\sThe\sroutines\sthat\nmake\sthis\spossible,\sTk_InitConsoleChannels()\sand\nTk_CreateConsoleWindow()\sare\spublic.\n\nCreate\sa\sprogram\sfrom\sthe\sattached\sfile\swith\sgcc\nlike\sso:\n\ngcc\s-o\smywish\smywish.cc\s-ltk8.3\s-ltcl8.3\n\nThen\sstart\s./mywish\sand\sup\spops\sthe\sconsole.\nSo\sfar\sso\sgood.\n\nEnter\sin\sthe\sconsole:\n\n%\sexec\sxeyes\s&;#\sor\swhatever\sis\savailable\nforked\sprocess\scouldn't\sset\sup\sinput/output:\sbad\sfile\nnumber\n%\sset\serrorCode\nPOSIX\sEBADF\s{bad\sfile\snumber}\n\nI\stracked\sdown\sthe\sproblem\sin\sunix/tclUnixPipe.c\nand\swill\sattach\sa\sone-liner\spatch\sthat\sfixes\sit.\n
J foundin obsolete:\s8.3.3
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 27.\sChannel\sTypes
J title Tk\sconsole\sbreaks\s[exec]
J type Bug
K 437489ffffffffffffffffffffffffffffffffff
U dgp
Z c29e3f27c840bd0c55a6413811557dc9