Share this page

# RTE System Variables

TE_SILENT_SEC: | After a TE_wait_text statement, the test run waits for the terminal to be silent (no character input) TE_SILENT_SEC seconds plus TE_SILENT_MILLI milliseconds before continuing script execution.
TE_SILENT_MILLI: | After a TE_wait_text statement, the test runwaits for the terminal to be silent TE_SILENT_SEC seconds plus TE_SILENT_MILLI milliseconds before continuing script execution.
TE_SILENT_TIMEOUT: | After a TE_wait_text statement, the test run waits for the terminal emulator to be silent for the interval defined by TE_SILENT_SEC and TE_SILENT_MILLI. If the terminal emulator does not become silent for the required interval within TE_SILENT_TIMEOUT seconds, the TE_TIMEOUT flag is set and script execution resumes.
TE_XSYSTEM_TIMEOUT | If a script attempts to submit a TE_type statement while the system is in X SYSTEM mode, the script waits until the X SYSTEM mode ends before typing. If the system stays in X SYSTEM mode for more than TE_XSYSTEM_TIMEOUT milliseconds, then the TE_type function returns a TE_TIMEOUT error. The default value for TE_XSYSTEM_TIMEOUT is 30 seconds.
TE_HEIGHT: | The number of rows in the terminal emulator screen. [TE_getvar only]
TE_WIDTH: | The number of columns in the terminal emulator screen. [TE_getvar only]
TE_ALLOW_TYPEAHEAD | Under certain circumstances you may want a script to submit a keystroke even though the system is in X SYSTEM (or input inhibited) mode. For example, you may want the script to press the Break key. You use the TE_ALLOW_TYPEAHEAD variable to enable the script to submit a keystroke even though the system is in X SYSTEM mode. Set TE_ALLOW_TYPEAHEAD to zero to disable typing ahead, and to any non-zero number to permit typing ahead. By default, TE_ALLOW_TYPEAHEAD is set to zero, preventing keystrokes from being sent during X SYSTEM mode.
TE_FIELD_CHARS | The TE_wait_text, TE_get_text, and TE_find_text functions operate by identifying the characters in a specified portion of the screen. If a field demarcation character is located within the specified section, you can choose to identify the character either as a space, or as an ASCII character. You use the TE_FIELD_CHARS system variable to specify the method of identification. You can set TE_FIELD_CHARS to 0 or 1: O specifies that the character in the position of the field demarcation characters is returned as a space. 1 specifies that the character in the position of the field demarcation characters is returned as an ascii code (ascii 0 or ascii 1). By default, TE_FIELD_CHARS is set to 0.
TE_APPC_X_RATE | Specifies the polling frequency when the terminal is in X SYSTEM (or input inhibited) mode. By default, the terminal polls the connection state every 0.5 seconds.
TE_APPC_NON_X_RATE | Specifies the polling frequency when user input is allowed (i.e., the terminal is not in X SYSTEM mode). By default, the terminal polls the connection state every 2 seconds.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: