Parse the data from a pty-req request into usable data.

Returnsa tuple of (terminal type, (rows, cols, xpixel, ypixel), modes)
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.