Artifact [ba5cd78e2f]
Not logged in

Artifact ba5cd78e2f077b84ec8881dfe18131a77458df46:

Ticket change [ba5cd78e2f] - New ticket [136aebbd7fe802a1|136aebbd7f] <i>STDIN can&#39;t be used to capture console input</i>. by anonymous 2020-06-30 22:40:34.
D 2020-06-30T22:40:34.264
J foundin Eppur\ssi\smuove\s(downloaded\s3\sdays\sago)
J icomment In\s*nix\s&\swindows,\sI\scan\scapture\sconsole\sinput\susing:\r\nset\sinput\s[gets\sstdin]\r\n\r\nI\sam\strying\sto\sdevelop\sa\sscript\sfor\suse\son\sANDROIDWISH\s(to\shelp\sa\sblind\sperson\suse\sthe\sbus\ssystem).\sHowever,\sANDROIDWISH\s(and\sUnDroid)\sfail:\r\n\r\nset\sinput\s[gets\sstdin]\s-->\s""\s(immediate\sreply,\sno\sdelay,\sempty\sstring\sreply)\r\n\r\nThe\sFCONFIGURE\ssettings\sare\sas\sfollows\s(I've\smodified\sthem\sin\sall\spossible\scombinations\sbut\snothing\shelps):\r\n\r\nWindows\slaptop\s(using\sTCL\s8.6.8):\r\n%\sfconfigure\sstdin\r\n-blocking\s1\s-buffering\sline\s-buffersize\s4096\s-encoding\sunicode\s-eofchar\s(0x1A)\s-translation\sauto\r\n\r\nAndroid\s8.0\s(live/smart\sdevice)\r\nfconfigure\sstdin\r\n-blocking\s1\s-buffering\snone\s-buffersize\s4096\s-encoding\sutf-8\s-eofchar\s{}\s-translation\slf\r\n\r\nUndroid:\r\nfconfigure\sstdin\r\n-blocking\s1\s-buffering\sline\s-buffersize\s4096\s-encoding\sunicode\s-eofchar\s{}\s-translation\slf\r\n\r\nThe\sobvious\sdifferences\sare:\s(1)\sEOFCHAR,\s(2)\sBUFFERING,\s&\s(3)\sTRANSLATION.\sAs\sI\ssaid\sbefore,\sI've\saltered\sthe\ssettings\s(one\sat\sa\stime,\sand\sall\scombinations)\sbut\snothing\sworked.\r\n\r\nI\shave\sSCOURED\sthe\sInternet\sand\sfound\sno\ssetting\sor\swork-around\sfor\sthis.\sI\s*MUST*\sbe\sable\sto\saccept\skeyboard\sinput\sto\sthe\sconsole\swindow\s(to\sselect\sa\smenu\soption,\sa\snumber\sfrom\s1\sto\s30).\r\n\r\nHELP!!
J login anonymous
J mimetype text/x-markdown
J private_contact a3cb334138c844e6f68b6e3a285a8bcf8a60b325
J severity Severe
J status Open
J title STDIN\scan't\sbe\sused\sto\scapture\sconsole\sinput
J type Incident
K 136aebbd7fe802a14ca5094189ff2ebd86e6e7e8
U anonymous
Z 34e4eeffd9f76382cc56181244701dfc