<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for sttyecho</title><link>http://disqus.com/people/08d0494f1bc0b2511c8645004cbd5d14/</link><description></description><language>en</language><lastBuildDate>Wed, 14 Dec 2005 03:43:39 -0000</lastBuildDate><item><title>Re: Hide password entry in Bourne/bash shell script | Bourne shell scripting | Tech-Recipes</title><link>http://tech-recipes.disqus.com/hide_password_entry_in_bournebash_shell_script_bourne_shell_scripting_tech_recipes/#comment-2767253</link><description>I also add the protection for the interruptions:&lt;br&gt;&lt;br&gt;trap "stty echo ; exit" 1 2 15&lt;br&gt;stty -echo&lt;br&gt;read password&lt;br&gt;stty echo&lt;br&gt;trap "" 1 2 15&lt;br&gt;&lt;br&gt;If the user press Ctrl+C in the password prompt, the normal stty mode will be restored</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sttyecho</dc:creator><pubDate>Wed, 14 Dec 2005 03:43:39 -0000</pubDate></item></channel></rss>