def requestPty(self, term=None, rows=0, cols=0, xpixel=0, ypixel=0, modes=''):
        #TODO: Needs testing!
        term = term or os.environ.get('TERM', '')
        data = packRequest_pty_req(term, (rows, cols, xpixel, ypixel), modes)
        return self.sendRequest('pty-req', data)
Connect to a host on a given port.
dataset/ETHPy150Open sporsh/carnifex/carnifex/ssh/session.py/SSHSession.requestPty--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/httplib2-0.8/python3/httplib2test.py/_MyHTTPConnection.connect