2-26Template files

position-indicatorThis entry should be set to 0,0.

@Identifies that this line is a sleep-descriptor.

num Specifies the number of seconds that the session should sleep. For example, to wait 25 seconds, you would code the sleep-descriptor as

0,0 @25

Initial-action templates

Before you can process any information on the host computer using the VT100 Gateway, you need to set the starting point for each of your terminal sessions. For example, you may want session 2 to start processing at an application’s main menu, whereas session 5 should start at the system prompt.

You automatically initialize each terminal session by defining initial-action templates. Initial-action templates are action templates that specify a sequence of screen templates that position the terminal session at the desired location on the host computer whenever TRS is started up.

The initial-action template follows the same format and syntax as defined for action templates earlier in this chapter. If you must use “*” or “$” characters in your field-descriptors, put them in quotation marks.

Instead of referencing these action templates in the COMI cell, you specify initial-action templates in an ASCII file named trs.conf. In addition, the session numbers defined in the trs.conf file must have a corresponding entry in a file named vt100.ctl, which assigns a device type for the session. See Chapter 3 for information on the configuration and syntax of the trs.conf and vt100.ctl files.

555-9001-316 Standard 1.0 February 1996

Page 39
Image 39
Nortel Networks VT100 manual Initial-action templates