console

C# console application

I have sample exe say console.exe on "programfiles\myAppFolder" .It serves the purpose of logging the message to eventviewer EventLog.WriteEntry(sSource, sEvent, EventLogEntryType.Warning, 234); I need to call this exe on un-install of appcn from NSIS script .However it gives me an error always that "thisappConsole has encountered a ...

Special Characters on Console

I've finished my poker game but now I want to make it look a bit better with displaying Spades, Hearts, Diamonds and Clubs. I tried this answer: http://stackoverflow.com/questions/2094366/c-printing-ascii-heart-and-diamonds-with-platform-independent Maybe stupid but I try: cout << 'U+2662' << endl; I don't know how to write it. ...

objective c iphone : can we view console log on device

is there a way to view the console output as we are running an iphone App on the device? If not directly, is there an app on the App store which lets you view the log after the App has finished running? ...

How to line-wrap console output in NetBeans 6.8?

Is there a way to make the console output text wrap based on the actual width of the window? I have limited screen height real estate on my laptop, and so want to have the console window docked on the right rather than the bottom of the window. An option or a plugin is fine, I'm using NetBeans 6.8. If this exists in a newer version of N...

Console.Write Not Working In Win Forms App

I created a VB.NET Windows Forms Application in Visual Studio 2008. When I run my program from the command-line, I get no output (only the next prompt). What am I doing wrong? Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Debug.Write("Foo") Debug.Flush() Console.Writ...

C#: How to print a unicode string to console?

How do I print out the value of a unicode String in C# to the console? byte[] unicodeBytes = new byte[] {0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x70, 0x63, 0x61, 0x70}; string unicodeString = Encoding.Unicode.GetString(unicodeBytes); Console.WriteLine(unicodeString); What I get for t...

Ruby Hide Console

I am attempting to make a game written in Ruby using the Gosu library (http://www.libgosu.org/) but when I run the game, a console also shows. How do I make sure the console is hidden from the start? thanks in advance, ell ...

Visual Studio Express - console window as a tab

Hello, I wonder, if there is a way to make VS C++ Express console window appear as tab, like 'Output' or 'Code Definition Window', rather than new window (the same way like Eclipse does). Any IDE settings or plugin? Thanks in advance, Regards, Pawel (PL) ...

Ignoring Firefox console messages on a more granular level than domain

I am using the Console² Firefox addon, which has the helpful Domain Blocker feature so that I don't have to see messages about outside issues that I have no control over. But the log is still littered with gobs of messages from javascript libs that I develop with, like jQuery. Is there any way to hide error messages on say a per-file ba...

IronRuby REPL with required .NET assemblies

What is the best way to put together a "shortcut" to launch a IronRuby REPL with some .NET assemblies preloaded? I think there is a way to do this in Powershell (via Snapin or Module) and I'm looking for something similar in IronRuby. ...

Internet Explorer Console

Is there a console logger for IE? I'm trying to log a bunch of tests/assertions to the console but I can't do this in IE. ...

What is a good format for command line output when it is being used for further processing?

I have written a console application in Delphi that queries information from several locations. This application will be launched by another process, and the output to STDOUT will be captured by the launching process. The information I am retrieving is to be interpreted by the calling application for reporting purposes. What is the best...

Finding Errant Output to System.out in Large Java Program

Hi, We have a large java code base [~1 M Lines]. Buried (somewhere) in the code base is some old debug output to System.out that we want to remove (its cluttering things up). The problem is: out code base is so large that we can't easily find where the output is coming from. What we want is a way to see where System.out.println is g...

flex chat/telnet application send/receive same window in TextArea

Hi there, Just wanting to know if anybody has seen an example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area. I've been trying to modify the app at: http://livedocs.adobe.com/flex/3/html/17_Networking_and_communications_8.html but so far, computer says no. All the imp...

How to build your non-gui Java program into a console program.

I dont know how to describe it well, but i will try. Ok, i want to be able to build my java program so that when it opens, it will look and work exactly as it does in the console. So it reads the Scanner class and prints normally, and does everything it would do if it was in the console. Ive looked around for this and havent found anyt...

How to detect Unix terminal character encoding?

Is there a way to detect the character encoding set in the terminal which is calling my Java program? In Windows I can call the "chcp" tool and parse the output. But what about in Linux or Mac? ...

Recipes/tutorials/libraries for GUI-like terminal navigation (vim/lynx-style)?

Several console based applications like vim or lynx offer a rich user interface which enables the user to navigate freely around the console, manipulate data directly on screen, access menus and much more, similar to "modern" gui applications. How is that being achieved in principal on Unix/Linux with C++? Do you directly manipulate some...

Window title for a console application

In Visual Studio's Attach to Process dialog, one of the columns in the Available Processes list is "Title", which lists the title of the topmost window owned by each process. We spawn multiple instances of several server processes in order to compartmentalize the work. For these console processes, the Title field is blank, so currently...

How to do proper Unicode and ANSI output redirection on cmd.exe?

If you are doing automation on windows and you are redirecting the output of different commands (internal cmd.exe or external, you'll discover that your log files contains combined Unicode and ANSI output (meaning that they are invalid and will not load well in viewers/editors). Is it is possible to make cmd.exe work with UTF-8? This qu...

Single console in eclipse for both Server and Client

I am building a client server application using Java Sockets (in Windows XP). For that I need different consoles for both Client and Server(for Input and Output operations). But in eclipse both share a single console. Is there any plugin or some sort of cheat through which I can do this. After googling I got this, http://dev.eclipse.or...