Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07156 Graphics Minor Always Nov 19, 2018, 23:53 Aug 22, 2019, 14:42
Tester shattered View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Linux (64-bit)
Status [?] Acknowledged Driver
Version 0.203 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 07156: vt240: Screen corruption involving scroll regions
Description - connect to a remote system that allows output of arbitrary escape sequences to the terminal (say, a Unix system with a shell)
- output two full screens of data (say, a listing of MAME source tree at src/devices/cpu and src/devices/bus)
- output a DECSTBM sequence to set top and bottom margins of scroll region, and then a CUP sequence to position cursor at its bottom left corner. For example:
printf "\033[1;23r\033[23;1H\r\n"
- observe screen corruption
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems vt240
Attached Files
png file icon vt240mt.png (10,204 bytes) Nov 19, 2018, 23:53 Uploaded by shattered
shattered
png file icon vt240good.png (5,955 bytes) Aug 22, 2019, 14:39 Uploaded by shattered
screenshot before the sequence is sent
shattered
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.15795
crazyc
Developer
Nov 20, 2018, 03:10
I guess I'm not sure what those escapes do or better yet what the screen should look like after they're sent.
User avatar
No.16780
shattered
Tester
Aug 22, 2019, 14:42
DECSTBM = "This control function sets the top and bottom margins for the current page. You cannot perform scrolling outside the margins." (via https://vt100.net/docs/vt510-rm/DECSTBM.html)

The horizontal shift is unexpected.