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-04-11 10:39:53.