title: Clear terminal window in Node.js readline shell
body: <p>I have a simple readline shell written in Coffeescript:</p>
  
  <pre class="lang-coffee prettyprint-override"><code>rl = require 'readline'
  cli = rl.createInterface process.stdin, process.stdout, null
  cli.setPrompt "hello&gt; "
  
  cli.on 'line', (line) -&gt;
    console.log line
    cli.prompt()
  
  cli.prompt()
  </code></pre>
  
  <p>Running this displays a prompt:</p>
  
  <pre><code>$ coffee cli.coffee 
  hello&gt; 
  </code></pre>
  
  <p>I would like to be able to hit <code>Ctrl-L</code> to clear the screen.  Is this possible?</p>
  
  <p>I have also noticed that I cannot hit <code>Ctrl-L</code> in either the <strong>node</strong> or <strong>coffee</strong> REPLs either.</p>
  
  <p>I am running on Ubuntu 11.04.</p>