GNOME Bugzilla – Bug 709060
Consider upstreaming vte_terminal_set_alternate_screen_scroll
Last modified: 2014-04-22 16:48:28 UTC
Ubuntu adds that function (and possible others?) to vte... Which means Ubuntu's gnome-terminal doesn't run against upstream vte. Ughh... Consider taking that patchset upstream perhaps?
Bug 518405 (specially comment 60) is relevant. Keeping this open still since it's about a workaround for Ubuntu's addition, not what to do about alternate-screen per se.
We could add it as a no-op symbol just for this use case.
xterm has the escape sequence as well as the alternateScroll resource. Seems to me that if we want to mimic xterm, we'd need to upstream ubuntu's patch _and_ and support for DEC 1007. IMHO why not? :)
Someone has to implement it. If you are volunteering, I don't see why not!
Sounds easy to implement. I don't care about this feature at all, I'd just like to get that ubuntu patch that I always have to manually apply out of the way :D
Created attachment 256131 [details] [review] Support DEC 1007 Goes on top of the Ubuntu patch: http://archive.ubuntu.com/ubuntu/pool/main/v/vte3/vte3_0.34.2-0ubuntu2.debian.tar.gz -> debian/patches/93_add_alt_screen_scroll_toggle.patch I enabled alternate screen scroll by default, to be consistent with earlier behavior of VTE. Note that I'm not changing the state on terminal reset, just like xterm-297 doesn't change either. IMHO it would make more sense to revert the effect of escape sequences and revert to the last value set by the API call.
LGTM. ChPe, can you please review and commit in whatever branch you feel most comfortable?
Done on vte-0-34.
*** Bug 518405 has been marked as a duplicate of this bug. ***