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-05-18 16:01:36.