set window size while protocol is telnet