title: What is the End Of File/Stream keyboard combination to use with System.in.read()
body: <p>Apologize if this trivial question has already been answered, I cannot find it at SO.
  Reading lines from the IDE console with this Java trivial code (Windows 7 and Eclipse Kepler):</p>
  
  <pre><code>int v;
  try { while ((v = System.in.read()) != -1) System.out.println(v); }
  catch (IOException e) { ; }
  </code></pre>
  
  <p>How the user can make the value v equal to -1?
  (I've tried <kbd>Ctrl</kbd> + <kbd>d</kbd>-<kbd>z</kbd>-<kbd>x</kbd>-<kbd>c</kbd>-<kbd>s</kbd>-<kbd>e</kbd> and other keys without repeatable behavior, but the loop is interrupted randomly)</p>