mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
internal/vt asks an ANSI terminal everything at once (ENQ answerback, DA1, DA2, XTVERSION, its cell size), with a cursor position report last so the answers are complete when it comes, and reads them into a name (XTVERSION, SyncTERM's CTerm, DEC models by DA2 and firmware, tmux, screen, mintty, rxvt, xterm, VTE, the answerback, the VT class), a VT level, sixel and color. A terminal that is not ANSI is asked ESC Z: a VT52 answers. What it said changes what the caller gets: a VT without UTF-8 (not a PC's CP437 BBS terminal) gets line drawing in DEC Special Graphics and Latin-1 on a VT220 or later; a DEC monochrome terminal gets bold for color; a VT52 its own escapes (VT52Writer) with its cursor keys ignored. Sixel now comes from the same answers. The name shows in the profile, the log and the API's who (terminal). A listener's vt = no asks nothing. Also: the terminal type and rlogin's rate are set under the BBS's lock (who's online reads them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
711 B
711 B
Getting going
Callers
Features
- Files and FTP
- File transfers
- Doors
- Newsgroups and NNTP
- FidoNet
- Chat and paging
- Finger and gopher
- HTTP API
More