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
5
votes
2 answers

How to execute "less" with paging from a Java console application?

I need to execute the less command, with paging, from my Java console application. However, the only method I found to execute external commands is Runtime.getRuntime().exec(), which requires me to write/read input/output via streams. So commands…
futlib
  • 8,258
  • 13
  • 40
  • 55
5
votes
2 answers

Hiding the black window in C++

Possible Duplicate: Create an Application without a Window Win32 programming hiding console window How can I hide the console window that appears when I run my C++ program? The program doesn't output anything to stdout, and I don't need that…
dsynkd
  • 1,999
  • 4
  • 26
  • 40
5
votes
1 answer

Set up Mercurial for command completion in a Windows console

Is there a way to setup Mercurial to get command completion when working from console on Windows? I'd like to have something similar to git bash, but for mercurial
Oleg D.
  • 1,184
  • 11
  • 20
5
votes
3 answers

(Eclipse) How to interact with console view?

Eclipse uses console view as read-only. How can I type command in console view? Is it possible? E.g: ls, mvn install... Edited: Thanks Ben and Kelly. I understand I can interact with Eclipse's console when my application is running. However, I meant…
user942821
5
votes
3 answers

Pseudographical environment in windows Command Prompt

actually i'm thinking of creating a cool interface for my programming assignment , so i go around searching on how to do it so that such an effect can be create , below is the image . The Question 1.)What is needed in order to create a program that…
caramel1995
  • 2,968
  • 10
  • 44
  • 57
5
votes
1 answer

Screen scraping a command window using .net managed code

I am writing a program in dot net that will execute scripts and command line programs using the framework 2.0's Process object. I want to be able to access the screen buffers of the process in my program. I've investigated this and it appears that I…
5
votes
2 answers

How do I write special characters (0x80..0x9F) to the Windows console?

I would like to have this code: System.Console.Out.WriteLine ("œil"); display œil instead of oil as it does in my test program. The Console.OutputEncoding is set by default to Western European (DOS) (CodePage set to 850 and WindowsCodePage set to…
Pierre Arnaud
  • 10,212
  • 11
  • 77
  • 108
5
votes
4 answers

How to run SimpleSwingApplication from console main method?

I wrote my first console app in Scala, and I wrote my first Swing app in Scala -- in case of the latter, the entry point is top method in my object extending SimpleSwingApplication. However I would like to still go through main method, and from…
greenoldman
  • 16,895
  • 26
  • 119
  • 185
5
votes
1 answer

Updating current line in VB Console

I am trying to write out to console a percentage of data loading. I tried to use C# syntax which would be Console.Write("\rPercentage: " + nCurrent + "/" + nTotal; however in VB I get the actual character 'r' being displayed in my string. Is there a…
Seb
  • 3,414
  • 10
  • 73
  • 106
5
votes
3 answers

Parse output from a process that updates a single console line

Greetings stackoverflow members, in a BackgroundWorker of a WPF Frontend i run sox (open source console sound processing tool) in a System.Diagnostics.Process. In that same way i use several other command line tools and parse their output to poulate…
Till
  • 3,084
  • 17
  • 18
5
votes
1 answer

What is a difference between directly writing code in console vs console logging it?

What is a difference between: Promise.all([1,2]) //Promise {: Array(2)} and let p1 = Promise.all([1,2]); console.log(p1) //Promise {} Why does the console show a different result?
user20742467
5
votes
2 answers

What is faster in Java for reading/parsing console input, Scanner or BufferedReader?

I have to craft a data processor able to process more than 2.5MB/s of input from STDIN, and output a number to STDOUT. What is faster, to use a BufferedReader and then conversions to data types or a Scanner and nextInt() or nextFloat()? EMPIRICAL…
dagilpe
  • 147
  • 1
  • 14
5
votes
1 answer

log4net won't write to the visual web developer console

this is my config for log4net but it wont write to the console see appender: ConsoleAppender
SexyMF
  • 10,657
  • 33
  • 102
  • 206
5
votes
3 answers

Where is the StackBlitz console?

At the end of the Angular's "Getting started/try it/using forms for user inputs", we are asked at the end to "open the console to see an object containing the name and address you submitted.". But I only have a terminal where the app is running, and…
Kokottc
  • 101
  • 1
  • 7
5
votes
1 answer

How to omit duplicate entries in Google Chrome Javascript Console (in Webdeveloper Tools)?

In bash I use HISTCONTROL=ignoredups:ignorespace to omit duplicate entries be written to bash history. Is it possible to do it in Google Chrome Javascript Console? I often invoke the last command repeatedly to check my latest change effect on my…
mgol
  • 1,362
  • 15
  • 20
1 2 3
99
100