console

Library for drop-down Quake-like console for OpenGL(GLUT) programs ?

Is there any open-source library doing that? I've seen a few on sourceforge for python (Pygame) or OGLCONSOLE for the SDL library (GLUT support not implemented yet) but nothing for the GLUT (or freeGLUT) library... Many thanks in advance for your help David ...

semicolon as statement separator in Rails Console

The Rails console doesn't seem to like multiple ruby statements on the same line separated by a semicolon. Whenever I do this, the next line starts with ?> and I find that only the first statement was executed. Do you have to put each statement on a separate line? >> user = User.new user = User.new => #<User id: nil, username: "", hash...

.Net Console Application that Doesn't Bring up a Console

I have a console application I'm using to run scheduled jobs through windows scheduler. All the communication to/from the application is in email, event logging, database logs. Is there any way I can suppress the console window from coming up? ...

Ways to deploying console applications in C#

Hello. I have a relatively complex console application which relies on several dlls. I would like to "ship" this in the best form. My preferred way would be an exe file with all dependencies embedded in it (not that big, about 800K). Another thing would be to just zip the contents of the "Debug" folder and make that available, but I'm no...

How would you create a console application from an existing object oriented API?

I have: existing object oriented native code API (non GUI) GUI application that works with this API The goal: To create an additional console application that lets user do some set of workflows (similar to ones of the above GUI app) by typing commands. This app should be "stateful" - available commands and their results would depen...

QT and Win32 Console Appications

I have a Win32 console app that is showing this behavior. 1) Using VC 2005 cl to compile and link, the application works fine. What I mean by working fine is that characters above 128 display correctly according to Code Page 437. 2) When I use QT qmake to construct a project (QT += console) and SOURCES = main.c, the build goes fine a...

How do you clear the console in MATLAB?

How do you clear the console in MATLAB? For example, I'm debugging a script that displays a ton of output. I want to clear the console on every run, so I don't have to look through output from old runs. ...

Windows - Can console output inadvertently cause a system beep?

I have a C# console application that logs a lot to the console (using Trace). Some of the stuff it logs is the compressed representation of a network message (so a lot of that is rendered as funky non-alphabetic characters). I'm getting system beeps every so often while the application is running. Is it possible that some "text" I am wr...

Java: What's the reason behind System.out.println() being that slow?

For small logical programs that can be done in a text editor, for tracing I use the classic System.out.println(). I guess you all know how frustrating it is to use that in a block of high number of iterations. Why is it so slow? What's the reason behind it? ...

How to detect if my program is running in Windows?

I am writing a C# console app. It's going to run as a scheduled task. I want my EXE to exit quickly if it finds that another process is still running from the previous schedule task execution. I can't seem to find the way to let my app detect the active processes, and so know whether it's already running or not. Thanks for any ideas...

Asynchronous Windows Console input whilst outputting

Hey all, Long time reader, first time poster :D I'm having issues trying to read input whilst outputting at the same time. I need a server console for my game which can receive input whilst outputting and not mess up the buffer. For example, I'm typing "Hello world" and in the process, player deaths, kills, etc. are being outputted in...

Create Java Command Console in JPanel

Hi All, I want to create a "Command Console" similar to the Windows Command Prompt, with command history, etc which is in a JPanel so that it can be added to a JFrame. What I want to do is present the user with the prompt to allow them to execute commands. What I have in mind is similar to the BeanShell Console, however I haven't be a...

Why Use java.io.Console?

Just a quick one here. What are the benefits of using java.io.Console as opposed to using a BufferedReader wrapping an InputStreamReader for System.in? Why would I use it? Thanks for any advice! ...

VIM Project and Tabs

Is there a possibility to combine the Project Plugin with Tabs? If i open a file in my Project Explorer, i want to open it in a new tab ... :) ...

Migrating tiny C# console app to something running on Ubuntu Server 9.04

I'm a linux noob wanting to migrate this piece of C# code: using System; using System.IO; using System.IO.Ports; public class LoadCell { private static string configFile = Directory.GetCurrentDirectory() + "\\LoadCell.config"; private static string errorLog = Directory.GetCurrentDirectory() + "\\LoadCell.log"; private stati...

Powershell output column width

If i have an exe: out.exe and its stdout is redirected to a file ie: out.exe > $file Right now if i do this it only outputs <-----------------------------> 80 columns per line to the file is there a way to make the standard output to be wider in console column count? is it the out.exe thats somehow messing with the columns.. in my ...

Eclipse 3.4 + Tomcat 6.0 + Remote Debugging with Console Output

Hi! I'm using this configuration: Eclipse 3.4 + Tomcat 6.0 + Remote Debugging It's working great, I can debug a servlet and so on, no problems. But, my servlet console output is going to $CATALINA_HOME/logs/catalina.out. Is that possible to redirect to the Eclipse console window? I use Log4J in my project but every entry goes to ca...

Visual Studio: Who is writing to console?

OK, here's a good one (I think) - I'm working on an application with lots (far too many) dependency dlls, created by a team of developers. I'm trying to debug just one assembly, but the console output is 'polluted' by the Console.WriteLines and Debug.WriteLines left scattered around by my colleagues. Is there anyway I can work out exact...

Call cancel on thread when pressing ctrl+c

I've written a console application that basically fires one BackgroundWorker that supports ReportProgress and Cancel. How can I make sure that before a window is closed (by pressing the close button or pressing ctrl+c) the cancel operation is triggered on my thread and the window only closes after the cancel is completed? ...

no output from .NET console app run from psexec

I'm having a very strange problem where I run a managed .net console app on a remote server using psexec. I get this error "The process tried to write to a nonexistent pipe". Now I wrote an unmanaged C++ program to output to std::cout, and it works just fine. Interestingly, if I run cmd.exe remotely, and use the /u (unicode) option, I...