Skip to content
Tcl Source Code Artifact [5a13703671]
Login

Artifact [5a13703671]

Artifact 5a137036710ba20967e6ae040c2e06e7db336493:

Ticket change [5a13703671] - New ticket [219408ffffffffff|219408ffff] <i>fileevent on stdin not working</i>. by nobody on 2000-10-26 05:12:33.
D 2000-10-26T05:12:33
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s6334\sBug\nVersion:\s8.3.2\nSubmitDate:\s'2000-10-02'\nLastModified:\s'2000-10-25'\nSeverity:\sSER\nStatus:\sUnAssn\nSubmitter:\stechsupp\nOS:\sAIX\nMachine:\s2\sx\s64\sbit\sCPUs\swith\s200.00\sMHz\seach\s(Arch:\sPower\sPC/630,Power\sP\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nMichael\sBowen\n\nExtensions:\nNone,\swell\swish\s8.3.2\sif\sthat\scounts...\n\nCustomShell:\nNone\n\nReproducibleScript:\n#!/usr/bin/wish\n#\sJust\sexecute\sthis\sscript,\s\sthen\senter\ssome\stext\sand\shit\senter..\nproc\shandleIn\s{}\s{\n\s\sset\sf\s[gets\sstdin]\n\s\sputs\s"got\s\\"$f\\"";\n\s\sif\s{[string\scompare\s$f\s"Q"]==0}\s{\n\s\s\s\sexit;\n\s\s}\n}\n\nfileevent\sstdin\sreadable\shandleIn;\nfconfigure\sstdin\s-blocking\s0\s-buffering\sline;\n\nputs\s[info\stclversion]\n\nObservedBehavior:\nThe\s\shandleIn\sproc\sis\snever\scalled..\s\sIt\sworks\swith\searlier\sversion\sof\stcl,\sand\salso\sworks\swith\s8.3.2\sunder\slinux,\sbut\snot\son\saix\s4.3.2.\n\nDesiredBehavior:\nI\swould\sexpect\sthe\shandleIn\sproc\sto\sbe\scalled,\sand\sthe\stext\syou\senetered\sto\sbe\srepeated.\s\sWhen\syou\senter\sa\s"Q"\nthe\sscript\sshould\sterminate.\n\n\n\n
J foundin obsolete:\s8.3.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title fileevent\son\sstdin\snot\sworking
J type Bug
K 219408ffffffffffffffffffffffffffffffffff
U nobody
Z 7655c31bbd393ce193bf46caed02487d