<div dir="ltr">This problem has frustrated me for hours.<div><br><div>In the requirement of HW5,</div></div><div>
                
        
        
                <div class="" title="Page 1">
                        <div class="">
                                <div class="">
                                        <pre><span style="font-size:10pt;font-family:Courier">echo &quot;Kookaburra has left the tree&quot; | aed -e | aed -d
</span></pre><pre><font face="arial"><span style="white-space:normal">Then we want user to input passphrase, but scanf will read </span></font><span style="font-family:Courier;font-size:10pt">&quot;Kookaburra has left the tree&quot; </span><span style="font-size:10pt;white-space:normal"><font face="arial">first, instead of waiting for user&#39;s passphrase.</font></span></pre>
<pre><span style="font-size:10pt;white-space:normal"><font face="arial">(When use pipe, isatty might be a way)</font></span></pre><pre><span style="font-size:10pt;white-space:normal"><font face="arial"><br></font></span></pre>
<pre><span style="font-size:10pt;white-space:normal"><font face="arial">Thank you all, enjoy the holiday.</font></span></pre>
                                </div>
                        </div>
                </div></div></div>