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

C# console application stdin/stdout redirection

I have an interesting (read: frustrating) problem kicking off a console application from a C# WPF app and redirecting its stdin and stdout. It is mostly up and working but I seem to end up not getting some data from stdout as soon as I start…
Stevo
  • 1,424
  • 11
  • 20
6
votes
5 answers

Ways of console pausing

As I'm new to C#, I searched Google for various stuff which I used to use in C++. One of them is a pause possibility in a console app. A lot of people suggested different ways like System.Console.ReadKey(true); System.Console.WriteLine(); Others…
RnD
  • 1,019
  • 5
  • 23
  • 49
6
votes
2 answers

pydev interactive console always disappearing and other console questions

I've just started using pydev in Eclipse and I have a lot of questions about the way the interactive console works. I have found out how to launch an interactive console and use it to run functions. My questions are this: Every time I change my…
nrob
  • 861
  • 1
  • 8
  • 22
6
votes
2 answers

How to print Latin characters to the C++ console properly on Windows?

I'm having a problem writing French characters to the console in C++. The string is loaded from a file using std::ifstream and std::getline and then printed to the console using std::cout. Here is what the string is in the file: La chaîne qui…
jmegaffin
  • 1,162
  • 11
  • 22
6
votes
2 answers

Console output in cmd.exe, and powershell.exe through C++

I know a simple way for correct displaying of localized chars on Cmd.exe. But how can I do same for Powershell.exe? #include #include using namespace std; int main() { SetConsoleCP(GetACP()); …
Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182
6
votes
7 answers

Very basic database concepts in C#

I am writing a console program in C# and I need to use a database. I am looking for very basic tutorials on connecting with and using a db from a C# console program. I haven't been able to find anything basic enough yet and I hope people here can…
ChrisC
  • 1,329
  • 5
  • 18
  • 36
6
votes
4 answers

Displaying control characters in Chrome's console?

Is there any way to force Chrome's JS console to display newlines like Firefox? Chrome: Firefox: Possibly a hidden switch somewhere?
Blender
  • 289,723
  • 53
  • 439
  • 496
6
votes
2 answers

Console.Writeline stops my program... C#

I have just got the wierdest problem in my Windows Froms C# application I got a few Console.WriteLine in my code for debug, but suddenly this stopped working. For example try{ line(of.code); Console.WriteLine("HERE"); …
Nick3
  • 639
  • 1
  • 14
  • 40
6
votes
4 answers

Block selection in xterm

Is it possible to have a block (as in "rectangular") selection in xterm? If yes, is it assigned by default to a key/mouse binding or does it have to be assigned separately? Thanks :) Sorin
Sorin Mocanu
  • 936
  • 5
  • 11
6
votes
1 answer

Why the console doesn't use entered object's `toString` method?

If I open the console and enter... var f=function(a){ this.toString=function(){ return "-->"+a; } },i=new f(5); i; ...it returns ({toString:(function () {return "-->" + a;})}). But if I enter... var f=function(a){ …
Oriol
  • 274,082
  • 63
  • 437
  • 513
6
votes
4 answers

Line breaks when using rails console(Terminal)

When I type large ActiveRecord queries,Before finishing the query, the line is breaking and I can't even reading or typing the command properly.I am using ubuntu.Any solution?
shajin
  • 3,214
  • 5
  • 38
  • 53
6
votes
1 answer

Google Play Developer Statistics API

Is there any API where someone can get Statistics of their Apps from Google Play? The Android App Andlytics does something like this I think (They have alot of updates though because of changes inside the console...) but is this also possible to…
user754730
  • 1,341
  • 5
  • 31
  • 62
6
votes
2 answers

Is there a quick way to show the code of a method declared in the Scala Console?

I frequently use the Scala console to evaluate and test code before I actually write it down in my project. If I want to know the contents of a variable, I can just enter it and scala evaluates it. But is there also a way to show the code of methods…
Björn Jacobs
  • 4,033
  • 4
  • 28
  • 47
6
votes
2 answers

Common idiom to avoid IE throw: Error: 'console' is undefined

I've installed firebug and I wrote all these log statements. I've tested my app in IE and of course I've got "undefined" error. What's the common idiom to avoid this. I don't really feel like commenting all the console.log statements in my file…
OscarRyz
  • 196,001
  • 113
  • 385
  • 569
6
votes
1 answer

Python logging extremely slow on Linux server... but fast on Linux development VM?

Using the exact same code, it takes about 50ms every call to a logger method (such as logger.debug) on the server, while on the dev machine it's less than 1ms. The loggers are outputting to files, with a little bit of formatting. Other than the…
Albeit
  • 738
  • 10
  • 21