Page 1 of 1
[4.0 b1 linux] OpenConsole() from the IDE
Posted: Wed Nov 01, 2006 5:49 pm
by Trond
If OpenConsole() is used and a program is run from the IDE another console is not opened and the program prints to the IDE's console (or to nothing if the IDE was not started from a console) unless the executable type is set to console.
Posted: Wed Nov 01, 2006 6:23 pm
by freak
It is normal. A terminal emulator is a standalone program on linux, so you can't just open a new window from within a program.
The console executable type is there to test console programs. In this case the IDE
opens the window and starts the executable inside it.
Posted: Sat Jan 06, 2007 10:22 pm
by Trond
Well, the description in the manual says this: "Open a console window." Then it should open one, in my opinion. At least with the debugger.
Posted: Sun Jan 07, 2007 12:31 am
by Nik
maybe the ide could have a preference for choosing a Terminal which will be launched when executing excutables with turned on cosole excutable option. Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.
Posted: Sun Jan 07, 2007 1:35 am
by freak
Choose "Console" as executable type in the compiler options and the IDE will run the
program in a terminal window.
A number of different terminal applications are automatically detected.
Nik wrote:Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.
Sorry, i do not understand what you mean.
Posted: Sun Jan 07, 2007 11:05 am
by Trond
freak wrote:Nik wrote:Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.
Sorry, i do not understand what you mean.
In place of the error log there is a "console" which works for the compiled programs.
Posted: Sun Jan 07, 2007 12:10 pm
by freak
That part i understood, what about the rest ?