title: Pycharm : how-to launch for a standard terminal (to solve an issue with curses)
body: <p>I'm facing a weird problem.
  Using Pycharm (please do not troll about this fact), I'm trying to launch a short app that uses <code>ncurses</code> to render some things on my term.</p>
  
  <p>While I can launch the project in a simple term without any problem, launching it from Pycharm raise the following error : </p>
  
  <pre><code>File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/curses/__init__.py", line 33, in initscr
      fd=_sys.__stdout__.fileno())
  error: setupterm: could not find terminal
  
  Process finished with exit code 0 
  </code></pre>
  
  <p>As far as I can see, all is about terminal environment variables. Pycharm launch the project (Run or Debug) from its own instance of the terminal, and curses will not work with it. So, I am wondering how may I configure Pycharm to launch my project inside a regular terminal.</p>
  
  <p>The project is using Python 2.7.
  Pycharm is in EAP version 129.258 (doesn't work with other versions, including stables)</p>
  
  <p>Thanks for your attention.</p>
  
  <p>K.</p>