An image board's pictures (a post's thumbnail, the image whole) are now drawn on a 3270 instead of only said in words: - vector graphics (PCOMM): bitmaps a pel a pixel, error-diffused to the terminal's own palette (PCOMM's 16 colors, from the Graphic Color reply go3270 now asks for), overpainted (PCOMM's exclusive or does not combine blue), cropped and split over segments by go3270's ImagePictures; drawn after the screen over cells left empty, since a character over a picture clears it in its cell - blocks (x3270, any color 3270 with graphic escape): ▀ ▄ ▌ ▐ █ in the 7 colors, a cell two pixels by two, each cell the color and block nearest its pixels, a run of a color one Set Attribute and in words on the rest, as before, under the picture where there is one. Pictures on/off (M, PF11) on the profile, kept as the text terminals' preference is; the profile's terminal line says how they are drawn. tn3270_vector is on by default now that PCOMM draws them. go3270-sec: GraphicColors, DitherBitmaps, ImagePictures, the Query List. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
1.3 KiB
Sixel graphics
Telnet callers whose terminal has sixel graphics (xterm -ti vt340,
mlterm, foot, WezTerm, Windows Terminal, iTerm2, SyncTERM, ...) see the
logo as a picture above the system's name: logo = /etc/bbs/logo.png, or
without one the name drawn in a pixel font. The BBS asks every ANSI
terminal for its device attributes (CSI c; sixel is attribute 4) and its
character cell in pixels (CSI 16 t, to fit the logo to the window), so
nothing changes for terminals without sixel. A caller turns it off (or on,
if their terminal has it) in their profile, and it stays off on their
later calls.
sixel = auto is the default for telnet listeners and no for raw and
rlogin ones: a picture is slow over a modem.
Pictures
The image boards' pictures are shown with sixel too, and on terminals without it as they can: kitty's graphics protocol on kitty and Ghostty, iTerm2's inline images on iTerm2 and mintty, and coloured half blocks on any other UTF-8 terminal with colour. Pictures on/off (M) on the profile turns them off for a caller. 3270s have pictures of their own: vector graphics, or blocks (see TN3270).
See also: TN3270 graphics, Configuration, Image boards