Using the "External Application" method for starting PowerTerm 9.02 with ConsoleWorks 4

From TDiWiki

Jump to: navigation, search

The External Application method differs from the X-Applet Helper in that, unlike our CWTProx applet, it uses Java to start the third-party terminal emulator. In the case of PowerTerm Pro(R), the only things you need to install are PowerTerm Pro(R) and a small ascii file we provde. (CWTELNET.PSL)

For this example, we'll assume that the user would like to use Ericom(R) PowerTerm Pro(R) for all Consoles in their ConsoleWorks invocation.

To begin, opening the ConsoleWorks Help for Connection Rules we see this:


Image:01-OnlineHelpShot.jpg


As you can see, External Application is circled in red. Here's where we get specific for PowerTerm Pro.

  • Press the Add button in the Connection Rules section
  • As noted above, the IP address or Host name of the ConsoleWorks client appears in the "Host" field
  • Also noted is the option to put an asterisk in the "Console" field. The asterisk means that all Consoles will use this Connection Rule from this ConsoleWorks Host. For this example, we'll assume that this is the correct behavior.
  • In the "Name" field, enter PowerTerm Pro 9.02
  • Select External Application from the "Type" drop-down
  • Leave the "Preset" field Blank
  • Add the following command string to the "Command" field, including the quotes. If you're installed path is different than this example you'll need to adjust it.

"C:\Program Files\Ericom Software\PowerTerm Pro\PTPRO.exe" "C:\Program Files\Ericom Software\PowerTerm Pro\CWTELNET.PSL" [HOST] [PORT] [CONSOLE]

(Note that CWTELNET.PSL is referenced in the same path as PTPRO.EXE. This is where you put this ascii file)

  • The Contents of CWTELNET.PSL are:
#
# Opens a TELNET connection (Via TCP/IP WINSOCK api).
#
# Parameters : 	$p1 - host name.
# 		$p2 - telnet port number.
#		$p3 - console name.
#
# Modified by TDI Comments for use with ConsoleWorks (R)
# 08/31/2010 - jjc
set comm-type telnet
set host-name $p1
set telnet-port $p2
session open
set session-name $p3

Simply copy and paste them into a text editor and save as CWTELNET.PSL and place in the above location, or the location where you've installed PowerTerm Pro on your client PC.

  • Click OK
  • Click Save
  • Attempt a connection

The finished Connection rule will resemble this:

Image:02_PowerTerm_rule.jpg


The completed Connections Rules section will resemble this:

Image:03-Completed_PwrT_rule.jpg


Of course if you know the appropriate command strings for YOUR favorite Terminal Emulator, you may use this example and replace Reflection with the one of your choice.