9 
HP 700-92/96 Emulation

This chapter describes features of the Hewlett Packard 700/92 terminal emulation.

Session Configuration

WBT Mode

This section describes the basic procedure for creating a session configuration when the terminal is in WBT mode. The options available are described in detail in chapter 2.

1.   Click the Configure tab in the Terminal Connection Manager then click the Add button to display the New Connection dialog box.

2.   Select Terminal Emulation Client and click OK. The Terminal Emulation Client Connection Wizard - Connection Information dialog box will be displayed.

3.   Enter a name which will identify this session configuration for future selection in the Connection Name box.

4.   Select the HP70092 terminal emulation in the Emulation list box. This emulation provides compatibility with software designed to drive the Hewlett Packard 700/92, 2392A, 2622A, 70094 and 70096 terminals.

5.   Specify the required HP Model setting: 70092 (default), 2392A, 2622A, 70094 or 70096. This identifies the particular terminal model being emulated in response to a terminal identification request from the host.

6.   Click Next to display the Host Information dialog box.

      For a TCP/IP connection, click the TCP/IP button, enter the name or internet address of the host computer in the Host Name box, then click Advanced for additional Telnet options. Refer to the TCP/IP Connection Settings section in chapter 2 for details.

      For a serial connection, click the Serial button, specify the communications port in the Connect To box, then click Advanced for additional serial options. Refer to the Serial Connection Settings section in chapter 2 for details.

      Make the relevant selections then click OK to return to the Host Information dialog box, then click Next.

7.   The following four dialog boxes provide further configuration options which are described in chapter 2. Click Next to advance through the dialog boxes.

                                                   Automate Login Process
                                             Printer Port Settings
                                             GUI Overrides
                                             Aux Port Settings

8.   When you have made your selections, click Finish to return to the Terminal Connection Manager.

9.   In the Terminal Connection Manager, display the Connections list, select the session name you specified earlier in step 3, then click the Connect button.

Non-WBT Mode

This section describes the basic procedure for creating a session configuration when the terminal is not in WBT mode. The options available are described in detail in the Setup Menus chapter.

1.   Display the Settings menu from the command bar and select Emulation... to display the Emulation Settings dialog box.

2.   Select the HP 700-92/96 terminal emulation in the Alpha Emulation list box. This emulation provides compatibility with software designed to drive the Hewlett Packard 700/92, 2392A, 2622A, 70094 and 70096 terminals. Click OK to close the dialog box.

3.   Display the HP Settings dialog box from the Settings menu and specify the required Terminal ID setting: 70092 (default), 2392A, 2622A, 70094 or 70096, then click OK to close the dialog box.

4.   Display the File menu from the command bar and select New Connection to display the New Connection dialog box.

5.   Select the type of host connection required in the Type list box.

      For a TCP/IP connection, select TCP/IP, enter the name or internet address of the host computer in the Connect To box, then click Configure for additional Telnet options. Refer to the TCP/IP Connection Settings section in chapter 2 for details.

      For a serial connection, select Serial, specify the communications port in the Connect To box, then click Configure for additional serial options. Refer to the Serial Connection Settings section in chapter 2 for details.

6.   When you have specified the required settings in the New Connection dialog box, click the Connect button to make the connection.

Note:   You can save these settings as a connection template using the Save Session As dialog box. Refer to the Setup Menus chapter for details.

Display Configuration

When you run the HP 700-92/96 emulation the following buttons will appear along the bottom of the display.

These buttons indicate the current function of keys F1 through F8 on the keyboard and are described later in this chapter. The two numbers in the middle button indicate the current line and column position of the cursor. The display area is 80 columns wide by 24 lines deep by default, and 168 lines are stored off-screen. You can toggle between 80 and 132 column display by pressing the function key F12, and you can divide the display memory into 2, 4, 6 or 8 pages from the HP Settings dialog box, as described in the Setup Menus chapter.

Keyboard Mapping

The following illustration shows where HP 700-92/96 keyboard functions are mapped to keys on the 101/102 key Enhanced AT keyboard layout. Special key functions that are provided on the HP 700-92/96 keyboard can be mapped to any key on your keyboard by using the HP virtual key names listed in the Define Keyboard Macros dialog box.

Enhanced AT Keyboard Layout

Buttons & Function Keys

The buttons along the bottom of the HP 700-92/96 window indicate the current function of keys F1 through F8 on the keyboard, each key and equivalent button having several functions within the emulation. The buttons and equivalent function keys enable selection of various operating modes and display configurations. Clicking a button has the same effect as pressing the equivalent F# key. When a key or button is attributed an on/off toggle action, the button will display an asterisk when the function is selected.

