NO

Author Topic: Output to go to output window, NOT command(DOS) window of OS  (Read 3890 times)

paluee

  • Guest
Output to go to output window, NOT command(DOS) window of OS
« on: December 14, 2012, 04:39:55 PM »
Hi there,

When I run programs in Peles IDE, i always get the output going to
windows DOS command window.
I see in the IDE Gui that there is a Tab that is called  "Output", I thought it would go there.
Nothing goes there.
Most IDE' out there like Netbeans and Eclipse, and another for Perl called 'Perl Express', they
all capture and display the output in the IDE GUI.

I am thinking that maybe there is some settings/config I need to change.

Please let me know if this is possible.

Sincerely,

Paluee

CommonTater

  • Guest
Re: Output to go to output window, NOT command(DOS) window of OS
« Reply #1 on: December 14, 2012, 05:21:35 PM »
When I run programs in Peles IDE, i always get the output going to
windows DOS command window.

That is by design. 

When testing your software you want to see and use it in an environment as close to real usage as possible.  You want to see how your program will run from the command line in a CMD window.  Hense the console window. 

IDEs that capture your program's output are actually not doing you any favours. Lines wrap differently, menus may not fit the window, displayed text may not sit the same way... the experience is different and thus not a good way to judge the final result of your work.

paluee

  • Guest
Re: Output to go to output window, NOT command(DOS) window of OS
« Reply #2 on: December 14, 2012, 08:02:19 PM »
Hi,
Thanks for the quick reply.
So you are saying it does not do it!
But if that is the case, what is that "output" window for?

OK, I can understand the logic, but it would be nice if one had a choice
to have results come out in the IDE gui.
If you had a switch to say "output GUI mode" and "Output to OS console", that would be a good thing, my opinion.

Paluee

CommonTater

  • Guest
Re: Output to go to output window, NOT command(DOS) window of OS
« Reply #3 on: December 14, 2012, 08:42:34 PM »
Hi,
Thanks for the quick reply.
So you are saying it does not do it!
But if that is the case, what is that "output" window for?

It's used mainly by AddIns that need to write strings out...

Quote
OK, I can understand the logic, but it would be nice if one had a choice
to have results come out in the IDE gui.
If you had a switch to say "output GUI mode" and "Output to OS console", that would be a good thing, my opinion.

You are certainly free to make a "feature request" in the appropriate section of the forum...
Or you can maybe write an AddIn to do the job for you and upload it here.
 
 

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Output to go to output window, NOT command(DOS) window of OS
« Reply #4 on: December 15, 2012, 07:24:11 AM »
OK, I can understand the logic, but it would be nice if one had a choice
to have results come out in the IDE gui.
If you had a switch to say "output GUI mode" and "Output to OS console", that would be a good thing, my opinion.
Sorry, but to me, that doesn't make any sense at all...

If you create a console application, then of course (and only in that case!), the output shows in a DOS console window. That's what you told it to do!

And if you create a Windows (Win32) application, then your program is creating a new window for that, with whatever you are drawing on it.

You can't just simply switch between those two modes, those are completely different programs/program frameworks to begin with...

Ralf