Skip to content

Question regarding scroll margins and SIXELs #20

@jerch

Description

@jerch

Sorry, if you already stated it elsewhere and I overlooked it - I wonder how a VT340 deals with scroll margins in SIXEL phase.

My idea so far - imho the 300+ line only supported top/bottom restrictions and left/right was a 400+ thing (plz correct me, if thats already wrong).

Now regarding SIXELs - do scroll margins affect SIXEL printing by any means? Does DECOM change here anything? Has DECAWM any influence on SIXEL printing width?

My current expectations from applying basic text mechanics are (given SIXEL scrolling is set):

  • printing SIXELs within an active text scroll region cannot leave the region, thus SIXELs would not overlap a bottom scroll border, instead the image gets scrolled within the scroll region, if it happens to be higher. I would assume the same for left/right borders, but that one prolly cannot be tested on a VT340.
  • SIXEL printing outside of an active text scroll region would dump the pixels to full viewport extend, until it may cross scroll borders into an active region (then the rule above gets applied for image parts within the scroll region)

Following your findings in other threads and what you wrote so far about SIXEL mechanics my assumption above is certainly wrong. From your writings I would conclude, that SIXELs are not scroll border aware at all, due their more or less direct screen buffer printing skipping most text buffer indirections.

Could you shed light on that mystery on my end? Ofc if needed, I can create a few test cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions