Fix CPR behavior #129

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@saitoha
Contributor
saitoha commented Jun 20, 2013

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.

@saitoha
Contributor
saitoha commented Jun 22, 2013

Today I received the response from Apple support.
He says it's correct, or rather xterm's behavior is incorrect.
The basis is this page: http://www.vt100.net/docs/vt100-ug/chapter3.html

The numbering of lines depends on the state of the Origin Mode

So I'll close this issue. Thanks.

@saitoha saitoha closed this Jun 22, 2013
@gnachman
Owner

Thanks for researching this and congrats on getting a response from Apple!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment