terminal

Catching a direct redirect to /dev/tty

I'm working on an application controller for a program that is spitting text directly to /dev/tty. This is a production application controller that must be able to catch all text going to the terminal. Generally, this isn't a problem. We simply redirect stdout and stderr. This particular application is making direct calls to echo and re...

How to calculate/save memory useage of .NET app on terminal servers?

I do some C# fat application on Citrix/Terminal Server. How to measure actual memory usage per-session? What can I do to reduce the memory usage in total? We still working on .NET 1.1. Does it have a difference if we upgrade our .NET runtime? ...

Mac OS X Terminal: Map option+delete to "backward delete word"

Tried to map it from Preferences -> Settings -> Keyboard, but the "key" combo box has only "forward delete" but no "delete". My keyboard on the other hand has only "delete" and no "forward delete"! Is there some other way to do it except from the preferences? ...

Starting process in new Terminal window on Mac

On Windows I can do CreateProcess(..., CREATE_NEW_CONSOLE, ...) and my child process (which is console app, not GUI) will be launched in a new window. What is the easiest way to emulate this on Mac OS? ...

How to get the output of an os x application on the console, or to a file?

I am writing a Cocoa application with Mono embedded. I want to run and see my debug output in Terminal. On the Cocoa side I am using NSLog(), and on the Mono side I am using Debug.Write(). I can see my debug output in xcode's console, but not in Terminal. I am tried: $: open /path/build/Debug/MyProgram.app $: open /path/build/Debu...

Custom serial terminal

I am trying to develop a custom application which has a built-in serial port terminal, but it will be able to suspend terminal and do some I/O in the custom command and data format. e.g. When I click "Get Data" button, the software will send some binary command and get some binary data in return and do its stuff with the data. And the t...

Font for mac osx that is as readable and compact as the default xterm (X11) font.

The font used in xterms is extremely compact yet readable. What font is that? The closest I've found that I can use in other other applications is DejaVu Sans Mono or Bitstream Vera Sans Mono. Those are as compact as xterms vertically but take up more space horizontally. I'd really like to switch from xterms to Terminal.app and this ...

Web Interface to Versioning System

Does anyone know of any versioning system with a great web interface so that it can basically be managed and used from a browser? The interface would need to function in the areas of committing new code and viewing/downloading previous commits. ...

How can I quickly find the user's terminal PID in Perl?

The following snippet of code is used to find the PID of a user's terminal, by using ptree and grabbing the third PID from the results it returns. All terminal PID's are stored in a hash with the user's login as the key. ## If process is a TEMINAL. ## The command ptree is used to get the terminal's process ID. ## The user can ...

OSX - always hide certain files

I know how to show and hide hidden files in the Terminal - but is there a way to hide certain files like .DS_STORE when showing hidden files? Make certain files super-hidden, so to speak? ...

Best font for terminal

Hi, I like to find some new/interesting fixed width fonts for terminal console. We all know Lucida / Courier, what else? Anyone? So, the winner is Consolas (which indeed is built in in new windows7) Jeff had good topic about that: Other interesting fonts are: * Inconsolata * Proggy Clean * Terminus * 6x13 (if you need small font )...

Open an iPhone application from the terminal

Is it possible to open an iPhone application or an Xcode project from the terminal? I have already tried: open /path/to/project.app But this returns a warning and quits unexpectedly due to an image load error when it launches the simulator. Does anyone have any suggestions? ...

How is it possible to connect a mainframe with a PC running Windows?

How is it possible to connect a mainframe with a PC running Windows?.Is it still regarded a mainframe as a computer with a high processing power running Unix or IBM System360 ...

Open terminal here in Mac OS finder

Is there something similar to the "Open Command Window Here" Windows Powertoy for Mac OS? I've found a couple plugins through a google search but wanted to see what works best for developers out there. ...

Telnet / Terminal commands

Got a problem with a proxy telnet server that I am trying to debug, it appears that a set of characters being sent are causing it a problem .... does anybody know where I can get a list of teminal commands (Along the lines of [40m)? ...

Safe escape function for terminal output

I'm looking for the equivalent of a urlencode for terminal output -- I need to make sure that garbage characters I (may) print from an external source don't end up doing funky things to my terminal, so a prepackaged function to escape special character sequences would be ideal. I'm working in Python, but anything I can readily translate...

What's a good Java, curses-like, library for terminal applications?

I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world? Minimal features I'm looking for are windowing and user input support. In feature-speak, I'd like to have a region of the terminal where some da...

System Recommendation for Running Citrix Server for 100 MS Office users

Hi I need to find out what would be a recommended Citrix Server setup (memory, cpu and network hardware) for up to 100 users (both LAN and WAN) concurrently. They will be using the server mainly for the following purposes: running MS Office (mainly 10-15 MB Excel files) exporting/importing data to/from a SQL database on another serve...

How can I have a terminal where error messages are coloured, similarly as here?

I would like to see errors in my terminal colorfully, similarly as here: http://stackoverflow.com/questions/452532/what-does-this-python-message-mean ...

How can I set fish shell as my default shell on Mac?

I do not like to write fish again and again when I start terminal. I want fish on by default. ...