Fix bug where _pty_size() returns unreasonable rows/cols in Emacs
Changelog re #956, fixes #956
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7

Conflicts:
	docs/changelog.rst
Merge branch '1.7' into 1.8
Merge branch '1.8'