<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>记忆在这里化作永恒 &#187; stty</title>
	<atom:link href="http://www.onlyring.net/tag/stty/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onlyring.net</link>
	<description>记录工作，记录生活，记录一切值得留下的东西...</description>
	<lastBuildDate>Tue, 10 May 2011 04:21:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Some examples of stty usage</title>
		<link>http://www.onlyring.net/2009/03/09/linux/someexamplesofsttyusage.html</link>
		<comments>http://www.onlyring.net/2009/03/09/linux/someexamplesofsttyusage.html#comments</comments>
		<pubDate>Mon, 09 Mar 2009 12:28:10 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[stty]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/2009/03/09/linux/someexamplesofsttyusage.html</guid>
		<description><![CDATA[<p>1.Typing  invisiable password</p>

?View Code TEXT1
2
3
4
5
echo &#34;Enter your password: \c&#34;
oldstty=`stty -g`
stty -echo intr ^-
read password
stty $oldstty

<p>2.Backspace setting</p>

?View Code TEXT1
stty erase ^h

<p>3.Colunm setting</p>

?View Code TEXT1
stty column 100

<p>4.List current stty setting</p>

?View Code TEXT1
2
3
stty -a (all setting)
stty    (undefault setting)
stty -g (RAW mode)

<p>You can get the help files regarding stty usage in the folllowing ways:</p>

?View Code [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2009/03/09/linux/someexamplesofsttyusage.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

