gnachman/iTerm2 — pull request #129 by saitoha (2013-06-20 16:22:06+00:00)
Title: Fix CPR/DECXCPR behavior

This patch fixes the following behavior.

- CPR report should not respect origin mode

```
$ echo -e "\033c\033[?6h\033[5;10r\033[2;2H\033[6n" && cat
^[[2;2R
```
It should be "^[[6;2R"
I think it was influenced by Terminal.app's curious behavior.
I have already sent the bug report to Apple for this issue.

- DECXCPR should report page number

```
$ echo -e '\033c\033[?6n' && cat
^[[?1;1R
```
This report should be "^[[?1;1;1R".
The description "CSI ? P s n" on Xterm's ctlseqs.txt seems to be wrong.