Skip to content
Tcl Source Code Artifact [0e9d185e88]
Login

Artifact [0e9d185e88]

Artifact 0e9d185e8828fa4452fc525a34aafa5f224acc12:

Ticket change [0e9d185e88] - Ticket [1556342fffffffff|1556342fff] <i>set stdin/stdout/stderr with interp transfer/share</i> status still Open with 4 other changes by nobody on 2006-09-13 08:08:32.
D 2006-09-13T08:08:32
J icomment Logged\sIn:\sNO\s\n\nActually,\sI\sdidn't\srealize\squite\show\sbad\sit\swas,\sI\sshould\shave\sfigured\sit\sout,\s\nthough,\ssince\sthe\sGet/SetStdChannel\sroutines\sdon't\stake\san\sinterpreter\s\nargument.\s\sI\sdidn't\srealize\sit\swas\sas\sbad\sas\shaving\sthe\sGetChannelNames\sand\s\nGetChannel\scalls\sactually\shardcoding\sin\sthe\sstdin/out/err\snames,\sthough.\n\nWhat's\sneeded\sis\sto\sget\saway\sfrom\sthe\sidea\sthat\sthe\s"channel\sname"\sis\sfixed\s\nand\simmutable\sand\sis\swhat\sshould\sbe\sregistered\sin\sthe\schannel\sname\shash\s\ntable\sin\seach\sinterpreter.\s\sLeaving\sthe\scurrent\sRegisterChannel\sto\spick\sthe\s\nname\sout\sof\sthe\schannel,\sand\sadding\sa\snew\sone\sto\sallow\sregistering\sit\sunder\sa\s\nsupplied\sname,\sas\swell\sas\srequiring\sa\sname\sto\sunregister\sit,\swould\sseem\sto\s\nme\sto\sbe\smostly\sall\sthat\swould\sbe\sneeded.\s\sFix\sthe\sfew\splaces\sthat\sunregister\s\na\schannel\s(i.e.\sclose)\sto\ssupply\sthe\schannel\sname\sinstead\sof\shaving\sit\sbe\s\nimplicit,\sand\syou're\sdone.\n\nGet/SetStdChannel\swould\sstill\ssupply\sthe\sdefaults\sfor\sa\snew\sinterpreter,\sbut\s\nwouldn't\shave\sthe\sweird\seffects\sit\snow\shas\sif\sthere\sis\sa\sslave\sinterpreter\s\nalready\sinitialized\swhen\syou\schange\sthe\sstandard\schannels\sand\sit\sdoesn't\shave\s\nthe\s"real"\snew\schannel\salready\sregistered.\n\[email protected]\n
J login nobody
J mimetype text/plain
J username nobody
K 1556342fffffffffffffffffffffffffffffffff
U nobody
Z 59fa3737bab8dcdd1c20cf8bba125a74