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 2015-05-24 20:04:00.