<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reading a single keystroke with C++ on Linux</title>
	<atom:link href="http://www.doctort.org/adam/nerd-notes/reading-single-keystroke-on-linux.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.doctort.org/adam/nerd-notes/reading-single-keystroke-on-linux.html</link>
	<description>Maker of Finest Quality Digital Things</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:58:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: adam</title>
		<link>http://www.doctort.org/adam/nerd-notes/reading-single-keystroke-on-linux.html/comment-page-1#comment-14359</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 28 Aug 2009 21:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.doctort.org/adam/?p=309#comment-14359</guid>
		<description>It is a boolean operation to remove the ICANON flag from t.c_lflag. The ~ operator performs a bitwise negation operation - effectively turning on all bits except ICANON. The &amp;= operator performs a logical AND of that with the c_lflag member and puts the result back into c_lflag.

It can be read as t.c_lflag AND EQUALS NOT ICANON.

See this Wikipedia page for more information about C and C++ operators:

http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B</description>
		<content:encoded><![CDATA[<p>It is a boolean operation to remove the ICANON flag from t.c_lflag. The ~ operator performs a bitwise negation operation &#8211; effectively turning on all bits except ICANON. The &#038;= operator performs a logical AND of that with the c_lflag member and puts the result back into c_lflag.</p>
<p>It can be read as t.c_lflag AND EQUALS NOT ICANON.</p>
<p>See this Wikipedia page for more information about C and C++ operators:</p>
<p><a href="http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B" rel="nofollow">http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant</title>
		<link>http://www.doctort.org/adam/nerd-notes/reading-single-keystroke-on-linux.html/comment-page-1#comment-14358</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.doctort.org/adam/?p=309#comment-14358</guid>
		<description>can you explain the line ?please..
t.c_lflag &amp;= ~ICANON</description>
		<content:encoded><![CDATA[<p>can you explain the line ?please..<br />
t.c_lflag &amp;= ~ICANON</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.doctort.org/adam/nerd-notes/reading-single-keystroke-on-linux.html/comment-page-1#comment-14337</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 22 Jul 2009 23:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.doctort.org/adam/?p=309#comment-14337</guid>
		<description>Ingenious! I never would have thought the problem came from the operating system for the keyboard. I would give you applause if you could hear it.</description>
		<content:encoded><![CDATA[<p>Ingenious! I never would have thought the problem came from the operating system for the keyboard. I would give you applause if you could hear it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
