Terminal Services  
 

SocketTools includes several components which can be used to establish character-based terminal sessions with a server, including the Telnet and Remote Command (RSH) controls. Typically these controls are used in one of two general ways:

  • Establish an interactive session with the server, just as if a character-based terminal or console is being used. The Terminal Emulation control is used to display output, usually emulating an ANSI or DEC VT-220 terminal.
     
  • Establish a connection with the server where keystrokes are sent to the server as though it is interacting with a user, however the output is parsed and presented to the user in a Windows application. In this case, the user never sees a standard character-based terminal window. Instead, the application drives the terminal session in the background.

Because the Terminal Emulation control is separate from the controls which provide the actual connection to the server, you can use it only when needed for an interactive session. The control can be used to emulate a standard ANSI console, a DEC VT-100 and DEC-VT220 terminal. It supports colors, character-based line drawing, scrollable regions, the ability to select and copy text to the clipboard and a number of other advanced features. For a list of the escape sequences supported by the control, refer to the Control Sequences section of the technical reference.