Questions tagged [console]

A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks

A terminal is an interactive text-mode or text-based user interface to a software application or operating system. It may be implemented as a character-mode application or embedded in a graphical user interface.

A terminal may be used as the main user interface or as a secondary interface for debugging and administrative tasks. The degree of interactivity varies widely between terminals.

A console is a particular type of terminal, usually a physical terminal or a terminal implemented directly by the kernel. The term "console" is often incorrectly used in place of "terminal".

14034 questions
6
votes
1 answer

"Sorry, no data for this metric" Android Developers Console (What does this mean?)

I uploaded an app about 19 hours ago and it doesn't have any number under installs (not even 0). It also says in the statistics, "Sorry, no data for this metric". What does "Sorry, no data for this metric" mean in the Android Developers…
6
votes
3 answers

How to display Degree Celsius in a string in C++

I need to display a string with values like 36 Deg Celsius. string sFinish = NULL; string sValue = "36"; sFinish.append(sValue); sFinish.append(" Deg Celsuis"); cout<<"Degree = "<
Mike Portnoy
  • 175
  • 1
  • 1
  • 11
6
votes
1 answer

How to allow installation in a custom target directory and suppress auto-start

I've developed a VB.NET console application and tried to use the Build | Publish menu option in Visual Studio 2008 to create a Setup. It works fine except two things: - when I run the Setup on a Windows 2003 Server, it installs the application in…
user283897
  • 121
  • 1
  • 4
  • 9
6
votes
2 answers

Looking for an efficient Java Swing based console

I'm looking for a highly efficient Swing Java component which I can just plug into my application UI. I already tried using the classes within Swing such as JTextArea with no avail; they simply aren't high-performance enough and have any crippling…
Chris Dennett
  • 22,412
  • 8
  • 58
  • 84
6
votes
2 answers

Redirect native DLL stdout/stderr from managed wrapper

I have a C# Console app that P/Invokes into a native C++ dll. The dll creates some threads which are very chatty and write their logs into standard outputs. The problem is that I need Console for my user interactions. How can I redirect the dll…
MBZ
  • 26,084
  • 47
  • 114
  • 191
6
votes
1 answer

Show form data in console on submit

Is it possible to show all the form data in console when the form is submitted and then the data is posted to the server as well? Something like that?
Ahmar Ali
  • 1,038
  • 7
  • 27
  • 52
6
votes
2 answers

Linux: stdout and stderr to socket

I want to redirect stdout and stderr to a socket that I can then use to remotely monitor the status of my application over Ethernet. Currently I accomplish this by using ssh and watching the output in the shell console. I'd prefer to remove the…
It'sPete
  • 5,083
  • 8
  • 39
  • 72
6
votes
6 answers

Disable Debugging Output

I'd like to sprinkle some print statements in my code to show where I am and print important values to a console window. How do I do that, but then be able to turn it off for the release version?
Robert Deml
  • 12,390
  • 20
  • 65
  • 92
6
votes
2 answers

Print character to a certain point on console in Python?

Is there a way to print a character to a certain point on console using Python (3)? Here's an ideal example on what I'm trying to achieve: def print_char(x, y, char): # Move console cursor to 'x', 'y' # Set character under cursor to…
Markus Meskanen
  • 19,939
  • 18
  • 80
  • 119
6
votes
1 answer

Prevent Windows Forms application from closing when the Console is closed

I have a standard Windows Forms application and I needed a solution to open the console within the Windows Forms application setting. I came up with this solution: Public Class Win32 Public Shared Function…
Tom
  • 640
  • 1
  • 7
  • 25
6
votes
3 answers

Redirecting ConsoleOutput containing pseudo-loc (unicode) strings in C#

I'm running a console app (myApp.exe) which outputs a pseudo localized (unicode) string to the standard output. If I run this in a regular command prompt(cmd.exe), the unicode data gets lost. If I run this in a unicode command prompt(cmd.exe /u) or…
Kenn
  • 2,379
  • 2
  • 29
  • 38
6
votes
9 answers

ignore firebug console when not installed

I use Firebug's console.log() for debugging my website. If I try viewing my website in browsers without Firebug then I get a console is not defined error. Is there a way to gracefully avoid this error? I found this potential solution, but it seems…
hoju
  • 28,392
  • 37
  • 134
  • 178
6
votes
2 answers

Writing a console wrapper in C#?

I am trying to write my own Command Line wrapper like 'Console2' in C#. Unfortunately I haven't figured out a good way to do it. Can somebody give me an example of grabbing console input and output and directing it into an Application? NB I am not…
Kristina
  • 15,859
  • 29
  • 111
  • 181
6
votes
2 answers

How can I prevent my program from closing when a open console window is closed?

I am trying to open the console from my main program (Win32). I found some code, and it works, but I don't understand it. The problem I'm happening is that when I click X on the console, it closes the program as well. Roughly I have this: int…
Evan Carslake
  • 2,267
  • 15
  • 38
  • 56
6
votes
1 answer

JTextArea as console

I have posted two pieces of code below. Both codes work fine individually. Now, when I run the file Easy, and click on the "Start" button, I want the class AddNumber to be implemented. I mean to say that, instead of the AddNumber running on the…
nicki
  • 187
  • 1
  • 2
  • 11