mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
What a caller switches on their profile (ANSI, UTF-8, sixel, RIP, a
Commodore's width) is kept with their account as settings (users.prefs,
"key=value" pairs) and applied after the next login: ANSI and UTF-8 as
set, sixel and RIP kept off when turned off and on only where the
terminal has them. An editor setting (full or line) is there for the
full-screen editor.
The API shows them at GET /me and changes them with PATCH /me ("":
forgets one); unknown settings and values are refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
801 B
801 B
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.
See also: TN3270 graphics, Configuration