The middle button displays the row and column position of the cursor. It has no other function.

On entering HP 700-92/96 mode, the buttons and function keys enable various operating modes to be selected. The buttons will show the Mode Selection configuration.

Mode Selection

The Mode Selection functions are displayed when the HP 700-92/96 emulation is first entered. If the functions are changed while using the emulation, you can redisplay the Modes menu by pressing the F9 key (the equivalent of the HP 700-92/96 User System key), then F4.

Line Modify - F1

This function enables you to edit and retransmit an incorrectly entered command string when the emulation is in Remote mode and Character mode and you are communicating interactively with the host. This saves you having to retype the entire string again.

Note:  This will not function when the emulation is in Block or Format mode.

When the host causes an error message to be displayed indicating that the string has been incorrectly entered, press the F1 key or click the equivalent button. An asterisk will appear on the button indicating that the function is selected. Move the cursor to the line containing the error, edit the line then press Return or Enter. This will cause the edited string to be transmitted and Line Modify mode to be exited.

If after activating Line Modify mode you wish to cancel it, just press F1 or click the button again.

Modify All - F2

This is similar to the Line Modify F1 function described previously, the only difference being that the editing mode is not exited when Return or Enter is pressed. F2 and its equivalent button acts as a toggle key, switching the mode on or off. The setting may be saved by selecting Save Session in the File menu.

The F2 Modify All key and button enables you to edit and retransmit an incorrectly entered command string when the emulation is in Character mode. This saves you having to retype the entire string again.

Note:   This will not function when the emulation is in Block or Format mode.

When the host causes an error message to be displayed indicating that the string has been incorrectly entered, press the F2 key. An asterisk will appear on the button indicating that the function is selected. Move the cursor to the line containing the error, edit the line then press Return or Enter. This will cause the edited string to be transmitted. To exit Modify All mode, press F2 or click the button again.

Note:   Even though this function is a special form of Block mode it is completely separate from it and you do not need to enable Block mode before using the Modify All function.

Block Mode - F3

Data may be transmitted to the host a character at a time or as a block of characters. The F3 key and equivalent button toggles the form of data transmission between Character mode and Block mode. The setting may be saved by selecting Save Session in the File menu.

The emulation is in Character mode when the button does not display an asterisk. Each character will be sent to the host as it is entered at the keyboard.

When Block mode is activated (as indicated by an asterisk), data entered at the keyboard will not be sent to the host until the Enter key is pressed. In this mode, displayed text may be edited locally before it is transmitted to the host. Control codes such as CR (carriage return) and LF (line feed) are acted upon locally and are not transmitted to the host when Enter is pressed.

Remote Mode - F4

The current setting of this button determines whether pressing an alphanumeric key causes a character to be sent to the host (remote) or only to the display (local). The button and F4 key toggles between Remote mode and Local mode. The setting may be saved by selecting Save Session in the File menu.

The emulation is in Local mode when the button does not display an asterisk. Pressing alphanumeric keys will cause characters to be sent to the display only.

When Remote mode is activated (as indicated by an asterisk), pressing alphanumeric keys will cause characters to be sent to the host.

Terminal Test - F5

When this button or F5 key is pressed, the HP 700-92/96 emulation will perform a self-test and display a test screen showing all the displayable characters.

Memory Lock - F6

This enables data to be locked on the display so that it is not scrolled off the top of the window when display memory is full. Once enabled, it can only be disabled if this button or F6 key is pressed again, a reset is performed, or the emulation is exited.

Placing the cursor on the first line and enabling Memory Lock will prevent data from automatically scrolling off the top of the display when display memory is full. Instead, the message 'MEMORY FULL Press RETURN to clear' will be displayed. You may use the cursor keys to edit data already displayed. To disable the Memory Lock and continue entering new data, press F6 or click the button again and position the cursor immediately below the last line.

The Memory Lock function may also be used to lock a specific number of lines from the top of the display, leaving the remaining lines to scroll past them. This is useful when you want column headings or instructions to remain on the display. To lock a specific number of lines, place the cursor on the last line to be locked and press F6 or click the button. The lines from the top of the display down to the cursor line will now be locked.

Note:   You can edit data contained in locked lines but if new data is inserted it may cause data on the last line of the locked region to be pushed down into the scrolling region.

Display Functions - F7

