Files
bbs/docs/wiki/Sixel-Graphics.md
T
Claude 32529543d6 Image boards on the terminals, with their pictures
The text BBS and 3270s have the image boards (B on the main menu, or a
menu's boards): the boards, threads by bump order, posts read as
messages with who posted, the thread, and the posts that quote them.
Callers post as the web's posters do (names, tripcodes, sage, staff's
capcodes), through the same checks: posting is now Submit, shared by
the web's form and bbs.ImageBoards. A thread's image comes by the
terminal's transfer protocol.

Pictures (view.Picture, on messages and panels) are shown as well as
the terminal can: kitty's graphics protocol (kitty, Ghostty), sixel,
iTerm2's inline images (iTerm2, mintty), or coloured half blocks in 256
colours on other UTF-8 terminals; described in words elsewhere and on
3270s. V shows the image whole; pictures on/off is on the profile. The
web terminal has xterm.js's image addon, so sixel there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-14 02:16:21 +00:00

1.2 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.

See also: TN3270 graphics, Configuration, Image boards