How to use HyperTerminal as a Serial Port Monitor

To use HyperTerminal as a serial port monitor or dumb terminal

  1. Connect the system you are monitoring to the serial port.
  2. Open the HyperTerminal Software and create a new connection.
  3. Enter a name for your connection and click OK.
  4. Select your COM port under “connect using”.
  5. Click Configure, and make sure that the port settings match those required by the system you are connecting to. Click OK.
  6. Click OK again to connect. Once connected you should see the text as it is received by the serial port.
  7. If you need to capture non-text data as well you can do this by clicking Transfer, Capture Text, Start.

No Automation or Scripting Support in HyperTerminal or HTPE

Q – I would like to know if HyperTerminal can execute several commands in sequence using some sort of scripting. Is there a way to automate tasks in HyperTerminal?

A – Neither HyperTerminal nor HyperTerminal Private Edition supports scripting. However, HyperACCESS, the commercial upgrade product for HyperTerminal and HTPE, does include a full API of communication functions that would allow you to script an entire communication session. You can use either the automated script recorder, accessible through the File menu, or create custom scripts with our powerful API which is Active X and OLE compliant. Our API functions can be incorporated within external programs, such as VBA.

You can preview HyperACCESS by downloading the Trial copy from HyperACCESS Trial. It is fully functional and the settings are saved. The file is H32TRIAL.EXE. Double-click the file to run the installation program. The evaluation period is 15 days.

You can also download the user’s and API manuals from this location. Both reference guides can be very helpful during the evaluation period.

Unable to open COMX

“Unable to open com port COMX”

This message occurs when HyperTerminal Private Edition attempts to use a communications port, either for a modem connection or a direct cabled connection, but receives an error report from the Windows operating system. The Windows TAPI device may not be functioning properly.

To initiate a connection, HTPE makes a programming request through Windows TAPI, Telephony Application Programming Interface, to the attached device. TAPI is the intermediary between software applications that need the use of communications hardware devices. A communications software, such as HTPE, requests Windows TAPI to open the designated serial port, send commands to the device, then pass control of the device back to the application that requested its use. This occurs when a successful connection has been established. In this case, Windows was unable to access and open the selected communications port. It could not open the desired port and reported the failure to HTPE, which displayed the message listed above.

This is a hardware/operating system issue that is resolved through either:

Removing the device and reinstalling it through Device Manager in the Systems icon in Control Panel; or

Reinstalling Windows TAPI from your installation CD.

Automatically Starting HyperTerminal Private Edition

Q – I want to start HyperTerminal Private Edition from an application I have written and automatically launch a connection. What syntax do I need to use?

A – The process you describe requires scripting with an Application Programming Interface (API)
specific to the software application. Neither HyperTerminal nor HyperTerminal Private Edition support scripting. However, HyperACCESS, the commercial upgrade product from HyperTerminal and HyperTerminal Private Edition, does include a full API of communication functions that would allow you to script an entire communication session. You can use either the automated script recorder or create custom scripts with our powerful API which is Active X and OLE compliant. You can then use our API functions within external programs, such as VB.

You can preview the latest version of HyperACCESS by downloading a 15-day trial copy from /hyperaccess-trial/ It is fully functional and the settings are saved. The file is H32TRIAL.EXE. Double-click the file to run the installation program.

You can also download the User’s and API manuals from our manuals page. These reference manuals contain information that can be helpful during the evaluation period.

Deleting Characters from Terminal Screen

Deleting Characters from Terminal Screen

Q – Why can’t I delete characters from the terminal screen?

A – The host you are connected to has control of the characters displayed on your terminal screen. The host is expecting the cursor to be at particular positions on the screen based on the data that it has already sent to the screen. If you alter that screen locally, you potentially disrupt the interaction between you and your host in ways that the host can’t predict or control. That’s why you can’t delete characters from the screen. By the way, the same thing is true of most clients displaying information from servers. For example, you’ll find that you can’t delete characters on Netscape Navigator or Microsoft’s Internet Explorer.

Restoring Windows Standard Telnet.exe as Default

Restoring Windows Standard Telnet.exe as Default Application

Q – I would like to have the standard Windows 95 telnet (telnet.exe)
as the default telnet application. How can I restore this setting?

A – Here are the steps:
1. Double-click the My Computer icon on your desktop.
2. Click on the View Menu and select the Folder Options item.
3. Click the File Types tab and scroll down the list of file types to the URL: Telnet Protocol item.
4. Highlight this item and click the Edit button.
5. In the ‘Actions:’ box, highlight the word ‘open’ and click the Edit button.
6. In the “Editing action for type URL:Telnet Protocol” dialog box, clear the HyperTerminal path in the ‘Application used to perform action’ field.
7. Type in ‘rundll32.exe url.dll,TelnetProtocolHandler %l’ in this field.
8. Close these dialog boxes to save your settings.

Screen Size Doesn’t Change

Q: Why doesn’t the terminal screen size change when I make HTPE full screen?
A: The HTPE terminal screen size is determined by the size of the font you are using. It will size itself to display 24 lines of 80 (or 132)
characters of whatever font you’ve selected. If you want a larger terminal screen select a larger font. If you want a smaller terminal screen, select a smaller font size.

You may need to experiment with font selection and size to determine the best choice for readability.

Sending a Break key

Sending a <Break> Key

Q – How do I key”send a <Break> key?

A
– To send a break sequence, type the Control key plus the Break key, Ctrl+Break, or <Ctrl><Break>. HTPE also includes the ability to issue an Interrupt Process command which is sometimes necessary when using telnet. That command is issued by <Alt><Break>.

Configuring HTPE to Answer Incoming Calls

HTPE Answers Incoming Calls

Q – How can I get HyperTerminal Private Edition to answer calls?

A – HyperTerminal Private Edition does not have a host mode. If you need a full-featured host mode, you should look at HyperACCESS. HTPE does provide a simple way to wait for calls right on the Call Menu. You must open any connection and make sure it is in a disconnected state. Click the Call menu and select Wait for calls.

How do I get the ANSI display to function properly?

How do I get the ANSI display to function properly?

Use the Terminal font. In HTPE, the Terminal font is the default font.

Hilgraeve