title: Using rlwrap with Node.js REPL, how could node '.break' (Ctrl-C) not be interpreted as a SIGINT by rlwrap?
body: <p>Following this discussion on how to <a href="https://stackoverflow.com/questions/18511787/is-there-a-way-to-have-node-preserve-command-line-history-between-sessions">preserve command line history between sessions</a>, I defined the following alias:</p>
  
  <pre><code>alias node='env NODE_NO_READLINE=1 rlwrap node'
  </code></pre>
  
  <p>It works perfectly for the history persistance but now, everytime I do a Ctrl-C to send node's '.break' command, rlwrap takes it too but as a SIGINT: it cleans everything and suicides (as described in <a href="http://manpages.ubuntu.com/manpages/precise/man1/rlwrap.1.html" rel="noreferrer">its man page</a>), thus forcing me to restart a node session (having to recall my var, funcs, requires etc), while I just wanted to '.break'...</p>
  
  <p>Any way to get back the classic node behaviour? </p>
  
  <ul>
  <li>Ctrl-C : breaks </li>
  <li>Ctrl-C again (or on a blank line): exit</li>
  </ul>