(Contents)(Previous)(Next)

Using "xvttest"

Terminal descriptions can be tested by means of the tool "xvttest". Its most common use is for checking the function key definitions.

The user simply calls "xvttest" in the same environment as would be used for the ADABAS tools (especially, the variables TERM, TERMINFO, and DBTERM). The tool displays several fields, possibly with different display attributes (bright, blinking, underlined, inverted), and a list of function keys at the bottom of the screen.

The user presses the function key (described as "9=keys"), and a new screen is displayed which only serves for output. In the output part of this screen appears the text "pf09".

The user now presses any key on the keyboard. If this is a single character (alphanumeric, punctuation, etc.) this character is echoed (enclosed in single quotes) on the screen. If this is a defined function key its function is echoed on the screen. For all other keys, the terminal beeps. This is repeated for any key the user wants to check.

The (only) exception is the function key which returns the user to the entrance menu. Pressing again terminates "xvttest". If this key is not defined the only exit is the interrupt signal (usually CTRL-C).


(Contents)(Previous)(Next)