<i>channel reads prematurely from stdin on Windows</i> status still Open with 3 other changes
by
.
D 2025-11-27T06:55:37.946
J icomment >\sIn\sline\smode,\sI\snoticed\sthat\sthe\sStdinCallback\scallback\sgets\scalled\simmediately\swhen\sI\spress\sthe\sfirst\skey.\sThen\sthe\sprogram\ssits\sin\sread()\suntil\senter\sis\spressed.\r\n\r\nThis\sindeed\swould\sbe\san\sissue\sthat\sI'm\snot\ssure\scan\sbe\sfixed.\sAt\sthe\schannel\sdriver\slevel,\sthere\sis\sno\sknowledge\sof\scharacters\svs\slines,\sencoding\setc.\sor\swhether\sthe\sapplication\sis\sdoing\scharacter-by-character\sreads\sor\sgets.\sThat's\sall\swithin\sthe\score\schannel\sinfrastructure\sso\sthe\sdriver\sgenerates\snotifications\swhenever\sthere\sis\sdata\savailable,\sirrespective\sof\swhether\sit\sis\sa\scomplete\sline\sor\snot.\r\n\r\n>\sI\sguess\sthe\sway\sforward\sthen\sis\sto\sclose\sthis\sticket,\sand\sfor\sPython\sto\srethink\sits\sAPI\sfor\sinterfacing\swith\sTcl.\r\n\r\nProbably.\sIf\sthat\sdoes\snot\swork\sout,\swe\scan\sexplore\sfurther\son\sthis\spath.
J login apnadkarni
J mimetype text/x-markdown
K 1d0618000674abdf701021d69eaa858cbccf14a4
U apnadkarni
Z ca84777afecff3cddbdd2536ceba9692