PC Command Feature

The PC Command feature allows a host/server application to run PC applications by sending an escape sequence to the terminal emulator. For example, a UNIX database application could easily be enhanced to display images by invoking an image viewer program on the PC. Or, your host application could be enhanced to play sound or video clips via a Windows media player program.

The escape sequence for running a PC program is:

\E[2]command\r

where command is a command to be run on the Windows PC. For example,

\E[2]notepad myfile.txt\r

would run the Windows Notepad program, and it would attempt to edit the file called “myfile.txt”.

The program running sequence is disabled by default, and must be turned on by checking the “Enable Run Program Escape Sequence” box on the Options Tab of the Property sheet. When enabled, the escape sequence works the same regardless of which terminal type is being emulated.