terminfo test example