mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
Between vector graphics and blocks: the picture cut into character cells, each one of the 3270's 7 colors (the color that, with black, comes nearest its pels) and a symbol of its pels, error-diffused over the whole picture with each pel black or its cell's color. The symbols are loaded into the terminal's single-plane sets (LCIDs 0xC2 on) before the screen, 190 a set, so the picture is as large as its cells fit in the sets there are (PCOMM: 2 with vector graphics on, 380 cells); a blank cell needs none, cells alike share one. A row's runs of a set and a color are each a Set Attribute of both (go3270's AttributeOnly CharSet). A picture's Set Attributes lasted the rest of the screen's write, so the caption and body after a block picture took its last color: the attributes are set back after a picture (the character set too after symbols). colorTerminal read the Color reply's pair count from the wrong byte, so PCOMM (a 3278 by its type) was not taken for color. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr