console

How do I programatically pop up a console from winMain in C?

int WINAPI WinMain (HINSTANCE p1, HINSTANCE p2, LPSTR p3, int p4) { } I want a console to pop up when I click a button,what's the proper way to do it? UPDATE How do I output text to that console? ...

How would one make an Xcode style console window?

I am making a Haskell editor with Cocoa, and it would be useful to support some in-application text output. Even better would be supporting some text input. Xcode does all this in its console, which looks like it might be an NSTextView, but not sure if somebody might have done all this before. ...

Ruby gems in lib - spare tire principle

Hi, I'm working on a console ruby application (not rails!) I will be installing this application on several machines. I was wondering if there is a way i can build it so i dont have to install the gems i'm using for the app on each machine. I'd like to be able to just copy the directory to each machine and run it. Ideally, i'd like...

Eclipse CDT debugger does not show console

Hi, I'm trying to debug a C program using Eclipse CDT-s debugger and gdb on a Windows7 system, and everything seems fine, except for the console not showing up, which is bad, because my program needs input at some points from the keyboard. So how should I make Eclipse's debugger work properly? Thank you. ...

Load assemblies at ironruby console startup

I'm trying to load some default assemblies and init some variables with ironruby, and I don't know where to start. What I'm trying to create is something similar to rails script/console: you run that script and get a console where all rails Classes are available, but using a couple of my own library. The question is how can I start an ...

Java/swing: console component?

I am looking for a component I can use in Swing that acts as a GUI console which has a text area with scrollbars that can be set to a particular font has an InputStream and an OutputStream that a host application can obtain accepts keyboard input, prints it onto the end of the console text, and sends that input to the InputStream prin...

On Windows, how does console window ownership work?

When a console application is started from another console application, how does console ownership work? I see four possibilities: The second application inherits the console from the first application for its lifetime, with the console returning to the original owner on exit. Each application has its own console. Windows then someho...

.NET app running as either Windows Form or as Console Application

I am looking to have one of my Windows Forms applications be run programmatically—from the command line. In preparation, I have separated the logic in its own class from the Form. Now I am stuck trying to get the application to switch back and forth based on the presence of command line arguments. Here is the code for the main class: s...

Change default Console I/O functions handle.

Hello. Is it possible to somehow change standart I/O functions handle on Windows? Language preffered is C++. If I understand it right, by selecting console project, compiler just pre-allocate console for you, and operates all standart I/O functions to work with its handle. So, what I want to do is to let one Console app actually write in...

How to prevent GUI (VB6) program from returning control when run from a command line?

There is a VB6 application. It can be run with command line parameters to create some report in a text file. The problem is that when started from a batch file, application returns control immediately, so the following commands start executing. I need these following commands to wait until the VB6 app finishes its work. How to achieve ...

How do I increase the capacity of the Eclipse output console?

Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me. Is there some way of increasing the capacity of the console so that it stores more lines? I wasn't able to find the option. ...

C# Launcher program(ConsoleApp) that launches other executables

I've written a launcher program that fires off a given number of executables, with the following code: Process.Start(strPath2EXE); The problem I'm running into is it seems I'm being limited to launching only about four copies of the executable. Is there a different way I can launch the executables without this limit? I'm hoping to run ...

tail -f in a webbrowser

I've created a Python script that monitors a logfile for changes (like tail -f) and displays it on a console. I would like to access the output of the Python script in a webbrowser. What would I need to create this? I was thinking about using Django and jQuery. Any tips or examples are greatly appreciated. ...

keep open windows console after a python syntax error

File associations on my machine (winxp home) are such that a python script is directly opened with the python interpreter. If I double click on a python script a console window runs and every thing is fine - as long as there is no syntax error in the script. In that case the console window opens up for a moment but it is closed immediat...

configure console app to receive more than 65536 from wcf

Error Message: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. svc.map <?xml version="1.0" encoding="utf-8"?> <ServiceReference> <ProxyGenerationParameters ServiceReferenceUri="http://d3w9501/Si...

Output Unicode to Console Using C++

I'm still learning C++, so bear with me and my sloppy code. The compiler I use is Dev C++. I want to be able to output Unicode characters to the Console using cout. Whenver i try things like: # #include directive here (include iostream) using namespace std; int main() { cout << "Hello World!\n"; cout << "Blah blah blah some ...

Displaying Hebrew text in a console

How to add a new font to the console (win7), and where can I find the right font in hebrew? I'm already find it http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q247815, but it not helps me. thanks, Dani. ...

read unicode output of console application

I've console app. written in Delphi 2010. It's output is Unicode supported. (I used UTF8Encode and SetConsoleOutputCP(CP_UTF8) for this). When I run the program from command prompt it works fine. Now I want to read the output from another program which was created in Delphi 5. I use this method. But I've problems with unicode characters....

How to Redirect a Python Console output to a QTextBox

Hello, I'm working on developing a GUI for the recompilation of Linux kernel. For this I need to implement 4-5 Linux commands from Python. I use Qt as GUI designer. I have successfully implemented the commands using os.system() call. But the output is obtained at the console. The real problem is the output of command is a listing that ...

C++ console output in Netbeans

When I run a C++ program in Netbeans on a Mac that has cout or printf statements the output is displayed in a terminal opened using X11. Is there a console built into Netbeans? If yes, how do I change the output to it? Thanks, Spencer ...