Wednesday, March 26, 2008

Using Terminal Emulation to make Remote Calls...

So, for the longest time, the company I work for has been using Procomm for their Terminal Emulation (it's pretty much on every Windows PC the company owns). However, in order to view pictures from Procomm, at this time, a new X session is spawned on the server (using a program called Reflection) to generate a Unix desktop for the user, which in turn displays pictures.

Well, I was tasked with a way to bring those pictures to the client PC without using X -- ultimately freeing up those resources on the server. Enter AccuTerm: another Terminal Emulator. Except, it has built in Escape sequences that you can send to it (from the server) that will actually execute a command on the client PC as if you were at the command line on that PC. So, now, we'll be able to pass a command back to the PC to open an image viewer with the images as command line arguments and load them remotely on the client PC!

While this is a powerful tool -- that seems kinda scary that you can remotely access a PC and execute whatever you want on it through a terminal emulator... of course, it's completely under our control in this case, but still.

No comments: