console

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 ...

c# program works from cmd prompt but not run seperately?

I would post a snippet, but I honestly have no idea what part of my code could possibly be doing this. The program is sizable, I don't want to make you all wade through it. What kinds of things could possibly be the cause of this? Everything works perfectly when called from the command prompt: "readoo.exe". But when I click the exe in it...

system.io.directorynotfound -> But it works in Console!

My files are referenced like so (it's all relative): // WHERE YOU KEEP THE PAGE TITLE XML public static string myPageTitleXML = "xml/pagetitles.xml"; and using (StreamReader r = new StreamReader(myPageTitleXML)) { //etc.. . .etc....etc.. } I get system.io.directorynotfound, and "this problem needs to be shut dow...

Firebug console not clearing between refreshes

Hi, I just got the firebug update 1.4.2 but now my console log doesn't clear itself between refreshes... Anyone have any idea if this is a feature or a bug, and how to fix it? ...

Console.Writeline() not working

I'm creating a c# winforms project that can be run as a GUI or can be operated from the command line. Currently, I can process command line input and arguments. I can run the program from command line and I can use the program to process the arguments. But Console.Writeline() does absolutely nothing. Any clue why that could be? ...

Why do Windows consoles lose command-line history (up arrow) after a time?

It seems random: after some amount of time / usage of any console I use on Windows Vista, I lose the ability to use the command-line history (or command buffer, if you prefer...), and hitting the up or down arrow no longer does anything at all, meaning there are essentially 0 items available in the history. I've seen this behavior in Cy...

Can't get my .Net Console App to run on a Server "The Publisher Could Not Be Verified".

Hi, I've written a simple C# console app that gets executed by SQL Server Integration Services as part of a datawarehouse load (on Windows Server 2003). Unfortunately the step that calls the .exe is failing because a Open File security warning dialog "The Publisher Could Not Be Verified. Are you sure you want to run this software" is ...

Disable console output from subprocess.Popen in Python

I run Python 2.5 on Windows, and somewhere in the code I have subprocess.Popen("taskkill /PID " + str(p.pid)) to kill IE window by pid. The problem is that without setting up piping in Popen I still get output to console - SUCCESS: The process with PID 2068 has been terminated. I debugged it to CreateProcess in subprocess.py, but can'...

curses-like library for cross-platform console app in python

hi there, i'm looking into developing a console-app in python which should be able to run under windows as well as linux. for this, i'd really like to use a high-level console library like curses. however, as far as i know, curses is not available on windows. what other options do i have? unfortunately, using cygwin under windows is not...

Keep a Windows Mobile Console App Running

I have a windows mobile app that look like this: class Program { static void Main(string[] args) { RunHook runHook = new RunHook(); } } class RunHook { private HookKeys hook; public RunHook() { hook = new HookKeys(); hook.HookEvent += EventForHook; } private void EventForHook(Ho...

.net console app with hyperlinks ?

is it possible ? any samples/patterns or ideas on how to go about it ? Update - this essentially becomes a text browser which displays various tables of information based on various commands on the prompt like typing the url in a browser now instead of typing various commands like prompt>command arg1 arg2 if only you could say "click"...

How can i get the console output generated by a exe file?

without using a redirect to file (">", ">>") ...

ReadConsoleOutput, WriteConsoleOutput, ReadConsoleInput functionality in Mono under Linux

I use in .Net version of my program three native WinApi functions through P/Invoke: ReadConsoleOutput, WriteConsoleOutput, ReadConsoleInput. How to implement this functionality in Mono counterpart under Linux? I know about standart System.Console class. But this class for some strange reason does not support functionality of previously ...

Create a "Command" Console

Hi, I have a bit of an unusual question: How can I create a "Command Console" using Swing? What I want to have is a console where the users type in commands, press enter, and the output from the command is displayed under. I don't want to allow the user to change the "prompt" and older output. I am thinking of something like Windows CM...

Download the html text collected in a string builder to word document in VB.NET Console Application

I have a requirement to move the html text available in a string builder to a word document and open the word document after the data is appended in a VB.NET console application. I am new to console applications and am not sure how this could be done, but I am aware that if I am using a Web Application then I can use the following code. ...

c# get handle for console application

can someone tell me how to get the handle of a windows console app in c#? in a winForm app i would normally try this.handle.. ...

How to reliably capture win32 console screen buffer changes?

Is there any way to reliably capture all changes made to the win32 console buffer, as they happen? The idea is to convert the screen updates of a text mode app to ANSI escape sequences, for a telnet/ssh server. I need to capture cursor movements, colors, window title, etc. Mouse clicks, too, if possible. The only technique I've seen ...

Is there a better way to make console games than with Console.Clear() ?

I'm messing around with game loops and going to create some games as practice. Currently I have a steady game loop up where the game is updated as fast as possible and the rendering is updated x times a second (25 currently) The rendinging method is basically a draw + Console.Clear() and at very high updates the display becomes very ji...

Disable showing console window

Where I can disable in Microsoft-Visual-C++ showing console window? ...

Is there a way to get notifications about windows console oput.

Hello I know I can read console buffer using ReadConsoleOutput function. Is there any way to be notified when console app is outputing text ? Currently I need to set timer and scan the console buffer all the time. Ty. ...