<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - How to flush STDIN in TCL? - Comments</title>
 <link>http://community.activestate.com/forum-topic/how-flush-stdin-tcl</link>
 <description>Comments for &quot;How to flush STDIN in TCL?&quot;</description>
 <language>en</language>
<item>
 <title>Thanks for the reply ,
I</title>
 <link>http://community.activestate.com/forum-topic/how-flush-stdin-tcl#comment-4334</link>
 <description>&lt;p&gt;Thanks for the reply ,&lt;br /&gt;
I have tried no buffering option with the fconfigure, but it didn&#039;t work.&lt;br /&gt;
I tried one more solution i.e. non blocking mode with fconfigure. it will read the characters in the buffer when it returns null, I again reconfigured the fconfigure to blocking mode, and it is working.&lt;/p&gt;
</description>
 <pubDate>Tue, 26 Feb 2008 19:50:24 -0800</pubDate>
 <dc:creator>krishnan_tom</dc:creator>
 <guid isPermaLink="false">comment 4334 at http://community.activestate.com</guid>
</item>
<item>
 <title>How to flush STDIN in TCL?</title>
 <link>http://community.activestate.com/forum-topic/how-flush-stdin-tcl#comment-4325</link>
 <description>&lt;p&gt;stdin in controlled more by the pushing process, and that is what should flush it.  You can fconfigure stdin to have no buffering, but you otherwise need something like Expect to have better raw control over std channels (if they are ttys).&lt;/p&gt;
</description>
 <pubDate>Tue, 26 Feb 2008 09:58:26 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 4325 at http://community.activestate.com</guid>
</item>
<item>
 <title>How to flush STDIN in TCL?</title>
 <link>http://community.activestate.com/forum-topic/how-flush-stdin-tcl</link>
 <description>&lt;p&gt;hello,&lt;br /&gt;
I would like to know the tcl command to flush STDIN buffer.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/how-flush-stdin-tcl#comments</comments>
 <category domain="http://community.activestate.com/forums/activetcl-support-0">ActiveTcl support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Mon, 25 Feb 2008 20:07:37 -0800</pubDate>
 <dc:creator>krishnan_tom</dc:creator>
 <guid isPermaLink="false">1970 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