This button and the F7 key toggles the Display Functions mode on or off. The effect of activating Display Functions mode depends on whether the emulation is in Local or Remote mode. In Local mode, activating Display Functions mode will cause subsequently received control codes and escape sequences to be displayed on the screen but not actioned. Exceptions to this rule are the commands issued when the button or F7 key is pressed and the carriage return and line feed commands, which will be executed.

In Remote mode, activating Display Functions mode will cause subsequently received control codes and escape sequences to be transmitted to the host but not actioned locally. Exceptions to this rule are the commands issued when the button or F7 key is pressed and the carriage return and line feed commands, which will be executed. If the Local Echo option is enabled in the HP Settings dialog box (see the Setup Menus chapter), commands will be displayed on the screen as well as transmitted to the host.

Note:   If the XmitFnctn (A) option is selected in the HP Settings dialog box, the button and F7 key will not deactivate Display Functions mode.

Auto LF - F8

This button and the F8 key enables or disables Auto Line Feed mode. When enabled, a line feed command is automatically appended to every carriage return command generated from the keyboard. The setting may be saved by selecting Save Session in the File menu.

Configuration Selection

This set of function buttons is displayed by pressing the F9 key (which is equivalent to the HP 700-92/96 User System key). These functions enable you to access three other sets of function labels.

Device Control - F1

Clicking this button or pressing F1 will cause the Device Control function labels to be displayed. The buttons and keys F1 through F8 will function as described in the following section entitled Device Control.

Margins/Tabs/Col - F2

Clicking this button or pressing F2 will cause the Margins/Tabs/Col function labels to be displayed. The buttons and keys F1 through F8 will function as described in the section entitled Margins, Tabs & Start Column.

Modes - F4

Clicking this button or pressing F4 will cause the Mode Selection function labels to be displayed. The buttons and keys F1 through F8 will function as described in the previous section entitled Mode Selection.

Device Control

This set of function buttons is displayed by pressing the F9 key (which is equivalent to the HP 700-92/96 User System key) then F1. These functions enable you to select the device(s) to which data is sent and also to copy portions of data from display memory to the printer.

Device Modes - F1

Clicking this button or pressing F1 will cause the Device Modes function labels to be displayed. The keys F1 through F8 will function as described in the following section entitled Device Modes.

To Ext Dev - F2

This toggle function determines whether data is sent to the printer or not. Data will be sent to the printer when an asterisk is displayed on this button.

To Display - F3

This toggle function determines whether data is sent to the display or not. Data will be sent to the display when an asterisk is displayed on this button.

Advance Page - F4

When a printer is connected and enabled by the To Ext Dev function, clicking this button or pressing F4 will cause paper in the printer to be advanced to the top of the next page.

Advance Line - F5

When a printer is connected and enabled by the To Ext Dev function, clicking this button or pressing F5 will cause paper in the printer to be advanced by one line.

Copy All - F6

When a printer is connected and enabled by the To Ext Dev function, clicking this button or pressing F6 will cause a copy of all lines from and including the cursor line to the last line in display memory to be sent to the printer.

The cursor will move to the leftmost column on the next line when the current line has been printed. You can cancel printing at the end of the current line by pressing Return.

Note:   If the cursor is positioned on a line below the last display- able line of data, nothing will be sent to the printer.

Copy Page - F7

When a printer is connected and enabled by the To Ext Dev function, clicking this button or pressing F7 will cause a copy of all lines from and including the cursor line to the last line displayed on the screen to be sent to the printer.

The cursor will move to the leftmost column on the next line when the current line has been printed. You can cancel printing at the end of the current line by pressing Return.

Note:   If the cursor is positioned on a line below the last display- able line of data, nothing will be sent to the printer.

Copy Line - F8

When a printer is connected and enabled by the To Ext Dev function, clicking this button or pressing F8 will cause a copy of the line containing the cursor to be sent to the printer. The cursor will move to the leftmost column on the next line when the line has been printed.

Note:   If the cursor is positioned on a line below the last display- able line of data, nothing will be sent to the printer. If the cursor is positioned on an empty line between two blocks of data, the printer will perform a carriage return and line feed.

Device Modes

Device Control - F1

Clicking this button or pressing F1 will cause the Device Control function labels to be displayed, enabling you to select the device(s) to which data is sent and also to copy portions of data from display memory to the printer. The buttons and keys F1 through F8 will function as described in the previous section entitled Device Control.

Record Mode - F2

