fixed 'setterm()'
added test for telnet bee