VT100 terminal emulation software

The Video Terminal 100 (VT100) is a terminal that was produced by Digital Equipment Corporation (DEC). It was first released in 1978 as a successor to DEC’s previous VT50 and VT52 terminals.

Both HyperTerminal and HyperACCESS include support for VT52 terminal emulation, which allows the software to be used to connect your computer to devices and systems that would normally require a DEC VT52 terminal.

The VT100 emulator translates escape sequences from the system you are connecting to and uses them to control the terminal screen. Additionally the emulator maps the keyboard to send VT100 escape sequences when certain keys are pressed.

The default arrow and function key mappings for the VT100 emulator are listed below. If needed these can be overridden using the Key Macro functionality.

Key Sequence
up <esc>[A
down <esc>[B
right <esc>[C
left <esc>[D
F1 <esc>OP
F2 <esc>OQ
F3 <esc>OR
F4 <esc>OS

VT220 VT320 terminal emulation software

The Video Terminal 220 (VT220) is a terminal that was produced by Digital Equipment Corporation (DEC). It was first released in 1983 as a successor to DEC’s previous VT100 series terminals.
The VT320 was released released a few years later in 1987.

Both HyperTerminal and HyperACCESS include support for VT220 and VT320 terminal emulation, which allows the software to be used to connect your computer to devices and systems that would normally require a one of these terminals.

The terminal emulator translates escape sequences from the system you are connecting to and uses them to control the terminal screen. Additionally the emulator maps the keyboard to send VT220 or VT320 escape sequences when certain keys are pressed.

The default arrow and function key mappings for the VT220 and VT320 emulators are listed below. If needed these can be overridden using the Key Macro functionality.

Key Sequence
up <esc>[A
down <esc>[B
right <esc>[C
left <esc>[D
F1 <esc>OP
F2 <esc>OQ
F3 <esc>OR
F4 <esc>OS
F5
F6 <esc>[17~
F7 <esc>[18~
F8 <esc>[19~
F9 <esc>[20~
F10 <esc>[21~
F11
F12
ctrl+F1 <esc>[23~
ctrl+F2 <esc>[24~
ctrl+F3 <esc>[25~
ctrl+F4 <esc>[26~
ctrl+F5 <esc>[28~
ctrl+F6 <esc>[29~
ctrl+F7 <esc>[31~
ctrl+F8 <esc>[32~
ctrl+F9 <esc>[33~
ctrl+F10

VT52 Terminal Emulation Software

The Video Terminal 52 (VT52) is a terminal that was produced by Digital Equipment Corporation (DEC). It was first released in 1975 as a successor to DEC’s previous VT50 terminal.

Both HyperTerminal and HyperACCESS include support for VT52 terminal emulation, which allows the software to be used to connect your computer to devices and systems that would normally require a DEC VT100 series terminal.

The emulator translates escape sequences from the system you are connecting to and uses them to control the terminal screen. Additionally the emulator maps the keyboard to send VT52 escape sequences when certain keys are pressed.

The default arrow and function key mappings for the VT52 emulator are listed below. If needed these can be overridden using the Key Macro functionality.

Key Sequence
up <esc>A
down <esc>B
right <esc>C
left <esc>D
F1 <esc>P
F2 <esc>Q
F3 <esc>R
F4 <esc>S

.haw file extension

What is an haw file?

.haw is the file extension used for HyperACCESS session files. These files store your connection and terminal emulator settings as well as any automation or file transfer settings you have set up.

The haw file is created automatically when you set up a connection in HyperACCESS. By default it is saved into the HyperACCESS My Files folder, but more often you will open your session files from the HyperACCESS Phonebook (or other notebook) tab.

User Manual – Accessing the ASCII Character Table

In Appendix C of the user manual (either downloaded and installed from the Hilgraeve website or loaded from the program CD), there is a link to the ASCII Character Table. Double-clicking the link should open a chart of all the standard ASCII and extended ASCII characters. The link doesn’t work.

To view the ASCII table, open Windows Explorer and browse to the X:\Program Files\HAWIn32\Document folder (where X is the drive on which HyperACCESS is installed). Double-click the file called ap-ascii.pdf. Acrobat Reader will automatically launch, open the file and display the ASCII chart.

Licensing of HyperACCESS

HyperACCESS requires a license for each PC on which it is installed. You may use a single licensed copy of HyperACCESS on only one computer at a time. The software is “in use” when it is loaded into RAM or installed on local permanent storage (e.g. hard disk, CD-ROM, etc.).

Simultaneous use of a single licensed copy on two or more computers is a violation of the licensing agreement. For example, you cannot have HyperACCESS installed on a desktop machine and install the same licensed copy with the same serial number on a laptop for the purpose of establishing a connection between the two. Each installation must have its own unique serial number.

If you have multiple Licenses, you may have as many copies of HyperACCESS in use as you have number of licenses. If HyperACCESS is incorporated in a custom application, such as a VBA program, and the custom application is distributed to others, a license must be purchased for every site where the custom application is implemented.

haTypeKey API to send emulator function keys above F10

The haTypeKey API can be used in a script to send function keys above F10 to the host application. To do so, simply note the keys used on the emulator charts found in Appendix D of the HyperACCESS User’s Manual. haTypeKey will only work with actual keys found on the PC keyboard.

For example, with VT320 as the selected emulator, the Appendix chart tells you to use the key sequence “Ctrl+F10” to send an F20. So to have the haTypeKey command send an F20, simply execute the following:

haTypeKey “CTRL-F10”

With Wyse50 as the selected emulator, use this command to send an F11 in a script:

haTypeKey “ALT-F1”

For a complete list of all supported emulator function keys and their corresponding HyperACCESS key combinations, see Appendix D in the HyperACCESS User’s manual. The manual is available in .pdf format from:

http://www.hilgraeve.com/manuals/

HyperACCESS API Manual Addendum

The following revisions, identified with * * should be applied to the HyperACCESS API manual:

“When you create a new instance of HyperACCESS, the program will not become visible until a HAPI function call causes HyperACCESS to open an entry file.” (API Manual, page 2-2)

This is incorrect. The statement should be:

“When you create a new instance of HyperACCESS, the program will not become visible until a HAPI function call causes HyperACCESS to open an entry file a call to the function haSizeHyperACCESS restores the session window.”

“Using the HyperACCESS interface, call the function haInitialize. This will return an HAScript interface. You can now call HAPI functions through this interface and automate HyperACCESS.” (API Manual, page 2-2)

This is incomplete. The statement should be:

“Using the HyperACCESS interface, call the function haInitialize, *immediately followed by haConnectSession.* This will return an HAScript interface and prevent HyperACCESS from throwing an exception. You can now call HAPI functions through this interface and automate HyperACCESS.”

Configuring HyperACCESS to answer calls without using the Host

The following code can be used to set up a HyperACCESS .haw file as a simple host which requires no login:

$LANG = “VBScript”
‘ VBS script which will put the terminal in answer mode.
cr = Chr(13)

haAbortOnError
haConnectSession 4
haTerminate

Follow these steps to implement the code:

1. Create a session file specifically for this process (e.g., Simple Answer.haw)
. Make sure the Properties, Communications page has appropriate Connect Via information recorded.

2. If you need only a one-time connection waiting for calls, assign the above script as Script to run before connecting under Properties, File Usage. When you double-click the phonebook icon, the session begins in a waiting for calls state.

3. If you want the session to return to a waiting state after the connecting device disconnects, follow these steps:

a) Open the session file. In Properties, File Usage, assign the Simple Answer script as the Script to run after disconnecting.

b) To start waiting, go to Automation, Run. Select the Simple Answer script. It should start the HyperACCESS session in a waiting for calls mode.

c) After the connecting device completes sending data and disconnects, the HyperACCESS session should go back into waiting for calls.

d) When you want to stop waiting and end the session, don’t click the disconnect icon. Instead, close the program.

Accessing an existing instance of HyperACCESS from an Excel VBA macro

When an Excel VB macro uses HyperACCESS to log on and retrieve data, I would prefer to disconnect the existing HyperACCESS session but not quit the program. Then after processing data, I wish to connect and log back on. However, when HA is still on the Windows task bar, a second instance of HA is started. How do I get this to work properly?

There is an error in the HyperACCESS API manual on page 2-8. The error applies to programming in Excel. The GetObject in Excel requires a leading comma since HAWIN32 should be the SECOND argument.

Example: Set haAuto = GetObject(, “HAWIN32”)

The following code is required since the Program does not know if an another instance of HyperACCESS is already loaded.

On Error Resume Next
Set haAuto = GetObject(, “HAWIN32”)

‘err 429 = “ActiveX component can’t create object”
If Err.Number = 429 Then
Set haAuto = CreateObject(“HAWIN32”)

Err.Clear
End If

Hilgraeve