title: Calling "gnuplot" from within ghci corrupts the terminal. Is it possible to restore it?
body: <p>For example, see this session:</p>
  
  <pre><code>Prelude&gt; import System.Process
  Prelude System.Process&gt; system "gnuplot filename.gnu"
  Prelude System.Process&gt; 
  </code></pre>
  
  <p>Now, whenever I type at the terminal, nothing appears.  (Strangely, input is still being read in like normal.  You can type a command, press enter, and the results will appear.)  I have to restart ghci in order to get it working again.</p>
  
  <p>Is there some command I can call that will reset ghci without restarting it?  Alternatively, is there a better way to call gnuplot so that it doesn't interfere?</p>
  
  <p>Edit: this is ghc 7.6.2</p>