On the Model menu, click Properties to open the Model Properties dialog box. Use the following options to configure advanced settings for the current model.
Configure model location specifications with the following options:
- Default home entity - Select a default home entity.
- Default keep alive activity timeout - Specify in minutes the amount of time before a keep alive operation is executed on the host. You can define a keep alive operation for any given entity in the Advanced Entity Properties dialog box.
- Host connection timeout - Specify in seconds how long a given session on the Session Server should wait for a connection to be made with the host.
- Global navigation timeout - Specify in seconds how long navigation between two entities should take to execute before an error message appears.
Alternate font characters in model
Select from one of the following options if you are connecting to a host that uses fonts that are not part of the default character sets (such as VT line drawings):
- Store default font equivalent—Default. Select this option to store an equivalent font character in the model.
- Translate to spaces—Select this option to translate unfamiliar characters to spaces. This option is useful if storing a default equivalent is causing a conflict in screen recognition.
Create login and logout command lists that will execute after connecting to and before disconnecting from a host. To create a login or logout command list, click the Edit button to open the Command List Edit dialog box.
- Login (after host connect)—Lists the commands that make up the login command list.
- Logout (before host disconnect)—Lists the commands that make up the logout command list.
If you have attached a model event handler that implements either an Execute Login or Execute Logout event, a lightning bolt appears to the left. This is a reminder that the event handler may include logic that overrides or extends the behavior of the command list.
- To see the entire command list, click the Copy button and paste the contents into a text editor.
- Since there are no commands that can define what entity appears after executing a login command list, the Host Emulator's screen tracing capabilities can be used in conjunction with server command lists.
- Because the Host Emulator is sitting in place of the host and functions via screen traces, it can trace the entity to send to the Design Tool after a login command list has executed.
- Before deploying a model to the Host Integrator Server, you need to define at least one entity in order for your server command lists to execute.
Advanced Model Properties
On the Model menu, click Properties, and click the Advanced button to open the Advanced Model Properties dialog box. This dialog box contains global settings to be used with hosts (like VT and character mode HP) that only recognize character mode cursor positioning. (If you are not working with a character-mode host, the controls in the Advanced Model Properties dialog box are unavailable.) To configure cursor movement using an operation defined on a specific entity, use the options available on the Cursor tab. See the Pine model example for more information about configuring cursor movement for character mode applications.
At runtime, Host Integrator uses the configuration hierarchy of entity, global command list, and then global default to decide which direction to move the cursor. For example, if you decide to configure cursor movement for a specific entity on the Cursor tab, this configuration will be used even if you have a global command list defined in the Advanced Model Properties dialog box.
Character Mode Cursor Positioning
The options below cannot be changed if you have attached a model event handler that implements a Move Cursor Forward or Move Cursor Backward event. In this case, a appears to the left of the associated check box, and Use user-defined tabs to move cursor is automatically selected. The Execute button invokes the event handler (including the default callback to execute the command list, if present). The event handler may include logic that:
- Overrides the cursor movement behavior of the command list.
- Extends the cursor movement behavior of the command list.
- Makes use of user-defined tabs for cursor movement even if no command list is displayed here.
Use arrow keys to move cursor
This is the default. Select this option to use the arrow keys on your keyboard to move the cursor between attributes on an entity. The up and down arrow keys move the cursor one row up or down and the right and left arrow keys move the cursor one column to the right or left.
Use user-defined tabs to move cursor
Select this option to define your own command list for moving the cursor around attributes of an entity. To create a command list to move the cursor forward, select the Move forward check box and then click the Properties button to open the Command List Edit dialog box. After you've created your move forward command list, you can delete it with the Minus button or test it using the Execute button. To create a command list to move the cursor backward, select the Move backward check box and follow the same procedure.
- To configure positioning of the cursor on a specified entity, open the Cursor tab in the Entity window.
- To set a timeout for a move cursor command list, use the MoveCursor Command List Timeout setting.