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
72
votes
14 answers

How do you clear the console screen in C?

Is there a "proper" way to clear the console window in C, besides using system("cls")?
devurs
  • 853
  • 1
  • 7
  • 6
72
votes
7 answers

Word wrapping in PyCharm Python Console?

Anybody here who knows, if and how I could enable word wrap in the Python console for long lines? I can't see them as a whole, I have always to scroll the window to the righit, to get all informations. I have only 5 Buttons offered: rerun, stop,…
Hartmut Pfarr
  • 5,534
  • 5
  • 36
  • 42
71
votes
11 answers

How do I dump JavaScript vars in IE8?

I have an object I need to examine in IE8. I tried the developer tools and console.log, their Firebug equivalent. However, when I output the object to the log: console.log("Element: ", element); console.log(element); I only get the string LOG:…
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
70
votes
4 answers

Can Rails console reload modules under lib?

I have a module in my Rails project under lib. I run 'rails c' and do some experimenting in the console. I make a change to the module under lib, type 'reload!' from the console and it doesn't reload the file. I have to quit the console and…
Chip Castle
  • 2,132
  • 3
  • 20
  • 34
69
votes
11 answers

How to write console output to a txt file

I have tried to write the console output to a txt file using this code suggestion (http://www.daniweb.com/forums/thread23883.html#) however I was not successful. What's wrong? try { //create a buffered reader that connects to the console, we…
Jessy
  • 15,321
  • 31
  • 83
  • 100
68
votes
2 answers

Chrome console shows me "Navigated to http://localhost...."

Chrome console shows me "Navigated to http://localhost...." in blue letters Image:
68
votes
13 answers

Hide console of Windows Application

I have a Qt application, and when I run this application, there is a console opening behind it. In development it is nice because i see debug outputs on the console, but when I want to give this executable to the customer there should be no console…
ufukgun
  • 6,889
  • 8
  • 33
  • 55
67
votes
17 answers

How do I make Visual Studio pause after executing a console application in debug mode?

I have a collection of Boost unit tests I want to run as a console application. When I'm working on the project and I run the tests I would like to be able to debug the tests, and I would like to have the console stay open after the tests run. I see…
Jason Dagit
  • 13,684
  • 8
  • 33
  • 56
67
votes
4 answers

How to make Unicode charset in cmd.exe by default?

866 charset installed by default in Windows' cmd.exe is poor and inconvinient as compared with glorious Unicode. Can I install Unicode by default or replace cmd.exe to another console and make it default so programms use it instead of cmd.exe? I…
Doctor Coder
  • 1,001
  • 1
  • 10
  • 17
67
votes
2 answers

When loading external data, console says: XHR finished loading

Is there a way to hide the "XHR finished loading" messages in the console?
Kriem
  • 8,666
  • 16
  • 72
  • 120
66
votes
5 answers

Is there a way to output text to the R console in color

I am writing a script and I want to output text messages to the console with different colors depending on conditions. For example: RED for errors and BLUE for warnings, etc. I am using RStudio.
notuo
  • 1,091
  • 2
  • 9
  • 15
65
votes
12 answers

How to filter the xcodebuild command line output?

Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors. I'm looking for a way to capture the xcodebuild output and filter it.…
sorin
  • 161,544
  • 178
  • 535
  • 806
65
votes
6 answers

Should I use %i or %d to print an integer in C using printf()?

I am just learning C and I have a little knowledge of Objective-C due to dabbling in iOS development. In Objective-C, I was using NSLog(@"%i", x); to print the variable x to the console. However, I have been reading a few C tutorials and they are…
Dummy Code
  • 1,858
  • 4
  • 19
  • 38
65
votes
7 answers

Node.js: How to attach to a running process and to debug the server with a console?

I use 'forever' to run my application. I want to attach to the running environment to inspect my application. So what can I do?
Croplio
  • 3,433
  • 6
  • 31
  • 37
64
votes
7 answers

Where is the console API for WebKit/Safari?

WebKit/Safari supports the console object, which is similar to what Firebug does. But what exactly is supported? There is a console documentation for Firebug, but where can I find the console documentation for Safari/WebKit?
avernet
  • 30,895
  • 44
  • 126
  • 163