title: How do I send EOF to Cygwin console?
body: <p>In cygwin console, I want to send EOF by keyboard.
  I tried Ctrl + D, Ctrl + Z, and others, then they went wrong.</p>
  
  <p>Example)</p>
  
  <pre><code>$ php
  &lt;?php
  echo "test\n";
  { Push Ctrl + D, then nothing happens. }
  
  $ php
  &lt;?php
  echo "test\n";
  { Push Ctrl + Z, then "Stopped" appears and echo above doesn't invoked. }
  </code></pre>
  
  <p>Is there a way to send EOF to Cygwin console?</p>