Set the field demarcation characters
Some terminal emulators use demarcation characters to mark the beginning and the end of each field. These demarcation characters are not visible—they appear on the screen as spaces.
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 identify the character as a space or 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:
-
0 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.
You retrieve and set the value of TE_FIELD_CHARS by using the TE_getvar and TE_setvar functions.