1272343Sngie# 2272343Sngie# Validate the timeout works. 3272343Sngie# 4272343Sngieinclude start 5272343Sngiedelay 2000 6272343Sngieinput "a" 7272343Sngiecall 97 getch 8272343Sngiecall OK timeout 100 9272343Sngieinput "b" 10272343Sngie# since delay is in effect and we set timeout the following getch should 11272343Sngie# return ERR not the character b. 12272343Sngiecall -1 getch 13272343Sngie# drain input.... 14272343Sngiecall OK drain 15272343Sngiecall OK timeout -1 16272343Sngiecall OK keypad STDSCR 1 17272343Sngiedelay 0 18272343Sngieinput "\eOA" 19272343Sngiecall $KEY_UP getch 20272343Sngiecall OK refresh 21272343Sngiecompare timeout.chk 22