Board: [fsxNet] Mystic BBS discussion/support Subject: Re: Is MysticBBS Orphanware Again? From: Goose (21:1/177) Date: Thu Nov 05, 2026 07:46 Hey paulie, you asked how I did the web terminal on bbs.g00r00.com, so here's the short version. It's actually not telnet at all. 1. ttyd (github.com/tsl0922/ttyd, I use 1.7.7) gives you a terminal in the browser via xterm.js and websockets. 2. ttyd doesn't connect to telnet. It starts a small Python wrapper, and that wrapper launches a local Mystic node in a PTY, pinned to 80x25. 3. The wrapper translates CP437 to UTF-8 (otherwise the block graphics break in the browser). It also answers Mystic's cursor position request itself, because otherwise you get junk like "82R" in front of your username at the login prompt. 4. ttyd only listens on a local unix socket. nginx sits in front with HTTPS and proxies /term/ to it, websocket upgrade on, long timeouts. 5. A plain HTML start page wraps it in an iframe and scales the font so 80x25 fills the window. And of course plain telnet on port 23 still works as usual, the web terminal is just an extra door. ttyd runs with -T ansi and a custom color theme. Honestly, the CP437 part was the only real headache, the rest is pretty straightforward. Cheers Goose --- Mystic BBS v1.12 A48 (Linux/64) * Origin: Goosenet BBS (21:1/177) .