After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155687 - Scroll region \E[NN;MMr should set cursor to home
Scroll region \E[NN;MMr should set cursor to home
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-18 04:42 UTC by Keith Packard
Modified: 2007-01-31 23:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch go get DECSTBM on par with xterm (665 bytes, patch)
2005-06-10 08:53 UTC, Michele Baldessari
none Details | Review

Description Keith Packard 2004-10-18 04:42:08 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.
Comment 1 Mariano Suárez-Alvarez 2004-10-31 11:06:12 UTC
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.
Comment 2 Kjartan Maraas 2005-02-15 10:25:16 UTC
Trivially enough to create a patch for it? :-)
Comment 3 Michele Baldessari 2005-06-10 08:53:27 UTC
Created attachment 47524 [details] [review]
Patch go get DECSTBM on par with xterm

This is a patch that brings DECSTBM on par with xterm.
Comment 4 Chris Wilson 2007-01-31 23:18:26 UTC
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.