This is used to copy data received from the host to the printer and/or display, depending on the setting of the To Ext Dev and To Display labels in the Device Control menu.

Note:   This function does not take effect when the emulation is in Local mode. In Remote mode, received data is sent directly to the selected device(s).

The keyboard will be disabled when Record mode is activated except for the F2 key which is used to exit the mode.

Log Bottom - F3

When the cursor moves to the next line as a result of an explicit line feed or end-of-line wraparound, the line of data which the cursor has just moved from will be sent to the printer when this function is activated. This enables you to create a hardcopy of all the lines in the order in which they were entered via the keyboard or received from the host.

Note:   Both the emulation and the host must be using the ENQ/ACK or Xon/Xoff handshakes or a baud rate that is no higher than the rate supported by the printer.

Log Bottom remains activated until either this button or F3 is pressed again, Log Top is activated, a reset is performed, or the emulation is exited.

Log Top - F4

When the display memory becomes full and more data is received from the host or keyboard, lines of data from the top of the display are deleted to make way for the new data. The Log Top function enables the data that is removed from the top of the display to be sent to the printer when the To Ext Dev function is activated in the Device Control menu.

Note:   Both the emulation and the host must be using the ENQ/ACK or Xon/Xoff handshakes or a baud rate that is no higher than the rate supported by the printer.

Log Top remains activated until either this button or F4 is pressed again, Log Bottom is activated, a reset is performed, or the emulation is exited.

Note:   This function does not take effect when Memory Lock is activated.

Margins, Tabs & Start Column

This set of function buttons is displayed by pressing the F9 key (which is equivalent to the HP 700-92/96 User System key) then F2. These functions enable you to redefine the start column, set tabs, and specify the left and right margins.

Start Column - F1

This function is used to temporarily redefine the start column for transmitted data when no logical start-of-text pointer is present and the Return or Enter keys are pressed in Modify Line or Modify All mode.

Note:   The default start column is specified in the HP Settings dialog box. Refer to the Setup Menus chapter for details.

Usually a start-of-text pointer is automatically generated to designate the leftmost character in the current line if it is the last line of data in display memory. The pointer will remain in display memory until the line is deleted. If the line has no start-of-text pointer, data transmission will begin at the start column specified by this option. The column range that can be specified is from 1 to 80, inclusive.

To change the current start column, move the cursor to the new starting point and click this button or press the F1 key. The start column will revert to that specified within setup when the emulation is reset or re-entered.

Set Tab - F2

This function enables tab stops to be defined. To define a tab stop, move the cursor to the column to contain the tab and click this button or press F2.

Note:   Tab stops that do not lie within the left and right margins will be ignored when the Tab key is pressed. All tab stops will be ignored when the emulation is in Format mode.

Clear Tab - F3

This function enables an individual tab stop to be cleared. To clear a tab stop, move the cursor to the column containing it and click this button or press F3.

Clr All Tabs - F4

Clicking this button or pressing F4 will cause all defined tab stops to be cleared (except the left margin which is an implicit tab stop).

Left Margin - F5

This function enables you to define the left margin. Margins determine the boundary for certain cursor movement commands (such as carriage return and cursor home), and insert character and delete character functions. Data to the left of this margin will still be accessible. The left margin is an implicit tab stop.

When data received from the host or entered through the keyboard reaches the right margin, the cursor will move to the specified left margin on the next line down (as long as InhEolWrp is not selected in the HP Settings dialog box and, in the case of keyboard-entered data, auto line feed mode is enabled).

To specify the left margin, place the cursor in the column for the margin location and click this button or press F5. The left margin can be reset to column 1 by pressing F7 (this will also reset the right margin to column 80).

Note:   Margins are disregarded when data is transferred from display memory to the host. The margins will be cleared when Format mode is enabled.

Right Margin - F6

This function enables you to define the right margin. Margins determine the boundary for certain cursor movement commands (such as carriage return and cursor home), and insert character and delete character functions. Data to the right of this margin will still be accessible.

When data received from the host or entered through the keyboard reaches the  specified right margin, the cursor will move to the left margin on the next line down (as long as InhEolWrp is not selected in the HP Settings dialog box and, in the case of keyboard-entered data, auto line feed mode is enabled).

To specify the right margin, place the cursor in the column for the margin location and click this button or press F6. The right margin can be reset to column 80 by pressing F7 (this will also reset the left margin to column 1).

Note:   Margins are disregarded when data is transferred from display memory to the host. The margins will be cleared when Format mode is enabled.

Clr All Margins - F7

