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 trying to make a console application, I am trying to make a wrapper for console - A windo...
Is there any class or how to draw windows in console application using pseudo symbols like in far manager or turbo pascal?
I have found some symbols using conversion from Int to Char.
...
I have three c# projects in my solution. One is a console app that simply calls into a class library project. The class library project does all the processing for the application. Then there is a WinForm project that displays a form and then when a button is pressed, calls the same logic in the class library project. As a result, th...
Hi,
I am configuring sql2java the first time myself. I extracted the zip-archive and imported all files into an eclipse java project. I don't know if this is correct, because when I run the ant build file through the eclipse ant function ("Run as ant build...") there is no output on the console.
I don't know where the problem is locat...
I need to write an app to create a console in Minix
This is just for a project ( in fact for an interview test. )
Where should i start
this is a matter where i don't have time to learn much about Minix( usually i used to )...and have to write a program right away...
any good tutorials
about I/O, display connections
writing an app fo...
Just trying to grasp the MVC by doing ... and still not sure got it right ..
using System;
using System.Text;
namespace MVPConsoleApp
{
class Program
{
static void Main(string[] args)
{
View objView = new View();
Controller objController = new Con...
I'm getting console input from the user and want to encode it to UTF-8. My understanding is C++ does not have a standard encoding for input streams, and that it instead depends on the compiler, the runtime environment, localization, and what not.
How can I determine the input encoding?
...
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 a bit cumbersome.
And ideas?
...
Is there any way to get key events in a Windows console? I need a way to get keydown and keyup events quickly without a GUI. I've tried using getch(), but it doesn't get keyups and waits until a key has been pressed to return.
...
I was told about the fascination of C++ and I have recently downloaded Visual C++ IDE to start learning C++.
However I had this question in mind: How can I write C++ console application in Visual C++ and build it for Linux and Windows? Is there any plugin, additional compilers or hacks to go around with?
...
I'd like to display a string that containts html code (mainly for formating purposes like italic, bold, indentation, colors etc.) from a C# console application.
I don't think I'll need to go with a WebBrowser class for that, since there won't be any kind of navigation possible.
1) What would be the most straightforward way to do it?
2...
I have two console programs (ex. first - client, second - server).
Do Windows have a command or resource to connect it?
Client ask question, Server answer.
Anyone encountered this problem? (just win)
...
How can I use the numbers in the stacktrace? What do these mean?
In eclipse I get often exceptions, for example a NullPointerException:
java.lang.NullPointerException
at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)
at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)
at com.sun.midp.lcdui.DefaultEventHandler$Q...
You well know tasks in olympiads, where solution's input is output of same module.
Server.exe's output is Client.exe's input, and in another direction.
How do you think it's testing under Windows?
I try to made personal testing system.
More formally:
You have:
1) a.exe and b.exe
2) stdout of a.exe is stdin of b.exe and in another direct...
I am using JBoss 4.2.
Long stack traces are useless to me most of the time. Is there a way to only show the error message? Can stack traces be disabled or trimmed for normal java programs also?
...
In Rails console: I was wondering if you could list/examine what databases/objects are available to you. Yes I know you can see using other tools, just curious if you can inspect them inside the Rails console.
thanks.
...
I'm using raw_input() to receive password from user in interactive mode, but I want to make input symbols invisible for security reasons, as it is when you're typing your password using sudo or connecting to a database. How I should do it?
...
It is possible, generally, by means of Ruby library to output a symbol at specific location on a common Windows console screen, which seems to be 80x25 ?
The problem came up with the need to draw a specific 'tree' structure like this, for example:
│
├──x──y──z
│ │
│ ├──a──b──c
│ │
│ └──e──f──g
│
└──u──v──o
...
Windows XP Pro
This shows output in the console:
dir | find " free"
This doesn't:
tasklist | find "Image Name"
This does:
tasklist | find /C "Image Name"
And this does write the expected line into the file:
tasklist | find "Image Name" > foo.txt
What causes that?
...
I want to write a program which prints the current focused window name and if it is a gnome-terminal, then prints out the running program inside the current gnome-terminal tab (for example vim, if a vim session is running).
To get the currently focused window name, I used:
xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"
...