def check_channel_pty_request(self, channel, term, width, height, pixelwidth,<EOL>pixelheight, modes):
<EOL>log.debug('<STR_LIT>', self.telnet_handler)<EOL>pty_thread = Thread( target=self.start_pty_request, args=(channel, term, modes) )<EOL>self.channels[channel] = pty_thread<EOL>return True<EOL>
Request to allocate a PTY terminal.