Frequently Asked Questions


To enable TN3270E support, check the "Use TN3270E Protocol" box in the Communications|Connect screen.


PowerTerm supports DDE. DDE permits applications to communicate with each other.

A DDE connection between two applications requires that one will be a server and the other a client. The DDE server application waits for requests from DDE clients, and allows them to supply it with information or receive information.

For example: A spread sheet DDE server will let clients get data from cells and put data into cells of a file.

PowerTerm can be a DDE client application or a DDE server.

As a DDE server PowerTerm Uses the server name PTW with topic PSL. Any application can request it to execute commands and return the related return data.

A client application can access PowerTerm with the DDE EXECUTE command or the DDE REQUEST command, and an item which is any valid PSL commands separated with ";". The single DDE server PSL command is:

dde return value

After a DDE REQUEST commands are executed the, PowerTerm DDE server sends the value from the last dde return command executed in this request. If no dde return command executed it returns an empty answer. Examples for PowerTerm as a DDE server might be: - Sending information to the host. - Reading information from the emulation screen.

As a DDE client performs one of several dde operations, depending on option. The legal options are:

  1. dde initiate applicationName topicName Connects to the applicationName DDE server with topicName. Returns a conversation id for use with successive dde commands.
  2. dde execute convId command Executes a server command. Return an empty string.
  3. dde request convId item Returns an item from the server.
  4. dde poke convId item value Changes an item of the server to the new value. Returns an empty string.
  5. dde terminate convId
Terminates a DDE conversation with the server.


Returns a value according to the option.


  1. Initiates a DDE conversation with Excel for a file products.xls. Reads 3 numbers from the emulation screen. Puts them in three cells and gets a calculated result from a forth cell. Sends the result to the host computer.
  2. conv = [dde initiate EXCEL PRODUCTS.XLS]

    dde poke $conv R1C1 [screen-rect 1 1 10]

    dde poke $conv R2C1 [ screen-rect 2 1 10]

    dde poke $conv R3C1 [screen-rect 3 1 10]

    result = [dde request $conv R5C1]

    dde terminate $conv

    send $result

    Note: R5C1 indicates row 5 column 1.

  3. Initiate a DDE conversation with an other PowerTerm with is connected to another computer. Reads information from the screen (of the other host) and sends it to its own host.
  4. conv = [dde initiate PTW PSL]

    data = [dde request $conv

    dde return [screen 10 1 15 80]

    dde terminate $conv

    send $data

    Note: The command {dde return [screen 10 1 15 80]} is executed in the PowerTerm DDE server.


To use PowerTerm's 32-bit LAT support, it is necessary to load DEC's PATHWORKS v7.0 onto your machine. For PowerTerm's 16-bit LAT support, it is necessary to load DEC's PATHWORKS v6.0 onto your machine.  If you have a version of LAT that is older, you will need to upgrade your version. (You can get this from DEC.)


To use PowerTerm with MAINFRAME AND AS/400 API, one can use the Documented EHLLAPI interface to program PowerTerm functionality. Click here to receive a ZIP file of documentation in Microsoft 'Help' format. This can be directly opened with My Computer, for example, after you unzip it.

NOTE: *Versions prior to v5.2.4c* - Ehllapi support is not included in the 32-bit version. It is included in the 16-bit version.
  • A PowerTerm DLL is missing. PowerTerm includes all DLL files needed for its own internal operation. If you get an error message informing you that a DLL file whose name starts with 'PTW', then you have encountered an internal PowerTerm error. Please re-install PowerTerm, and if the problem persists, you should inform your PowerTerm supplier. NOTE: *Versions prior to v5.2.4c* - EHALLAPI support is included only in the 16-bit version of PowerTerm. 32-bit users trying to use EHLLAPI will get a message about a missing DLL. The solution is to use a 16-bit PowerTerm.

    PowerTerm works well under OS/2. Take a 16-bit version and install it in the usual manner. (a:setup). Then:

    1. Double-click on the OS/2 System icon on the desktop
    2. Double-click on the System Setup icon
    3. Double-click on the Add Programs icon
    4. Add new programs -> then exit
    5. In OS/2 System Window, double-click on the Win-OS/2 group
    6. Double-click on the Ericom PowerTerm folder
    7. Right-click and hold on the PowerTerm icon, then drag out onto the desktop
    8. That is it!
    You will now be able to start PowerTerm as simply as any other application, by clicking on its desktop icon.


    PowerTerm has extensive National language support. To enable it:

    1. Make sure that your PC is in the suitable language. You can check this by running NOTEPAD and typing non-English characters. If you see them correctly, your machine is setup properly.
    2. Connect to the host and make sure that your host session is in proper mode to be able to display non-English characters.
    3. FOR UNIX: stty -istrip cs8
    4. In PowerTerm choose the Terminal|Setup menu.
    5. Choose the General tab.
    6. Select the language you want from the pulldown list in "NRC Set".


    PowerTerm supports VT-type answerback.

    1. Set the answerback message in Terminal|Setup|Keyboard. (By default the answerback is "PowerTerm".)
    2. Send <ESC>5 to the PC. It will respond with the stored Answerback.
    3. NOTE: The '5' must be the number 5, as in \005 (or ^E), not the character '5'.