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 2016-07-06 22:44:36.