This function will reset both left and right margin settings so that the left margin is in column 1 and the right margin in column 80.

Key Programming

The keys F1 through F8 and their equivalent buttons can be programmed by the host or user to perform additional functions to those described in the previous section. The keys may be assigned a string of alphanumeric characters and/or control codes, and you can define whether the key string is executed locally or transmitted to the host, or both. The buttons can also be programmed to display the new functions when in User Keys mode.

User Keys mode is entered by pressing the F10 key. The f-key buttons displayed on the screen will change to display the current User Key definitions. If no definitions have been assigned, either by you or the host, the buttons will just display the legends of each f-key as shown below.

To define the function of an f-key or equivalent button locally, press the keys Shift + F10 to display the User Key Definition menu as shown overleaf. The menu can be exited by pressing F9.

Default Definitions

While this menu is displayed the f-keys and equivalent buttons have the functions shown by the buttons at the bottom of the window, so pressing F4 or the Default Values button will cause the default key and button definitions to be asserted. The default definitions will take effect once the User Key Definition menu is exited.

Key String Treatment

Each f-key and button definition displayed in the menu consists of two lines. The first line begins with the f-key number followed by space then a one-character attribute field. This field will contain either an uppercase L, T or N. These characters indicate the following:

                   L   :     The key string is executed locally.
                   T   :     The key string is transmitted to the host only.
                   N   :     The key string is treated as keyboard-entered data.

The default selection is T for all f-keys. To change this setting, use the Tab or Shift + Tab keys to move the cursor over the field then press F2 (Next Choice button) or F3  (Previous Choice button) to cycle through the options until the one required is displayed.

Function Indicator

The remainder of the first line is used to specify what is displayed on the screen button to indicate its function. The default display shows the numbers of the f-keys.

The two fields following LABEL represent the upper and lower lines that can be displayed on the button. To change the current definition, use the Tab or Shift + Tab keys to move the cursor into the relevant field and type in the new definition which can consist of a maximum of 16 characters, eight characters per field.

Key String Definition

The second line of each f-key definition contains the character string that is to be displayed, executed, and/or transmitted to the host when the key or button is pressed. The string may contain alphanumeric characters, control characters, and explicit escape sequence characters entered when Display Functions mode is enabled by pressing F7 or the Display Functns button.

The default f-key string begins with the characters EC which represent the escape code that is used to begin each escape sequence. The EC characters are displayed in the key definition line by pressing the Esc key or the keys Ctrl + [ together when Display Functions mode is enabled. Note that you must enter the entire escape sequence before disabling Display Functions mode (by pressing F7 again).

When Display Functions is enabled, the Return key may be used to insert carriage return codes (CR) in the string. If Auto LF mode is selected in the Mode Selection function menu, Return will generate a line feed (LF) code as well as carriage return.

To change an f-key/button string definition, use the Tab or Shift + Tab keys to move the cursor onto the second line (the line following LABEL definition for that key/button) and type in the new definition which can consist of a maximum of 80 characters.

When you have finished defining f-key/button strings, press the F9 key to exit the menu. To enable the new definitions and display the relevant functions on the buttons, press the F10 key.

Note:   The host may reset the f-key definitions to their default values if required by the application.

Character Display Attributes

The HP 700-92/96 emulation incorporates various display attributes which can be enabled by host commands or from the keyboard by the user. These attributes are listed in the table below.

When an attribute or set of attributes are enabled, they affect all subsequently displayed characters until an end attribute command or another attribute command is received, or the end of the line is reached. Attributes remain at the display location where they were enabled and will not move when characters are inserted or deleted.

You can configure the f-keys and buttons so that they will enable these attributes when pressed. To do this, display the User Key Definition menu by pressing the keys Shift + F10 together. Use the Tab or Shift + Tab keys to position the cursor in the first field next to the number of the f-key to be defined and press F2 until the letter L for Local is displayed. Press Tab and type in the text that will appear in the display label for the key, for example, Under in the first field and Line in the second for Under Line. Press Tab to move down to the next line. Press F7 to enable Display Functions mode then press Ctrl + [ together or the Esc key, followed by the characters &d and the attribute character, which for underline
is D.

The key definition should look like this if the F1 key was defined to enable the underline attribute:

For any other attribute or combination of attributes, substitute the last character in the second line (D in the example above) with the relevant character from the following table.

When you have finished assigning character attribute commands to f-keys, press F9 to exit from the User Key Definition menu then F10 to enable the User Keys and display the defined attribute labels.