tags:

views:

736

answers:

1

I'm currently writing some ncurses code and the native Eclipse (3.2.2) console can't display its graphics. I'd instead like to run the program through xterm. What I want is to be able to start xterm and run from there. I'd prefer to not get involved with any plugins or that jazz. Just something simple.

EDIT

So I have the answer and it was pretty simple... Run -> External Tools -> External Tools -> New Launch Config... Then select location of your terminal emulator. /usr/bin/gnome-terminal in my case. after that set the appropriate arguments. "-e ~/ncurses/start" in my case. Then make sure you aren't allocating a console by unchecking that option in the "Common" tab.

A: 
VonC
Thanks for answering but this wasn't exactly what I was looking for :) I don't have a problem compiling and running through xterm but its a pain to keep switching back and forth from eclipse and the terminal. I'm looking for a way to just hit something like"F5" and have it run my ncurses program in a new xterm terminal process.