GNOME Bugzilla – Bug 155687
Scroll region \E[NN;MMr should set cursor to home
Last modified: 2007-01-31 23:18:26 UTC
Examine xterm code where DECSTBM forces cursor position to 0,0 whenever it is invoked. Note that gnome terminal doesn't move the cursor in this case.
Neither the manual for vt102 nor for the one for the vt220 says DECSTBM does this; the one for the 510 does. Moving to vte. This is trivially done in vte.c:vte_sequence_handler_cs.
Trivially enough to create a patch for it? :-)
Created attachment 47524 [details] [review] Patch go get DECSTBM on par with xterm This is a patch that brings DECSTBM on par with xterm.
Confirmed that xterm does indeed handle it this way. r1599: 2007-01-31 Chris Wilson <chris@chris-wilson.co.uk> Bug 155687 – Scroll region \E[NN;MMr should set cursor to home Patch originally by Michele Baldessari. * src/vteseq.c: (vte_sequence_handler_cs): Move the cursor to (0,0) rather than clamping the cursor to be inside the scroll region.