You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As more and more terminals are adding sixel support, there ought to be a program which exercises a sixel implementation and outputs easily understood results. Since the VT340 was the last of DEC's sixel terminals, it makes sense to check conformance using the data from this project.
This issue was created so that people can chime in with what is important to test and how it should be done.
I'll start out with some topics, hopefully to be filled out and properly categorized below:
Level 1 vs Level 2 sixel protocol headers.
Ps1 Aspect ratio in Device Control String macro parameter (Level 1) or Set Raster Attributes (Level 2). Default if not specified is 2:1 (pixels duplicated twice to make them taller).
Allows horizontal grid size parameter to set DPI? (Not used by VT340 as screen pitch is fixed at 0.0075in).
Handles both 8-bit and 7-bit controls. Particularly DCS (EscP or 0x90) and ST (Esc\ or 0x9C)
Allows (ignores) embedded New Lines in sixel data
MediaCopy to send a screenshot (in sixel format) back to the terminal.
Handles (or at least ignores) extra escape sequences before sixel data. (E.g., String Terminator Esc\ or Select Size Unit Esc[2SpaceI)
Text below a sixel image may overlap it based on presence of NL and GNL, height of image drawn, and height of character cell. textcursor.sh. Note: this may be a glitch in the VT340 firmware as it does not appear to be required by the sixel specification nor is there any obvious benefit. glitches.md. Fortunately, it is a rare occurrence that will become rarer and less noticeable as higher resolution font sizes are used.
Colormaps
Number of colors (4? 16? 32? 256? 1000? more?) simultaneous colors. VT340 has 16.
Registers number 0, 7, and 15 affect text color (background, foreground, and bright fg)
Allows colors specified in HLS colorspace (Hue-Lightness-Saturation). Be sure Hue 0° is Blue, not Red!
Color depth (VT340 is 4-bits per channel = 4096 colors)
As more and more terminals are adding sixel support, there ought to be a program which exercises a sixel implementation and outputs easily understood results. Since the VT340 was the last of DEC's sixel terminals, it makes sense to check conformance using the data from this project.
This issue was created so that people can chime in with what is important to test and how it should be done.
I'll start out with some topics, hopefully to be filled out and properly categorized below:
0x90
) and ST (Esc\ or0x9C
)Esc D
) and DOWN (Esc [ B
)The text was updated successfully, but these errors were encountered: